You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/contributing/writing-and-running-benchmarks.md
+14-16Lines changed: 14 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -742,26 +742,24 @@ only a single configuration per benchmark executes.
742
742
While this dramatically reduces execution time, it provides limited coverage
743
743
and cannot guarantee that all configurations function properly.
744
744
745
-
This PR introduce the usage of new env `NODE_RUN_ALL_BENCH_TESTS`, that can be set to all becnhmark configs run in tests to try coverage more scenarios when benchmarks can fails.
746
-
this PR as well document how to write benchmark tests, and give more details about the envs
745
+
This PR introduces the usage of a new environment variable `NODE_RUN_ALL_BENCH_TESTS`, which can be set to run all benchmark configurations in tests to cover more scenarios where benchmarks might fail.
746
+
This PR also documents how to write benchmark tests and provides more details about the environment variables:
747
747
748
-
- NODE_RUN_ALL_BENCH_TESTS
749
-
- NODEJS_BENCHMARK_ZERO_ALLOWED
748
+
* NODE_RUN_ALL_BENCH_TESTS
749
+
* NODEJS_BENCHMARK_ZERO_ALLOWED
750
750
751
-
Some benchmarks tests was introduced as well for benchmark groups
751
+
Benchmark tests were added for the following groups:
752
752
753
-
- abort_controller
754
-
- error
755
-
- https
756
-
- perf_hooks
757
-
- permission
758
-
- sqlite
759
-
- test_runner
760
-
- websocket
753
+
* abort_controller
754
+
* error
755
+
* https
756
+
* perf_hooks
757
+
* permission
758
+
* sqlite
759
+
* test_runner
760
+
* websocket
761
761
762
-
and some incosistent test files was renamed
762
+
Additionally, some inconsistent test files were renamed:
0 commit comments