I would like to be able to specify a set of command line arguments that get applied to all programs to be benchmarked, rather than have to include them in each executable argument. For example at the moment I tend to run benchmarks like this
The same argv splitting that is currently done should be preserved, and then arg1, arg2, arg3, arg4 would be appended to the argv of each command, this would allow to still supply arguments to a specific command like this:
I would like to be able to specify a set of command line arguments that get applied to all programs to be benchmarked, rather than have to include them in each executable argument. For example at the moment I tend to run benchmarks like this
or, if I remember the precise way my shell does expansion I can do this:
(making sure there is no space between
prog
and the first"
).I propose there is a flag like
--arg
to accumulate components of argv allowing the above to be written as this:The same argv splitting that is currently done should be preserved, and then
arg1
,arg2
,arg3
,arg4
would be appended to the argv of each command, this would allow to still supply arguments to a specific command like this:Alternatively (or in addition?), there could be an
--args
flag to supply whitespace separated arguments: