Fix doc-tests. #1531
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: 338,489.78 ns/iter (+/- 18,262.82)
test bench_engine_new_raw ... bench: 31.12 ns/iter (+/- 1.83)
test bench_engine_new_raw_core ... bench: 89.79 ns/iter (+/- 7.30)
test bench_engine_register_fn ... bench: 501.28 ns/iter (+/- 23.35)
test result: ok. 0 passed; 0 failed; 0 ignored; 4 measured; 0 filtered out; finished in 3.89s
running 5 tests
test bench_eval_array_large_get ... bench: 882.12 ns/iter (+/- 59.81)
test bench_eval_array_large_set ... bench: 954.88 ns/iter (+/- 80.84)
test bench_eval_array_loop ... bench: 4,248,563.45 ns/iter (+/- 743,214.15)
test bench_eval_array_small_get ... bench: 372.42 ns/iter (+/- 33.05)
test bench_eval_array_small_set ... bench: 389.06 ns/iter (+/- 19.29)
test result: ok. 0 passed; 0 failed; 0 ignored; 5 measured; 0 filtered out; finished in 14.46s
running 13 tests
test bench_eval_call ... bench: 9,339.94 ns/iter (+/- 173.03)
test bench_eval_call_expression ... bench: 7,671.17 ns/iter (+/- 406.70)
test bench_eval_deeply_nested ... bench: 9,854.49 ns/iter (+/- 502.52)
test bench_eval_expression_number_literal ... bench: 185.53 ns/iter (+/- 16.90)
test bench_eval_expression_number_operators ... bench: 212.84 ns/iter (+/- 19.62)
test bench_eval_expression_optimized_full ... bench: 105.39 ns/iter (+/- 8.84)
test bench_eval_expression_optimized_simple ... bench: 106.02 ns/iter (+/- 9.67)
test bench_eval_expression_single ... bench: 104.08 ns/iter (+/- 9.72)
test bench_eval_loop_number ... bench: 965,770.80 ns/iter (+/- 36,295.46)
test bench_eval_loop_strings_build ... bench: 1,750,386.80 ns/iter (+/- 140,146.11)
test bench_eval_loop_strings_no_build ... bench: 1,444,542.80 ns/iter (+/- 94,313.49)
test bench_eval_nested_if ... bench: 9,688.79 ns/iter (+/- 695.08)
test bench_eval_switch ... bench: 4,093.62 ns/iter (+/- 365.94)
test result: ok. 0 passed; 0 failed; 0 ignored; 13 measured; 0 filtered out; finished in 15.15s
running 4 tests
test bench_eval_map_large_get ... bench: 1,199.28 ns/iter (+/- 102.23)
test bench_eval_map_large_set ... bench: 1,234.52 ns/iter (+/- 105.50)
test bench_eval_map_small_get ... bench: 279.11 ns/iter (+/- 25.14)
test bench_eval_map_small_set ... bench: 316.83 ns/iter (+/- 27.75)
test result: ok. 0 passed; 0 failed; 0 ignored; 4 measured; 0 filtered out; finished in 2.87s
running 2 tests
test bench_eval_function_call ... bench: 647.68 ns/iter (+/- 37.82)
test bench_eval_module ... bench: 604.52 ns/iter (+/- 42.34)
test result: ok. 0 passed; 0 failed; 0 ignored; 2 measured; 0 filtered out; finished in 4.61s
running 4 tests
test bench_eval_scope_complex ... bench: 221.96 ns/iter (+/- 17.82)
test bench_eval_scope_longer ... bench: 306.38 ns/iter (+/- 22.85)
test bench_eval_scope_multiple ... bench: 167.28 ns/iter (+/- 9.77)
test bench_eval_scope_single ... bench: 175.63 ns/iter (+/- 18.26)
test result: ok. 0 passed; 0 failed; 0 ignored; 4 measured; 0 filtered out; finished in 8.54s
running 4 tests
test bench_type_field ... bench: 192.08 ns/iter (+/- 14.42)
test bench_type_method ... bench: 313.90 ns/iter (+/- 26.91)
test bench_type_method_nested ... bench: 320.18 ns/iter (+/- 24.64)
test bench_type_method_
|
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/
|