node/benchmark/util
Joyee Cheung 24d3fcf415
benchmark: stablize encode benchmark
- Increase the number of iteration to 1e6 to reduce flakes. 1e4
  can introduce flakes even when comparing the main branch
  against itself
- Replace the 1024 * 32 length test with 1024 * 8 since it would
  otherwise take too long to complete. Remove the 16 length test
  since it's not too different from 32.
- Check the results of the encoding methods at the end.

PR-URL: https://github.com/nodejs/node/pull/46658
Reviewed-By: Darshan Sen <raisinten@gmail.com>
2023-11-10 15:23:32 +01:00
..
format.js benchmark: add trailing commas in benchmark/util 2023-04-02 21:37:50 -04:00
inspect-array.js benchmark: add trailing commas in benchmark/util 2023-04-02 21:37:50 -04:00
inspect-proxy.js benchmark: add trailing commas in benchmark/util 2023-04-02 21:37:50 -04:00
inspect.js benchmark: add trailing commas in benchmark/util 2023-04-02 21:37:50 -04:00
normalize-encoding.js benchmark: add trailing commas in benchmark/util 2023-04-02 21:37:50 -04:00
priority-queue.js benchmark: add trailing commas in benchmark/util 2023-04-02 21:37:50 -04:00
splice-one.js
text-decoder.js benchmark: add trailing commas in benchmark/util 2023-04-02 21:37:50 -04:00
text-encoder.js benchmark: stablize encode benchmark 2023-11-10 15:23:32 +01:00
to-usv-string.js
type-check.js benchmark: add trailing commas in benchmark/util 2023-04-02 21:37:50 -04:00