node/benchmark/util
Joyee Cheung 044021d341
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-07 22:45:40 +01:00
..
format.js benchmark: add trailing commas in benchmark/util 2023-02-03 11:42:25 +01:00
inspect-array.js benchmark: add trailing commas in benchmark/util 2023-02-03 11:42:25 +01:00
inspect-proxy.js benchmark: add trailing commas in benchmark/util 2023-02-03 11:42:25 +01:00
inspect.js benchmark: add trailing commas in benchmark/util 2023-02-03 11:42:25 +01:00
normalize-encoding.js benchmark: add trailing commas in benchmark/util 2023-02-03 11:42:25 +01:00
priority-queue.js benchmark: add trailing commas in benchmark/util 2023-02-03 11:42:25 +01:00
splice-one.js
text-decoder.js benchmark: add trailing commas in benchmark/util 2023-02-03 11:42:25 +01:00
text-encoder.js benchmark: stablize encode benchmark 2023-03-07 22:45:40 +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-03 11:42:25 +01:00