Skip to content

Commit

Permalink
add Rust Benchmark (cargo) benchmark result for 5d331a9
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Apr 16, 2024
1 parent 82bb6dd commit 5395c39
Showing 1 changed file with 319 additions and 1 deletion.
320 changes: 319 additions & 1 deletion dev/bench/data.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
window.BENCHMARK_DATA = {
"lastUpdate": 1712898412012,
"lastUpdate": 1713231669451,
"repoUrl": "https://github.com/schungx/rhai",
"entries": {
"Rust Benchmark": [
Expand Down Expand Up @@ -69008,6 +69008,324 @@ window.BENCHMARK_DATA = {
"unit": "ns/iter"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Stephen Chung",
"username": "schungx"
},
"committer": {
"email": "[email protected]",
"name": "Stephen Chung",
"username": "schungx"
},
"distinct": true,
"id": "5d331a9a15af176cf12a0c5cc9e3479aef5abae7",
"message": "Invoke variable resolver for captured variables in closures",
"timestamp": "2024-04-16T09:11:17+08:00",
"tree_id": "ca428bb5c12f52a9e10df5b083385d3781397fa5",
"url": "https://github.com/schungx/rhai/commit/5d331a9a15af176cf12a0c5cc9e3479aef5abae7"
},
"date": 1713231664728,
"tool": "cargo",
"benches": [
{
"name": "bench_engine_new",
"value": 371177,
"range": "± 5749",
"unit": "ns/iter"
},
{
"name": "bench_engine_new_raw",
"value": 31,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "bench_engine_new_raw_core",
"value": 96,
"range": "± 1",
"unit": "ns/iter"
},
{
"name": "bench_engine_register_fn",
"value": 557,
"range": "± 16",
"unit": "ns/iter"
},
{
"name": "bench_eval_array_large_get",
"value": 1038,
"range": "± 16",
"unit": "ns/iter"
},
{
"name": "bench_eval_array_large_set",
"value": 1036,
"range": "± 13",
"unit": "ns/iter"
},
{
"name": "bench_eval_array_loop",
"value": 5413601,
"range": "± 55893",
"unit": "ns/iter"
},
{
"name": "bench_eval_array_small_get",
"value": 400,
"range": "± 9",
"unit": "ns/iter"
},
{
"name": "bench_eval_array_small_set",
"value": 404,
"range": "± 7",
"unit": "ns/iter"
},
{
"name": "bench_eval_call",
"value": 10253,
"range": "± 95",
"unit": "ns/iter"
},
{
"name": "bench_eval_call_expression",
"value": 8677,
"range": "± 126",
"unit": "ns/iter"
},
{
"name": "bench_eval_deeply_nested",
"value": 11010,
"range": "± 152",
"unit": "ns/iter"
},
{
"name": "bench_eval_expression_number_literal",
"value": 136,
"range": "± 4",
"unit": "ns/iter"
},
{
"name": "bench_eval_expression_number_operators",
"value": 202,
"range": "± 4",
"unit": "ns/iter"
},
{
"name": "bench_eval_expression_optimized_full",
"value": 85,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "bench_eval_expression_optimized_simple",
"value": 86,
"range": "± 1",
"unit": "ns/iter"
},
{
"name": "bench_eval_expression_single",
"value": 86,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "bench_eval_loop_number",
"value": 1126630,
"range": "± 19444",
"unit": "ns/iter"
},
{
"name": "bench_eval_loop_strings_build",
"value": 1898570,
"range": "± 13992",
"unit": "ns/iter"
},
{
"name": "bench_eval_loop_strings_no_build",
"value": 1641565,
"range": "± 25232",
"unit": "ns/iter"
},
{
"name": "bench_eval_nested_if",
"value": 10573,
"range": "± 110",
"unit": "ns/iter"
},
{
"name": "bench_eval_switch",
"value": 4483,
"range": "± 76",
"unit": "ns/iter"
},
{
"name": "bench_eval_map_large_get",
"value": 1316,
"range": "± 33",
"unit": "ns/iter"
},
{
"name": "bench_eval_map_large_set",
"value": 1395,
"range": "± 23",
"unit": "ns/iter"
},
{
"name": "bench_eval_map_small_get",
"value": 339,
"range": "± 12",
"unit": "ns/iter"
},
{
"name": "bench_eval_map_small_set",
"value": 393,
"range": "± 349",
"unit": "ns/iter"
},
{
"name": "bench_eval_function_call",
"value": 666,
"range": "± 12",
"unit": "ns/iter"
},
{
"name": "bench_eval_module",
"value": 642,
"range": "± 13",
"unit": "ns/iter"
},
{
"name": "bench_eval_scope_complex",
"value": 240,
"range": "± 5",
"unit": "ns/iter"
},
{
"name": "bench_eval_scope_longer",
"value": 297,
"range": "± 8",
"unit": "ns/iter"
},
{
"name": "bench_eval_scope_multiple",
"value": 178,
"range": "± 2",
"unit": "ns/iter"
},
{
"name": "bench_eval_scope_single",
"value": 179,
"range": "± 2",
"unit": "ns/iter"
},
{
"name": "bench_type_field",
"value": 229,
"range": "± 19",
"unit": "ns/iter"
},
{
"name": "bench_type_method",
"value": 334,
"range": "± 7",
"unit": "ns/iter"
},
{
"name": "bench_type_method_nested",
"value": 360,
"range": "± 4",
"unit": "ns/iter"
},
{
"name": "bench_type_method_with_params",
"value": 396,
"range": "± 10",
"unit": "ns/iter"
},
{
"name": "bench_iterations_1000",
"value": 159208,
"range": "± 2672",
"unit": "ns/iter"
},
{
"name": "bench_iterations_array",
"value": 279715,
"range": "± 7796",
"unit": "ns/iter"
},
{
"name": "bench_iterations_blob",
"value": 266808,
"range": "± 3483",
"unit": "ns/iter"
},
{
"name": "bench_iterations_fibonacci",
"value": 11395969,
"range": "± 46305",
"unit": "ns/iter"
},
{
"name": "bench_parse_array",
"value": 2003,
"range": "± 79",
"unit": "ns/iter"
},
{
"name": "bench_parse_full",
"value": 8398,
"range": "± 125",
"unit": "ns/iter"
},
{
"name": "bench_parse_map",
"value": 3195,
"range": "± 32",
"unit": "ns/iter"
},
{
"name": "bench_parse_optimize_full",
"value": 11060,
"range": "± 137",
"unit": "ns/iter"
},
{
"name": "bench_parse_optimize_simple",
"value": 9942,
"range": "± 437",
"unit": "ns/iter"
},
{
"name": "bench_parse_primes",
"value": 23251,
"range": "± 242",
"unit": "ns/iter"
},
{
"name": "bench_parse_simple",
"value": 1846,
"range": "± 46",
"unit": "ns/iter"
},
{
"name": "bench_parse_single",
"value": 305,
"range": "± 5",
"unit": "ns/iter"
},
{
"name": "bench_eval_primes",
"value": 1055054,
"range": "± 13457",
"unit": "ns/iter"
}
]
}
]
}
Expand Down

0 comments on commit 5395c39

Please sign in to comment.