Remove unnecessary fields. #1526
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: 366,528.30 ns/iter (+/- 14,066.99)
test bench_engine_new_raw ... bench: 31.57 ns/iter (+/- 0.46)
test bench_engine_new_raw_core ... bench: 94.02 ns/iter (+/- 1.42)
test bench_engine_register_fn ... bench: 545.65 ns/iter (+/- 11.51)
test result: ok. 0 passed; 0 failed; 0 ignored; 4 measured; 0 filtered out; finished in 2.39s
running 5 tests
test bench_eval_array_large_get ... bench: 954.29 ns/iter (+/- 30.06)
test bench_eval_array_large_set ... bench: 951.35 ns/iter (+/- 12.95)
test bench_eval_array_loop ... bench: 4,529,310.50 ns/iter (+/- 87,530.03)
test bench_eval_array_small_get ... bench: 385.00 ns/iter (+/- 5.77)
test bench_eval_array_small_set ... bench: 399.40 ns/iter (+/- 4.05)
test result: ok. 0 passed; 0 failed; 0 ignored; 5 measured; 0 filtered out; finished in 3.59s
running 13 tests
test bench_eval_call ... bench: 9,891.10 ns/iter (+/- 188.15)
test bench_eval_call_expression ... bench: 8,256.62 ns/iter (+/- 68.47)
test bench_eval_deeply_nested ... bench: 10,554.40 ns/iter (+/- 187.71)
test bench_eval_expression_number_literal ... bench: 135.87 ns/iter (+/- 1.98)
test bench_eval_expression_number_operators ... bench: 193.78 ns/iter (+/- 2.84)
test bench_eval_expression_optimized_full ... bench: 87.37 ns/iter (+/- 1.56)
test bench_eval_expression_optimized_simple ... bench: 87.33 ns/iter (+/- 0.73)
test bench_eval_expression_single ... bench: 86.76 ns/iter (+/- 1.35)
test bench_eval_loop_number ... bench: 1,069,741.70 ns/iter (+/- 7,602.18)
test bench_eval_loop_strings_build ... bench: 1,858,060.90 ns/iter (+/- 20,982.70)
test bench_eval_loop_strings_no_build ... bench: 1,574,317.90 ns/iter (+/- 11,656.47)
test bench_eval_nested_if ... bench: 10,822.29 ns/iter (+/- 127.55)
test bench_eval_switch ... bench: 4,639.78 ns/iter (+/- 75.66)
test result: ok. 0 passed; 0 failed; 0 ignored; 13 measured; 0 filtered out; finished in 3.37s
running 4 tests
test bench_eval_map_large_get ... bench: 1,352.03 ns/iter (+/- 28.09)
test bench_eval_map_large_set ... bench: 1,395.09 ns/iter (+/- 73.22)
test bench_eval_map_small_get ... bench: 343.83 ns/iter (+/- 9.34)
test bench_eval_map_small_set ... bench: 403.22 ns/iter (+/- 11.05)
test result: ok. 0 passed; 0 failed; 0 ignored; 4 measured; 0 filtered out; finished in 8.21s
running 2 tests
test bench_eval_function_call ... bench: 713.31 ns/iter (+/- 9.78)
test bench_eval_module ... bench: 694.00 ns/iter (+/- 7.75)
test result: ok. 0 passed; 0 failed; 0 ignored; 2 measured; 0 filtered out; finished in 0.57s
running 4 tests
test bench_eval_scope_complex ... bench: 230.68 ns/iter (+/- 13.81)
test bench_eval_scope_longer ... bench: 293.78 ns/iter (+/- 5.87)
test bench_eval_scope_multiple ... bench: 180.34 ns/iter (+/- 8.80)
test bench_eval_scope_single ... bench: 180.33 ns/iter (+/- 3.66)
test result: ok. 0 passed; 0 failed; 0 ignored; 4 measured; 0 filtered out; finished in 6.19s
running 4 tests
test bench_type_field ... bench: 214.90 ns/iter (+/- 18.55)
test bench_type_method ... bench: 325.89 ns/iter (+/- 7.52)
test bench_type_method_nested ... bench: 357.54 ns/iter (+/- 12.49)
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/
|