node/benchmark/util
Joyee Cheung 0617c5e81b
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-03-14 07:54:08 +01:00
..
format.js benchmark: add trailing commas in benchmark/util 2023-02-18 16:01:32 -05:00
inspect-array.js benchmark: add trailing commas in benchmark/util 2023-02-18 16:01:32 -05:00
inspect-proxy.js benchmark: add trailing commas in benchmark/util 2023-02-18 16:01:32 -05:00
inspect.js benchmark: add trailing commas in benchmark/util 2023-02-18 16:01:32 -05:00
normalize-encoding.js benchmark: add trailing commas in benchmark/util 2023-02-18 16:01:32 -05:00
priority-queue.js benchmark: add trailing commas in benchmark/util 2023-02-18 16:01:32 -05:00
splice-one.js
text-decoder.js benchmark: add trailing commas in benchmark/util 2023-02-18 16:01:32 -05:00
text-encoder.js benchmark: stablize encode benchmark 2023-03-14 07:54:08 +01:00
to-usv-string.js benchmark: add util.toUSVString()'s benchmark 2021-09-27 17:24:19 +08:00
type-check.js benchmark: add trailing commas in benchmark/util 2023-02-18 16:01:32 -05:00