Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current benchmark runs #54

Open
ankush opened this issue Jan 7, 2025 · 0 comments
Open

Current benchmark runs #54

ankush opened this issue Jan 7, 2025 · 0 comments

Comments

@ankush
Copy link
Member

ankush commented Jan 7, 2025

I, ugh, need to automate this soon[tm]

Benchmark baseline current
database_delete_value_simple 108 us 103 us: 1.04x faster
database_empty_transaction_cycling 141 us 135 us: 1.05x faster
database_get_cached_value_simple 124 us 102 us: 1.21x faster
database_get_single_value 670 us 419 us: 1.60x faster
database_get_value_simple 2.96 ms 1.69 ms: 1.75x faster
database_get_value_with_dict_filters 313 us 185 us: 1.69x faster
database_get_value_with_list_filters 390 us 302 us: 1.29x faster
database_select_star 1.35 ms 979 us: 1.38x faster
database_set_value_simple 253 us 246 us: 1.03x faster
database_sql_select_many_rows 43.9 ms 32.4 ms: 1.36x faster
orm_doc_to_dict 40.0 us 48.5 us: 1.21x slower
orm_get_all 30.2 us 25.3 us: 1.19x faster
orm_get_all_with_filters 173 us 53.5 us: 3.24x faster
orm_get_all_with_many_fields 176 us 58.3 us: 3.02x faster
orm_get_cached_doc 440 us 415 us: 1.06x faster
orm_get_doc 6.11 ms 2.24 ms: 2.73x faster
orm_get_list 67.2 us 59.6 us: 1.13x faster
orm_get_local_cached_doc 16.1 us 13.7 us: 1.17x faster
orm_get_meta 12.7 ms 76.4 us: 165.88x faster
orm_get_user 9.04 ms 4.62 ms: 1.96x faster
orm_new_doc 36.7 us 35.3 us: 1.04x faster
orm_save_doc 1.67 ms 1.04 ms: 1.61x faster
qb_qb_get_query 159 us 63.2 us: 2.51x faster
qb_qb_get_query_multiple_fields 414 us 91.6 us: 4.52x faster
qb_qb_select_multiple_fields 37.7 us 37.0 us: 1.02x faster
qb_qb_select_star 26.7 us 26.2 us: 1.02x faster
qb_qb_simple_get_query 128 us 63.1 us: 2.02x faster
redis_make_key 884 ns 589 ns: 1.50x faster
redis_redis_get_local_value 16.2 us 13.8 us: 1.17x faster
redis_redis_get_set_delete_cycle 52.3 ms 26.3 ms: 1.99x faster
utils_cint_on_string 113 ns 108 ns: 1.04x faster
utils_flt_explicit_rounding 1.52 us 1.50 us: 1.01x faster
utils_flt_str 2.55 us 2.43 us: 1.05x faster
utils_flt_typical 2.11 us 1.99 us: 1.06x faster
utils_frappe_call 7.60 us 957 ns: 7.94x faster
utils_frappe_dict_getattr 122 ns 40.4 ns: 3.02x faster
utils_frappe_dict_setattr 153 ns 79.1 ns: 1.93x faster
utils_get_system_settings 439 ns 345 ns: 1.27x faster
utils_no_translation_required 2.97 us 2.40 us: 1.24x faster
utils_parse_datetime 5.96 us 598 ns: 9.97x faster
utils_redis_cache_deco_with_local_cache 3.53 ms 135 us: 26.20x faster
utils_redis_cache_deco_without_local_cache 6.85 ms 3.43 ms: 2.00x faster
utils_request_cache_many_args 573 ns 297 ns: 1.93x faster
utils_site_cache_many_args 2.19 us 514 ns: 4.26x faster
utils_site_cache_no_arg 2.18 us 519 ns: 4.21x faster
utils_site_cache_with_ttl 2.54 us 631 ns: 4.03x faster
utils_unknown_translations 2.99 us 2.42 us: 1.24x faster
utils_valid_translation 2.99 us 2.42 us: 1.23x faster
web_requests_desk_page_render 22.0 ms 20.7 ms: 1.07x faster
web_requests_list_view_count_query 3.39 ms 2.14 ms: 1.59x faster
web_requests_list_view_query 4.36 ms 2.84 ms: 1.54x faster
web_requests_login_page_render 67.0 ms 62.6 ms: 1.07x faster
web_requests_rate_limiter 92.3 us 70.2 us: 1.32x faster
web_requests_request_authed_overheads 2.43 ms 1.46 ms: 1.67x faster
web_requests_request_getdoc 15.1 ms 7.11 ms: 2.12x faster
web_requests_request_overheads 2.19 ms 1.32 ms: 1.66x faster
web_requests_request_socketio_auth 2.42 ms 1.44 ms: 1.68x faster
web_requests_request_socketio_perm_check 3.71 ms 2.06 ms: 1.80x faster
web_requests_request_type_checking 11.9 us 4.94 us: 2.40x faster
Geometric mean (ref) 1.89x faster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant