benchmark: fix calibrate-n option handling · nodejs/node@d7266cd · GitHub
Skip to content

Commit d7266cd

Browse files
luanmunizaduh95
authored andcommitted
benchmark: fix calibrate-n option handling
Fix broken parsing for --cv-threshold and --max-increases so the value after the equals sign is used. Use the configured CV threshold when checking overall stability and report the configured thresholds in calibrate-n output. Also handle invalid numeric values for --runs and --cv-threshold consistently with the other numeric options. Signed-off-by: Luan Muniz <luan@luanmuniz.com.br> PR-URL: #64146 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
1 parent 2e64293 commit d7266cd

1 file changed

Lines changed: 32 additions & 21 deletions

File tree

benchmark/calibrate-n.js

Lines changed: 32 additions & 21 deletions

0 commit comments

Comments
 (0)