Details
Steps to reproduce
- follow the instrucution to setup xterm.js repo
- cd into
addons/xterm-addon-serialize
- run commands
yarn benchmark
- gives nothing
- It looks don't have test file path included.
yarn benchmark-basebline
- Error: Cannot find module '/PROJECT_ROOT/addons/xterm-addon-serialize/out-benchmark/addons/xterm-addon-serialize/benchmark/*benchmark.js'
- The addon path part duped twice for some reason
yarn benchmark-eval
- Error: Cannot find module '/PROJECT_ROOT/addons/xterm-addon-serialize/out-benchmark/addons/xterm-addon-serialize/benchmark/*benchmark.js'
- The addon path part duped twice for some reason
BTW, the test seems use /dev/random as random source, which is extremely slow in most of case, it is probably better change it to /dev/urandom instead.
Details
Steps to reproduce
addons/xterm-addon-serializeyarn benchmarkyarn benchmark-baseblineyarn benchmark-evalBTW, the test seems use
/dev/randomas random source, which is extremely slow in most of case, it is probably better change it to/dev/urandominstead.