Skip to content

benchmark: use 'yes' instead of echo in a loop

Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

benchmark

Description of change

This changes child-process-exec-stdout benchmark to use yes instead of echo in a while loop. This makes this benchmark consistent withchild-process-read which already uses yes and allows this benchmark to be executed on Windows.

/cc @nodejs/benchmarking

Merge request reports

Loading