sharkdp / hyperfine

A command-line benchmarking tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`-N` makes me can't pass options for command which'll be benchmarked.

luceat-lux-vestra opened this issue · comments

SUPERCILEX/fuc#29 (comment)

On windows.

with -N, It doesn't work.

hyperfine --warmup 3 -N --show-output --prepare "ftzz g -n 100 -b 100 ""D:/tmp/ftzz""" "rmdir /S /Q ""D:/tmp"""

without -N, It works fine.

hyperfine --warmup 3 --show-output --prepare "ftzz g -n 100 -b 100 ""D:/tmp/ftzz""" "rmdir /S /Q ""D:/tmp"""

Thanks.

This looks like some kind of quoting error. Unfortunately, I can't tell what exactly hyperfine get's as a list of arguments, because you didn't specify which shell this is. Note that the argument parsing is limited when you are using -N.