From e0c0328b22684f16d2298440be81811c91750280 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Tue, 8 Oct 2024 06:15:19 +0000 Subject: [PATCH] add Rust Benchmark (cargo) benchmark result for 75c4e3c4113ec482af2138dbdf66028e8e67db4d --- dev/bench/data.js | 320 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 319 insertions(+), 1 deletion(-) diff --git a/dev/bench/data.js b/dev/bench/data.js index c1d39d4ef..182917b69 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1728358212657, + "lastUpdate": 1728368119190, "repoUrl": "https://github.com/schungx/rhai", "entries": { "Rust Benchmark": [ @@ -78866,6 +78866,324 @@ window.BENCHMARK_DATA = { "unit": "ns/iter" } ] + }, + { + "commit": { + "author": { + "email": "schungx@live.com", + "name": "Stephen Chung", + "username": "schungx" + }, + "committer": { + "email": "schungx@live.com", + "name": "Stephen Chung", + "username": "schungx" + }, + "distinct": true, + "id": "75c4e3c4113ec482af2138dbdf66028e8e67db4d", + "message": "Merge branch 'main' of https://github.com/rhaiscript/rhai", + "timestamp": "2024-10-08T14:06:41+08:00", + "tree_id": "44193b94ab0f297786aa94992021dd9f546d23f2", + "url": "https://github.com/schungx/rhai/commit/75c4e3c4113ec482af2138dbdf66028e8e67db4d" + }, + "date": 1728368114781, + "tool": "cargo", + "benches": [ + { + "name": "bench_engine_new", + "value": 348081.35, + "range": "± 21517.02", + "unit": "ns/iter" + }, + { + "name": "bench_engine_new_raw", + "value": 32.24, + "range": "± 0.46", + "unit": "ns/iter" + }, + { + "name": "bench_engine_new_raw_core", + "value": 100.15, + "range": "± 4.98", + "unit": "ns/iter" + }, + { + "name": "bench_engine_register_fn", + "value": 531.89, + "range": "± 38.28", + "unit": "ns/iter" + }, + { + "name": "bench_eval_array_large_get", + "value": 1011.13, + "range": "± 4.79", + "unit": "ns/iter" + }, + { + "name": "bench_eval_array_large_set", + "value": 1006.61, + "range": "± 7.44", + "unit": "ns/iter" + }, + { + "name": "bench_eval_array_loop", + "value": 4702699.15, + "range": "± 294381.16", + "unit": "ns/iter" + }, + { + "name": "bench_eval_array_small_get", + "value": 442.24, + "range": "± 27.70", + "unit": "ns/iter" + }, + { + "name": "bench_eval_array_small_set", + "value": 451.44, + "range": "± 40.13", + "unit": "ns/iter" + }, + { + "name": "bench_eval_call", + "value": 9590.16, + "range": "± 628.82", + "unit": "ns/iter" + }, + { + "name": "bench_eval_call_expression", + "value": 8177.91, + "range": "± 838.65", + "unit": "ns/iter" + }, + { + "name": "bench_eval_deeply_nested", + "value": 10691.18, + "range": "± 876.81", + "unit": "ns/iter" + }, + { + "name": "bench_eval_expression_number_literal", + "value": 126.89, + "range": "± 7.62", + "unit": "ns/iter" + }, + { + "name": "bench_eval_expression_number_operators", + "value": 187.94, + "range": "± 11.56", + "unit": "ns/iter" + }, + { + "name": "bench_eval_expression_optimized_full", + "value": 81.97, + "range": "± 5.63", + "unit": "ns/iter" + }, + { + "name": "bench_eval_expression_optimized_simple", + "value": 82.48, + "range": "± 5.79", + "unit": "ns/iter" + }, + { + "name": "bench_eval_expression_single", + "value": 81.78, + "range": "± 6.99", + "unit": "ns/iter" + }, + { + "name": "bench_eval_loop_number", + "value": 969614.32, + "range": "± 62921.19", + "unit": "ns/iter" + }, + { + "name": "bench_eval_loop_strings_build", + "value": 1755421.35, + "range": "± 119140.69", + "unit": "ns/iter" + }, + { + "name": "bench_eval_loop_strings_no_build", + "value": 1457097, + "range": "± 101100.80", + "unit": "ns/iter" + }, + { + "name": "bench_eval_nested_if", + "value": 9662.47, + "range": "± 494.34", + "unit": "ns/iter" + }, + { + "name": "bench_eval_switch", + "value": 4554.52, + "range": "± 358.93", + "unit": "ns/iter" + }, + { + "name": "bench_eval_map_large_get", + "value": 1225.05, + "range": "± 82.31", + "unit": "ns/iter" + }, + { + "name": "bench_eval_map_large_set", + "value": 1347.25, + "range": "± 82.28", + "unit": "ns/iter" + }, + { + "name": "bench_eval_map_small_get", + "value": 303.73, + "range": "± 26.51", + "unit": "ns/iter" + }, + { + "name": "bench_eval_map_small_set", + "value": 326.75, + "range": "± 21.67", + "unit": "ns/iter" + }, + { + "name": "bench_eval_function_call", + "value": 635.01, + "range": "± 30.88", + "unit": "ns/iter" + }, + { + "name": "bench_eval_module", + "value": 643.89, + "range": "± 43.09", + "unit": "ns/iter" + }, + { + "name": "bench_eval_scope_complex", + "value": 224.38, + "range": "± 13.39", + "unit": "ns/iter" + }, + { + "name": "bench_eval_scope_longer", + "value": 288.01, + "range": "± 20.30", + "unit": "ns/iter" + }, + { + "name": "bench_eval_scope_multiple", + "value": 176.89, + "range": "± 11.88", + "unit": "ns/iter" + }, + { + "name": "bench_eval_scope_single", + "value": 171.75, + "range": "± 11.40", + "unit": "ns/iter" + }, + { + "name": "bench_type_field", + "value": 215.09, + "range": "± 14.87", + "unit": "ns/iter" + }, + { + "name": "bench_type_method", + "value": 306.29, + "range": "± 20.18", + "unit": "ns/iter" + }, + { + "name": "bench_type_method_nested", + "value": 364.74, + "range": "± 22.98", + "unit": "ns/iter" + }, + { + "name": "bench_type_method_with_params", + "value": 382, + "range": "± 23.57", + "unit": "ns/iter" + }, + { + "name": "bench_iterations_1000", + "value": 156335.72, + "range": "± 10065.68", + "unit": "ns/iter" + }, + { + "name": "bench_iterations_array", + "value": 256227.52, + "range": "± 15325.16", + "unit": "ns/iter" + }, + { + "name": "bench_iterations_blob", + "value": 253310.23, + "range": "± 16037.04", + "unit": "ns/iter" + }, + { + "name": "bench_iterations_fibonacci", + "value": 11138101.3, + "range": "± 684553.94", + "unit": "ns/iter" + }, + { + "name": "bench_parse_array", + "value": 1787, + "range": "± 88.05", + "unit": "ns/iter" + }, + { + "name": "bench_parse_full", + "value": 7972.38, + "range": "± 683.81", + "unit": "ns/iter" + }, + { + "name": "bench_parse_map", + "value": 2911.61, + "range": "± 187.00", + "unit": "ns/iter" + }, + { + "name": "bench_parse_optimize_full", + "value": 10129.55, + "range": "± 977.24", + "unit": "ns/iter" + }, + { + "name": "bench_parse_optimize_simple", + "value": 9610.46, + "range": "± 650.19", + "unit": "ns/iter" + }, + { + "name": "bench_parse_primes", + "value": 20898.25, + "range": "± 1478.18", + "unit": "ns/iter" + }, + { + "name": "bench_parse_simple", + "value": 1677.49, + "range": "± 105.71", + "unit": "ns/iter" + }, + { + "name": "bench_parse_single", + "value": 288.15, + "range": "± 11.37", + "unit": "ns/iter" + }, + { + "name": "bench_eval_primes", + "value": 910536.54, + "range": "± 40196.08", + "unit": "ns/iter" + } + ] } ] }