From 4b897185cd4d379469697706f042664a6674fa56 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Tue, 8 Oct 2024 06:43:52 +0000 Subject: [PATCH] add Rust Benchmark (cargo) benchmark result for e4e87a651e4d3ce47ae6a7c2755796fa6ce80a88 --- 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 182917b69..fac6b4211 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1728368119190, + "lastUpdate": 1728369832619, "repoUrl": "https://github.com/schungx/rhai", "entries": { "Rust Benchmark": [ @@ -79184,6 +79184,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": "e4e87a651e4d3ce47ae6a7c2755796fa6ce80a88", + "message": "Update dependencies", + "timestamp": "2024-10-08T14:39:59+08:00", + "tree_id": "7969374d992690b032001d535dba3c2dd4dc8e69", + "url": "https://github.com/schungx/rhai/commit/e4e87a651e4d3ce47ae6a7c2755796fa6ce80a88" + }, + "date": 1728369828203, + "tool": "cargo", + "benches": [ + { + "name": "bench_engine_new", + "value": 365499.5, + "range": "± 7326.56", + "unit": "ns/iter" + }, + { + "name": "bench_engine_new_raw", + "value": 32.13, + "range": "± 0.48", + "unit": "ns/iter" + }, + { + "name": "bench_engine_new_raw_core", + "value": 102.74, + "range": "± 0.73", + "unit": "ns/iter" + }, + { + "name": "bench_engine_register_fn", + "value": 593.99, + "range": "± 7.87", + "unit": "ns/iter" + }, + { + "name": "bench_eval_array_large_get", + "value": 951.56, + "range": "± 11.86", + "unit": "ns/iter" + }, + { + "name": "bench_eval_array_large_set", + "value": 985.91, + "range": "± 31.82", + "unit": "ns/iter" + }, + { + "name": "bench_eval_array_loop", + "value": 4484555, + "range": "± 69575.17", + "unit": "ns/iter" + }, + { + "name": "bench_eval_array_small_get", + "value": 391.11, + "range": "± 4.87", + "unit": "ns/iter" + }, + { + "name": "bench_eval_array_small_set", + "value": 404.19, + "range": "± 3.26", + "unit": "ns/iter" + }, + { + "name": "bench_eval_call", + "value": 10096.11, + "range": "± 111.42", + "unit": "ns/iter" + }, + { + "name": "bench_eval_call_expression", + "value": 8464.3, + "range": "± 60.59", + "unit": "ns/iter" + }, + { + "name": "bench_eval_deeply_nested", + "value": 10707.96, + "range": "± 74.69", + "unit": "ns/iter" + }, + { + "name": "bench_eval_expression_number_literal", + "value": 136.73, + "range": "± 2.20", + "unit": "ns/iter" + }, + { + "name": "bench_eval_expression_number_operators", + "value": 194.67, + "range": "± 7.97", + "unit": "ns/iter" + }, + { + "name": "bench_eval_expression_optimized_full", + "value": 87.79, + "range": "± 13.26", + "unit": "ns/iter" + }, + { + "name": "bench_eval_expression_optimized_simple", + "value": 87.9, + "range": "± 0.69", + "unit": "ns/iter" + }, + { + "name": "bench_eval_expression_single", + "value": 87.34, + "range": "± 0.76", + "unit": "ns/iter" + }, + { + "name": "bench_eval_loop_number", + "value": 1021250.5, + "range": "± 10572.19", + "unit": "ns/iter" + }, + { + "name": "bench_eval_loop_strings_build", + "value": 1832810.1, + "range": "± 13552.53", + "unit": "ns/iter" + }, + { + "name": "bench_eval_loop_strings_no_build", + "value": 1502538.6, + "range": "± 14848.34", + "unit": "ns/iter" + }, + { + "name": "bench_eval_nested_if", + "value": 10324.37, + "range": "± 1201.35", + "unit": "ns/iter" + }, + { + "name": "bench_eval_switch", + "value": 4739.18, + "range": "± 46.94", + "unit": "ns/iter" + }, + { + "name": "bench_eval_map_large_get", + "value": 1372.89, + "range": "± 10.33", + "unit": "ns/iter" + }, + { + "name": "bench_eval_map_large_set", + "value": 1392.52, + "range": "± 54.88", + "unit": "ns/iter" + }, + { + "name": "bench_eval_map_small_get", + "value": 299.29, + "range": "± 3.76", + "unit": "ns/iter" + }, + { + "name": "bench_eval_map_small_set", + "value": 348.06, + "range": "± 5.02", + "unit": "ns/iter" + }, + { + "name": "bench_eval_function_call", + "value": 684.46, + "range": "± 10.79", + "unit": "ns/iter" + }, + { + "name": "bench_eval_module", + "value": 660.33, + "range": "± 10.36", + "unit": "ns/iter" + }, + { + "name": "bench_eval_scope_complex", + "value": 233.89, + "range": "± 6.07", + "unit": "ns/iter" + }, + { + "name": "bench_eval_scope_longer", + "value": 298.76, + "range": "± 5.45", + "unit": "ns/iter" + }, + { + "name": "bench_eval_scope_multiple", + "value": 182.62, + "range": "± 3.09", + "unit": "ns/iter" + }, + { + "name": "bench_eval_scope_single", + "value": 190.67, + "range": "± 4.10", + "unit": "ns/iter" + }, + { + "name": "bench_type_field", + "value": 212.95, + "range": "± 4.73", + "unit": "ns/iter" + }, + { + "name": "bench_type_method", + "value": 339.43, + "range": "± 2.10", + "unit": "ns/iter" + }, + { + "name": "bench_type_method_nested", + "value": 371.28, + "range": "± 9.08", + "unit": "ns/iter" + }, + { + "name": "bench_type_method_with_params", + "value": 389.92, + "range": "± 3.90", + "unit": "ns/iter" + }, + { + "name": "bench_iterations_1000", + "value": 157036.02, + "range": "± 2883.59", + "unit": "ns/iter" + }, + { + "name": "bench_iterations_array", + "value": 285289.78, + "range": "± 1406.57", + "unit": "ns/iter" + }, + { + "name": "bench_iterations_blob", + "value": 277108.1, + "range": "± 2920.96", + "unit": "ns/iter" + }, + { + "name": "bench_iterations_fibonacci", + "value": 11495894.9, + "range": "± 86816.87", + "unit": "ns/iter" + }, + { + "name": "bench_parse_array", + "value": 1932.09, + "range": "± 38.10", + "unit": "ns/iter" + }, + { + "name": "bench_parse_full", + "value": 7999.81, + "range": "± 129.54", + "unit": "ns/iter" + }, + { + "name": "bench_parse_map", + "value": 3139.83, + "range": "± 40.78", + "unit": "ns/iter" + }, + { + "name": "bench_parse_optimize_full", + "value": 10602.56, + "range": "± 103.77", + "unit": "ns/iter" + }, + { + "name": "bench_parse_optimize_simple", + "value": 9674.08, + "range": "± 201.05", + "unit": "ns/iter" + }, + { + "name": "bench_parse_primes", + "value": 21964.88, + "range": "± 245.61", + "unit": "ns/iter" + }, + { + "name": "bench_parse_simple", + "value": 1769.93, + "range": "± 49.83", + "unit": "ns/iter" + }, + { + "name": "bench_parse_single", + "value": 308.83, + "range": "± 3.74", + "unit": "ns/iter" + }, + { + "name": "bench_eval_primes", + "value": 985681.95, + "range": "± 44773.56", + "unit": "ns/iter" + } + ] } ] }