From 5192ef19fa3157bc661f658af91c1f176c2ae43e Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Wed, 4 Dec 2024 15:19:39 +0000 Subject: [PATCH] add Benchmark (cargo) benchmark result for d50b4ffef4f03cce0eae2ca4c7b2236e96f6bda2 --- bench/dev2/data.js | 764 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 763 insertions(+), 1 deletion(-) diff --git a/bench/dev2/data.js b/bench/dev2/data.js index f5506147a4..3253c9b350 100644 --- a/bench/dev2/data.js +++ b/bench/dev2/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1733237156284, + "lastUpdate": 1733325579576, "repoUrl": "https://github.com/paritytech/jsonrpsee", "entries": { "Benchmark": [ @@ -569270,6 +569270,768 @@ window.BENCHMARK_DATA = { "unit": "ns/iter" } ] + }, + { + "commit": { + "author": { + "email": "niklasadolfsson1@gmail.com", + "name": "Niklas Adolfsson", + "username": "niklasad1" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "d50b4ffef4f03cce0eae2ca4c7b2236e96f6bda2", + "message": "client: remove disconnect_reason and include close reason in on_disconnect API (#1496)\n\nBecause both `disconnect_reason` is now cancel-safe it doesn't make sense to provide\r\nto different APIs for it.", + "timestamp": "2024-12-04T15:23:24+01:00", + "tree_id": "b857128d4180be96a3481abb34c30356b3ce0168", + "url": "https://github.com/paritytech/jsonrpsee/commit/d50b4ffef4f03cce0eae2ca4c7b2236e96f6bda2" + }, + "date": 1733325563649, + "tool": "cargo", + "benches": [ + { + "name": "jsonrpsee_types_array_params_baseline", + "value": 116, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "jsonrpsee_types_array_params", + "value": 213, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "jsonrpsee_types_object_params_baseline", + "value": 128, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "jsonrpsee_types_object_params", + "value": 222, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "sync/http_custom_headers_round_trip/0kb", + "value": 45919, + "range": "± 1572", + "unit": "ns/iter" + }, + { + "name": "sync/http_custom_headers_round_trip/1kb", + "value": 45815, + "range": "± 1799", + "unit": "ns/iter" + }, + { + "name": "sync/http_custom_headers_round_trip/5kb", + "value": 47277, + "range": "± 1467", + "unit": "ns/iter" + }, + { + "name": "sync/http_custom_headers_round_trip/25kb", + "value": 53075, + "range": "± 1864", + "unit": "ns/iter" + }, + { + "name": "sync/http_custom_headers_round_trip/100kb", + "value": 101526, + "range": "± 3150", + "unit": "ns/iter" + }, + { + "name": "sync/http_concurrent_conn_calls/fast_call/2", + "value": 134257, + "range": "± 37144", + "unit": "ns/iter" + }, + { + "name": "sync/http_concurrent_conn_calls/fast_call/4", + "value": 159199, + "range": "± 343729", + "unit": "ns/iter" + }, + { + "name": "sync/http_concurrent_conn_calls/fast_call/8", + "value": 285814, + "range": "± 643533", + "unit": "ns/iter" + }, + { + "name": "sync/http_round_trip/3", + "value": 1403900, + "range": "± 31725", + "unit": "ns/iter" + }, + { + "name": "sync/http_round_trip/9", + "value": 3819665, + "range": "± 443530", + "unit": "ns/iter" + }, + { + "name": "sync/http_round_trip/27", + "value": 13089265, + "range": "± 546202", + "unit": "ns/iter" + }, + { + "name": "sync/http_round_trip/81", + "value": 38770768, + "range": "± 1942520", + "unit": "ns/iter" + }, + { + "name": "sync/http_round_trip/243", + "value": 102487236, + "range": "± 4348796", + "unit": "ns/iter" + }, + { + "name": "sync/http_round_trip/729", + "value": 319660336, + "range": "± 10202765", + "unit": "ns/iter" + }, + { + "name": "sync/http_batch_requests/fast_call/2", + "value": 48877, + "range": "± 1487", + "unit": "ns/iter" + }, + { + "name": "sync/http_batch_requests/fast_call/5", + "value": 55304, + "range": "± 1450", + "unit": "ns/iter" + }, + { + "name": "sync/http_batch_requests/fast_call/10", + "value": 69049, + "range": "± 2636", + "unit": "ns/iter" + }, + { + "name": "sync/http_batch_requests/fast_call/50", + "value": 134459, + "range": "± 4195", + "unit": "ns/iter" + }, + { + "name": "sync/http_batch_requests/fast_call/100", + "value": 214223, + "range": "± 3553", + "unit": "ns/iter" + }, + { + "name": "sync/ws_custom_headers_handshake/0kb", + "value": 76084, + "range": "± 1738", + "unit": "ns/iter" + }, + { + "name": "sync/ws_custom_headers_handshake/1kb", + "value": 85453, + "range": "± 1906", + "unit": "ns/iter" + }, + { + "name": "sync/ws_custom_headers_handshake/2kb", + "value": 82879, + "range": "± 4166", + "unit": "ns/iter" + }, + { + "name": "sync/ws_custom_headers_handshake/4kb", + "value": 81776, + "range": "± 1838", + "unit": "ns/iter" + }, + { + "name": "sync/ws_concurrent_conn_calls/fast_call/2", + "value": 162428, + "range": "± 11389", + "unit": "ns/iter" + }, + { + "name": "sync/ws_concurrent_conn_calls/fast_call/4", + "value": 289125, + "range": "± 13377", + "unit": "ns/iter" + }, + { + "name": "sync/ws_concurrent_conn_calls/fast_call/8", + "value": 523904, + "range": "± 25596", + "unit": "ns/iter" + }, + { + "name": "sync/ws_round_trip/3", + "value": 1239473, + "range": "± 24173", + "unit": "ns/iter" + }, + { + "name": "sync/ws_round_trip/9", + "value": 2484928, + "range": "± 38734", + "unit": "ns/iter" + }, + { + "name": "sync/ws_round_trip/27", + "value": 7100962, + "range": "± 293826", + "unit": "ns/iter" + }, + { + "name": "sync/ws_round_trip/81", + "value": 24293155, + "range": "± 1750400", + "unit": "ns/iter" + }, + { + "name": "sync/ws_round_trip/243", + "value": 82500410, + "range": "± 7185817", + "unit": "ns/iter" + }, + { + "name": "sync/ws_round_trip/729", + "value": 292967486, + "range": "± 10171047", + "unit": "ns/iter" + }, + { + "name": "sync/ws_batch_requests/fast_call/2", + "value": 41486, + "range": "± 1005", + "unit": "ns/iter" + }, + { + "name": "sync/ws_batch_requests/fast_call/5", + "value": 48335, + "range": "± 7766", + "unit": "ns/iter" + }, + { + "name": "sync/ws_batch_requests/fast_call/10", + "value": 59025, + "range": "± 2884", + "unit": "ns/iter" + }, + { + "name": "sync/ws_batch_requests/fast_call/50", + "value": 136865, + "range": "± 2655", + "unit": "ns/iter" + }, + { + "name": "sync/ws_batch_requests/fast_call/100", + "value": 247571, + "range": "± 3447", + "unit": "ns/iter" + }, + { + "name": "sync/http_concurrent_conn_calls/fast_call/16", + "value": 533146, + "range": "± 1086922", + "unit": "ns/iter" + }, + { + "name": "sync/http_concurrent_conn_calls/fast_call/32", + "value": 1008362, + "range": "± 1965654", + "unit": "ns/iter" + }, + { + "name": "sync/http_concurrent_conn_calls/fast_call/64", + "value": 1975585, + "range": "± 3946284", + "unit": "ns/iter" + }, + { + "name": "sync/ws_concurrent_conn_calls/fast_call/16", + "value": 956973, + "range": "± 39999", + "unit": "ns/iter" + }, + { + "name": "sync/ws_concurrent_conn_calls/fast_call/32", + "value": 1877161, + "range": "± 74457", + "unit": "ns/iter" + }, + { + "name": "sync/ws_concurrent_conn_calls/fast_call/64", + "value": 3762768, + "range": "± 129057", + "unit": "ns/iter" + }, + { + "name": "sync/ws_concurrent_conn_subs/16", + "value": 1718137, + "range": "± 101801", + "unit": "ns/iter" + }, + { + "name": "sync/ws_concurrent_conn_subs/32", + "value": 3335616, + "range": "± 110074", + "unit": "ns/iter" + }, + { + "name": "sync/ws_concurrent_conn_subs/64", + "value": 6457803, + "range": "± 193659", + "unit": "ns/iter" + }, + { + "name": "sync/http_concurrent_conn_calls/fast_call/128", + "value": 8091668, + "range": "± 4381405", + "unit": "ns/iter" + }, + { + "name": "sync/http_concurrent_conn_calls/fast_call/256", + "value": 15764081, + "range": "± 8578601", + "unit": "ns/iter" + }, + { + "name": "sync/http_concurrent_conn_calls/fast_call/512", + "value": 41637920, + "range": "± 12242922", + "unit": "ns/iter" + }, + { + "name": "sync/http_concurrent_conn_calls/fast_call/1024", + "value": 82572740, + "range": "± 21369494", + "unit": "ns/iter" + }, + { + "name": "sync/ws_concurrent_conn_calls/fast_call/128", + "value": 7560080, + "range": "± 255860", + "unit": "ns/iter" + }, + { + "name": "sync/ws_concurrent_conn_calls/fast_call/256", + "value": 15847744, + "range": "± 404838", + "unit": "ns/iter" + }, + { + "name": "sync/ws_concurrent_conn_calls/fast_call/512", + "value": 31933912, + "range": "± 926956", + "unit": "ns/iter" + }, + { + "name": "sync/ws_concurrent_conn_calls/fast_call/1024", + "value": 69724402, + "range": "± 1388021", + "unit": "ns/iter" + }, + { + "name": "sync/ws_concurrent_conn_subs/128", + "value": 13017006, + "range": "± 250320", + "unit": "ns/iter" + }, + { + "name": "sync/ws_concurrent_conn_subs/256", + "value": 25993008, + "range": "± 663185", + "unit": "ns/iter" + }, + { + "name": "sync/ws_concurrent_conn_subs/512", + "value": 52955200, + "range": "± 1139613", + "unit": "ns/iter" + }, + { + "name": "sync/ws_concurrent_conn_subs/1024", + "value": 107908508, + "range": "± 2536528", + "unit": "ns/iter" + }, + { + "name": "async/http_custom_headers_round_trip/0kb", + "value": 46349, + "range": "± 2274", + "unit": "ns/iter" + }, + { + "name": "async/http_custom_headers_round_trip/1kb", + "value": 45694, + "range": "± 1724", + "unit": "ns/iter" + }, + { + "name": "async/http_custom_headers_round_trip/5kb", + "value": 47888, + "range": "± 1929", + "unit": "ns/iter" + }, + { + "name": "async/http_custom_headers_round_trip/25kb", + "value": 53209, + "range": "± 2426", + "unit": "ns/iter" + }, + { + "name": "async/http_custom_headers_round_trip/100kb", + "value": 102214, + "range": "± 3961", + "unit": "ns/iter" + }, + { + "name": "async/http_concurrent_conn_calls/fast_call/2", + "value": 141071, + "range": "± 9619", + "unit": "ns/iter" + }, + { + "name": "async/http_concurrent_conn_calls/fast_call/4", + "value": 169457, + "range": "± 275641", + "unit": "ns/iter" + }, + { + "name": "async/http_concurrent_conn_calls/fast_call/8", + "value": 332269, + "range": "± 753928", + "unit": "ns/iter" + }, + { + "name": "async/http_round_trip/3", + "value": 2101260, + "range": "± 94447", + "unit": "ns/iter" + }, + { + "name": "async/http_round_trip/9", + "value": 4297345, + "range": "± 242372", + "unit": "ns/iter" + }, + { + "name": "async/http_round_trip/27", + "value": 12727313, + "range": "± 601114", + "unit": "ns/iter" + }, + { + "name": "async/http_round_trip/81", + "value": 43210644, + "range": "± 1924906", + "unit": "ns/iter" + }, + { + "name": "async/http_round_trip/243", + "value": 129219174, + "range": "± 6790941", + "unit": "ns/iter" + }, + { + "name": "async/http_round_trip/729", + "value": 423515485, + "range": "± 15664514", + "unit": "ns/iter" + }, + { + "name": "async/http_batch_requests/fast_call/2", + "value": 78754, + "range": "± 5200", + "unit": "ns/iter" + }, + { + "name": "async/http_batch_requests/fast_call/5", + "value": 91045, + "range": "± 7350", + "unit": "ns/iter" + }, + { + "name": "async/http_batch_requests/fast_call/10", + "value": 100397, + "range": "± 4613", + "unit": "ns/iter" + }, + { + "name": "async/http_batch_requests/fast_call/50", + "value": 191032, + "range": "± 7026", + "unit": "ns/iter" + }, + { + "name": "async/http_batch_requests/fast_call/100", + "value": 308140, + "range": "± 15375", + "unit": "ns/iter" + }, + { + "name": "async/ws_custom_headers_handshake/0kb", + "value": 105731, + "range": "± 3668", + "unit": "ns/iter" + }, + { + "name": "async/ws_custom_headers_handshake/1kb", + "value": 110886, + "range": "± 3419", + "unit": "ns/iter" + }, + { + "name": "async/ws_custom_headers_handshake/2kb", + "value": 114065, + "range": "± 6784", + "unit": "ns/iter" + }, + { + "name": "async/ws_custom_headers_handshake/4kb", + "value": 112442, + "range": "± 5015", + "unit": "ns/iter" + }, + { + "name": "async/ws_concurrent_conn_calls/fast_call/2", + "value": 206980, + "range": "± 17315", + "unit": "ns/iter" + }, + { + "name": "async/ws_concurrent_conn_calls/fast_call/4", + "value": 351387, + "range": "± 47665", + "unit": "ns/iter" + }, + { + "name": "async/ws_concurrent_conn_calls/fast_call/8", + "value": 664431, + "range": "± 48300", + "unit": "ns/iter" + }, + { + "name": "async/ws_round_trip/3", + "value": 1636320, + "range": "± 49223", + "unit": "ns/iter" + }, + { + "name": "async/ws_round_trip/9", + "value": 3159619, + "range": "± 109596", + "unit": "ns/iter" + }, + { + "name": "async/ws_round_trip/27", + "value": 10768951, + "range": "± 868342", + "unit": "ns/iter" + }, + { + "name": "async/ws_round_trip/81", + "value": 31937210, + "range": "± 3500833", + "unit": "ns/iter" + }, + { + "name": "async/ws_round_trip/243", + "value": 103598131, + "range": "± 10695071", + "unit": "ns/iter" + }, + { + "name": "async/ws_round_trip/729", + "value": 335617003, + "range": "± 15618772", + "unit": "ns/iter" + }, + { + "name": "async/ws_batch_requests/fast_call/2", + "value": 62384, + "range": "± 1918", + "unit": "ns/iter" + }, + { + "name": "async/ws_batch_requests/fast_call/5", + "value": 76937, + "range": "± 4323", + "unit": "ns/iter" + }, + { + "name": "async/ws_batch_requests/fast_call/10", + "value": 91593, + "range": "± 6680", + "unit": "ns/iter" + }, + { + "name": "async/ws_batch_requests/fast_call/50", + "value": 192908, + "range": "± 6019", + "unit": "ns/iter" + }, + { + "name": "async/ws_batch_requests/fast_call/100", + "value": 333746, + "range": "± 13054", + "unit": "ns/iter" + }, + { + "name": "async/http_concurrent_conn_calls/fast_call/16", + "value": 671005, + "range": "± 1201785", + "unit": "ns/iter" + }, + { + "name": "async/http_concurrent_conn_calls/fast_call/32", + "value": 1285971, + "range": "± 3125642", + "unit": "ns/iter" + }, + { + "name": "async/http_concurrent_conn_calls/fast_call/64", + "value": 2636678, + "range": "± 3703027", + "unit": "ns/iter" + }, + { + "name": "async/ws_concurrent_conn_calls/fast_call/16", + "value": 1254265, + "range": "± 54071", + "unit": "ns/iter" + }, + { + "name": "async/ws_concurrent_conn_calls/fast_call/32", + "value": 2456156, + "range": "± 106707", + "unit": "ns/iter" + }, + { + "name": "async/ws_concurrent_conn_calls/fast_call/64", + "value": 4904226, + "range": "± 180812", + "unit": "ns/iter" + }, + { + "name": "async/ws_concurrent_conn_subs/16", + "value": 2139646, + "range": "± 75265", + "unit": "ns/iter" + }, + { + "name": "async/ws_concurrent_conn_subs/32", + "value": 4117558, + "range": "± 149601", + "unit": "ns/iter" + }, + { + "name": "async/ws_concurrent_conn_subs/64", + "value": 8094549, + "range": "± 400086", + "unit": "ns/iter" + }, + { + "name": "async/http_concurrent_conn_calls/fast_call/128", + "value": 8547335, + "range": "± 4232347", + "unit": "ns/iter" + }, + { + "name": "async/http_concurrent_conn_calls/fast_call/256", + "value": 16230685, + "range": "± 8214146", + "unit": "ns/iter" + }, + { + "name": "async/http_concurrent_conn_calls/fast_call/512", + "value": 40464382, + "range": "± 10608687", + "unit": "ns/iter" + }, + { + "name": "async/http_concurrent_conn_calls/fast_call/1024", + "value": 81086144, + "range": "± 20186755", + "unit": "ns/iter" + }, + { + "name": "async/ws_concurrent_conn_calls/fast_call/128", + "value": 11751549, + "range": "± 626816", + "unit": "ns/iter" + }, + { + "name": "async/ws_concurrent_conn_calls/fast_call/256", + "value": 23647756, + "range": "± 2592098", + "unit": "ns/iter" + }, + { + "name": "async/ws_concurrent_conn_calls/fast_call/512", + "value": 48616797, + "range": "± 7892002", + "unit": "ns/iter" + }, + { + "name": "async/ws_concurrent_conn_calls/fast_call/1024", + "value": 69278697, + "range": "± 14508545", + "unit": "ns/iter" + }, + { + "name": "async/ws_concurrent_conn_subs/128", + "value": 13721961, + "range": "± 2138411", + "unit": "ns/iter" + }, + { + "name": "async/ws_concurrent_conn_subs/256", + "value": 26563173, + "range": "± 1353290", + "unit": "ns/iter" + }, + { + "name": "async/ws_concurrent_conn_subs/512", + "value": 52375588, + "range": "± 1112932", + "unit": "ns/iter" + }, + { + "name": "async/ws_concurrent_conn_subs/1024", + "value": 105994573, + "range": "± 1420066", + "unit": "ns/iter" + }, + { + "name": "subscriptions/subscribe", + "value": 59127, + "range": "± 1375", + "unit": "ns/iter" + }, + { + "name": "subscriptions/subscribe_response", + "value": 4142, + "range": "± 387", + "unit": "ns/iter" + }, + { + "name": "subscriptions/unsub", + "value": 2596, + "range": "± 99", + "unit": "ns/iter" + } + ] } ] }