You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use --measurement-time criterion it works as expected, but has an exit status: 101 and echo $? returns 1. But without itecho $? returns 0. I've used time so with you can see that "measurement-time" increased. See below for a little more info.
If you interrupt the "interactive output" you can see "estimated 10.000 s (195M iterations)":
$ time cargo criterion -- --measurement-time=10
Finished bench [optimized] target(s) in 0.03s
Benchmarking sm_enum_msgs/sm_enum_msgs: Collecting 100 samples in estimated 10.000 s (195M iterations)^C
real 0m5.631s
user 0m0.177s
sys 0m0.051s
Where as without --measurement-time we see "estimated 5.0001 s (97M iterations)":
$ time cargo criterion
Finished bench [optimized] target(s) in 0.02s
Benchmarking sm_enum_msgs/sm_enum_msgs: Collecting 100 samples in estimated 5.0001 s (97M iterations)^C
real 0m4.583s
user 0m0.152s
sys 0m0.058s
The text was updated successfully, but these errors were encountered:
When I use
--measurement-time
criterion it works as expected, but has anexit status: 101
andecho $?
returns 1. But without itecho $?
returns 0. I've usedtime
so with you can see that "measurement-time" increased. See below for a little more info.If you interrupt the "interactive output" you can see "estimated 10.000 s (195M iterations)":
Where as without
--measurement-time
we see "estimated 5.0001 s (97M iterations)":The text was updated successfully, but these errors were encountered: