Allow closures in custom syntax. #1523
Annotations
1 error and 2 warnings
Run Rust benchmark
No benchmark result was found in /home/runner/work/rhai/rhai/output.txt. Benchmark output was '
running 1 test
test tests::check_struct_sizes ... ignored
test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
running 4 tests
test bench_engine_new ... bench: 362,834.50 ns/iter (+/- 13,686.45)
test bench_engine_new_raw ... bench: 34.36 ns/iter (+/- 0.60)
test bench_engine_new_raw_core ... bench: 98.93 ns/iter (+/- 1.11)
test bench_engine_register_fn ... bench: 596.08 ns/iter (+/- 18.02)
test result: ok. 0 passed; 0 failed; 0 ignored; 4 measured; 0 filtered out; finished in 3.93s
running 5 tests
test bench_eval_array_large_get ... bench: 998.07 ns/iter (+/- 26.72)
test bench_eval_array_large_set ... bench: 1,025.69 ns/iter (+/- 28.88)
test bench_eval_array_loop ... bench: 4,372,576.00 ns/iter (+/- 35,519.26)
test bench_eval_array_small_get ... bench: 401.64 ns/iter (+/- 4.46)
test bench_eval_array_small_set ... bench: 427.27 ns/iter (+/- 6.66)
test result: ok. 0 passed; 0 failed; 0 ignored; 5 measured; 0 filtered out; finished in 5.12s
running 13 tests
test bench_eval_call ... bench: 10,042.11 ns/iter (+/- 98.53)
test bench_eval_call_expression ... bench: 8,473.86 ns/iter (+/- 308.70)
test bench_eval_deeply_nested ... bench: 10,694.34 ns/iter (+/- 143.43)
test bench_eval_expression_number_literal ... bench: 133.17 ns/iter (+/- 1.69)
test bench_eval_expression_number_operators ... bench: 191.78 ns/iter (+/- 3.22)
test bench_eval_expression_optimized_full ... bench: 85.93 ns/iter (+/- 1.05)
test bench_eval_expression_optimized_simple ... bench: 86.06 ns/iter (+/- 0.83)
test bench_eval_expression_single ... bench: 85.99 ns/iter (+/- 1.04)
test bench_eval_loop_number ... bench: 1,071,617.80 ns/iter (+/- 9,893.47)
test bench_eval_loop_strings_build ... bench: 1,864,157.20 ns/iter (+/- 24,825.79)
test bench_eval_loop_strings_no_build ... bench: 1,575,604.90 ns/iter (+/- 12,977.52)
test bench_eval_nested_if ... bench: 10,280.01 ns/iter (+/- 108.53)
test bench_eval_switch ... bench: 4,508.42 ns/iter (+/- 55.96)
test result: ok. 0 passed; 0 failed; 0 ignored; 13 measured; 0 filtered out; finished in 3.47s
running 4 tests
test bench_eval_map_large_get ... bench: 1,250.83 ns/iter (+/- 15.05)
test bench_eval_map_large_set ... bench: 1,298.16 ns/iter (+/- 14.57)
test bench_eval_map_small_get ... bench: 325.55 ns/iter (+/- 9.16)
test bench_eval_map_small_set ... bench: 354.09 ns/iter (+/- 5.29)
test result: ok. 0 passed; 0 failed; 0 ignored; 4 measured; 0 filtered out; finished in 14.78s
running 2 tests
test bench_eval_function_call ... bench: 711.53 ns/iter (+/- 43.67)
test bench_eval_module ... bench: 689.67 ns/iter (+/- 12.56)
test result: ok. 0 passed; 0 failed; 0 ignored; 2 measured; 0 filtered out; finished in 1.76s
running 4 tests
test bench_eval_scope_complex ... bench: 236.66 ns/iter (+/- 4.13)
test bench_eval_scope_longer ... bench: 297.01 ns/iter (+/- 7.49)
test bench_eval_scope_multiple ... bench: 179.10 ns/iter (+/- 2.12)
test bench_eval_scope_single ... bench: 178.97 ns/iter (+/- 5.22)
test result: ok. 0 passed; 0 failed; 0 ignored; 4 measured; 0 filtered out; finished in 6.11s
running 4 tests
test bench_type_field ... bench: 210.14 ns/iter (+/- 3.08)
test bench_type_method ... bench: 329.60 ns/iter (+/- 10.06)
test bench_type_method_nested ... bench: 346.56 ns/iter (+/- 3.64)
test bench_type_method_with_params ... ben
|
Run Rust benchmark
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run Rust benchmark
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|