From f31b391bebb8bd5d3d38d819ee600e635ee5715f Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Fri, 13 Dec 2024 02:20:20 +0000 Subject: [PATCH] add Rust Benchmark (cargo) benchmark result for b65ce779c11971faa2a203ea928d89cfd71d6174 --- 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 c1aafd1d9..0b7346ac4 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1733817814041, + "lastUpdate": 1734056420850, "repoUrl": "https://github.com/schungx/rhai", "entries": { "Rust Benchmark": [ @@ -80138,6 +80138,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": "b65ce779c11971faa2a203ea928d89cfd71d6174", + "message": "Fix version number", + "timestamp": "2024-12-13T10:08:05+08:00", + "tree_id": "be2324d988297cf64585c0d1f35ba597a66dc9e8", + "url": "https://github.com/schungx/rhai/commit/b65ce779c11971faa2a203ea928d89cfd71d6174" + }, + "date": 1734056416060, + "tool": "cargo", + "benches": [ + { + "name": "bench_engine_new", + "value": 364304.5, + "range": "± 17022.73", + "unit": "ns/iter" + }, + { + "name": "bench_engine_new_raw", + "value": 33.89, + "range": "± 0.62", + "unit": "ns/iter" + }, + { + "name": "bench_engine_new_raw_core", + "value": 102.85, + "range": "± 1.20", + "unit": "ns/iter" + }, + { + "name": "bench_engine_register_fn", + "value": 553.22, + "range": "± 10.13", + "unit": "ns/iter" + }, + { + "name": "bench_eval_array_large_get", + "value": 1060.37, + "range": "± 15.94", + "unit": "ns/iter" + }, + { + "name": "bench_eval_array_large_set", + "value": 1077.02, + "range": "± 38.44", + "unit": "ns/iter" + }, + { + "name": "bench_eval_array_loop", + "value": 4527233.05, + "range": "± 107061.08", + "unit": "ns/iter" + }, + { + "name": "bench_eval_array_small_get", + "value": 407.84, + "range": "± 24.18", + "unit": "ns/iter" + }, + { + "name": "bench_eval_array_small_set", + "value": 422.58, + "range": "± 10.36", + "unit": "ns/iter" + }, + { + "name": "bench_eval_call", + "value": 9954.32, + "range": "± 134.00", + "unit": "ns/iter" + }, + { + "name": "bench_eval_call_expression", + "value": 8409.46, + "range": "± 162.46", + "unit": "ns/iter" + }, + { + "name": "bench_eval_deeply_nested", + "value": 10758.32, + "range": "± 126.25", + "unit": "ns/iter" + }, + { + "name": "bench_eval_expression_number_literal", + "value": 133.24, + "range": "± 4.68", + "unit": "ns/iter" + }, + { + "name": "bench_eval_expression_number_operators", + "value": 189.04, + "range": "± 2.82", + "unit": "ns/iter" + }, + { + "name": "bench_eval_expression_optimized_full", + "value": 84.45, + "range": "± 2.31", + "unit": "ns/iter" + }, + { + "name": "bench_eval_expression_optimized_simple", + "value": 84.14, + "range": "± 1.00", + "unit": "ns/iter" + }, + { + "name": "bench_eval_expression_single", + "value": 83.75, + "range": "± 0.59", + "unit": "ns/iter" + }, + { + "name": "bench_eval_loop_number", + "value": 1009564.6, + "range": "± 11468.89", + "unit": "ns/iter" + }, + { + "name": "bench_eval_loop_strings_build", + "value": 1833128.3, + "range": "± 27410.11", + "unit": "ns/iter" + }, + { + "name": "bench_eval_loop_strings_no_build", + "value": 1522682.5, + "range": "± 11500.99", + "unit": "ns/iter" + }, + { + "name": "bench_eval_nested_if", + "value": 10195.96, + "range": "± 93.39", + "unit": "ns/iter" + }, + { + "name": "bench_eval_switch", + "value": 4378.33, + "range": "± 143.45", + "unit": "ns/iter" + }, + { + "name": "bench_eval_map_large_get", + "value": 1326.17, + "range": "± 21.47", + "unit": "ns/iter" + }, + { + "name": "bench_eval_map_large_set", + "value": 1391.98, + "range": "± 62.78", + "unit": "ns/iter" + }, + { + "name": "bench_eval_map_small_get", + "value": 308.12, + "range": "± 11.77", + "unit": "ns/iter" + }, + { + "name": "bench_eval_map_small_set", + "value": 342.44, + "range": "± 7.99", + "unit": "ns/iter" + }, + { + "name": "bench_eval_function_call", + "value": 678.79, + "range": "± 20.53", + "unit": "ns/iter" + }, + { + "name": "bench_eval_module", + "value": 646.04, + "range": "± 82.56", + "unit": "ns/iter" + }, + { + "name": "bench_eval_scope_complex", + "value": 237.31, + "range": "± 7.82", + "unit": "ns/iter" + }, + { + "name": "bench_eval_scope_longer", + "value": 294.82, + "range": "± 9.67", + "unit": "ns/iter" + }, + { + "name": "bench_eval_scope_multiple", + "value": 177, + "range": "± 8.13", + "unit": "ns/iter" + }, + { + "name": "bench_eval_scope_single", + "value": 191.42, + "range": "± 9.99", + "unit": "ns/iter" + }, + { + "name": "bench_type_field", + "value": 212.77, + "range": "± 1.68", + "unit": "ns/iter" + }, + { + "name": "bench_type_method", + "value": 319.38, + "range": "± 10.91", + "unit": "ns/iter" + }, + { + "name": "bench_type_method_nested", + "value": 353.17, + "range": "± 6.85", + "unit": "ns/iter" + }, + { + "name": "bench_type_method_with_params", + "value": 373.44, + "range": "± 6.81", + "unit": "ns/iter" + }, + { + "name": "bench_iterations_1000", + "value": 149167.37, + "range": "± 2366.53", + "unit": "ns/iter" + }, + { + "name": "bench_iterations_array", + "value": 271193, + "range": "± 2712.76", + "unit": "ns/iter" + }, + { + "name": "bench_iterations_blob", + "value": 263034.03, + "range": "± 5267.66", + "unit": "ns/iter" + }, + { + "name": "bench_iterations_fibonacci", + "value": 10969953.9, + "range": "± 324766.91", + "unit": "ns/iter" + }, + { + "name": "bench_parse_array", + "value": 1926.12, + "range": "± 23.27", + "unit": "ns/iter" + }, + { + "name": "bench_parse_full", + "value": 7865.65, + "range": "± 74.97", + "unit": "ns/iter" + }, + { + "name": "bench_parse_map", + "value": 3101.17, + "range": "± 49.66", + "unit": "ns/iter" + }, + { + "name": "bench_parse_optimize_full", + "value": 10408.41, + "range": "± 171.65", + "unit": "ns/iter" + }, + { + "name": "bench_parse_optimize_simple", + "value": 9515.67, + "range": "± 129.30", + "unit": "ns/iter" + }, + { + "name": "bench_parse_primes", + "value": 21737.55, + "range": "± 547.21", + "unit": "ns/iter" + }, + { + "name": "bench_parse_simple", + "value": 1775.45, + "range": "± 56.31", + "unit": "ns/iter" + }, + { + "name": "bench_parse_single", + "value": 298.65, + "range": "± 100.86", + "unit": "ns/iter" + }, + { + "name": "bench_eval_primes", + "value": 899618.9, + "range": "± 10563.44", + "unit": "ns/iter" + } + ] } ] }