-
Notifications
You must be signed in to change notification settings - Fork 174
Open
Labels
questionFurther information is requestedFurther information is requested
Description
A lot of rust projects use Criterion which overrides cargo bench
, that may output something different, would this project work with that?
What does the output need to look like?
For e.g im using
https://github.com/jasonwilliams/criterion-compare-action
which is a wrapper around https://github.com/bheisler/criterion.rs
This is the output from criterion on https://github.com/jasonwilliams/boa:
Create Realm time: [389.43 us 391.46 us 393.64 us]
change: [+2.9053% +3.3116% +3.7569%] (p = 0.00 < 0.05)
Performance has regressed.
Found 6 outliers among 100 measurements (6.00%)
4 (4.00%) high mild
2 (2.00%) high severe
Symbol Creation time: [476.63 us 478.43 us 480.62 us]
change: [-8.0982% -7.3473% -6.5933%] (p = 0.00 < 0.05)
Performance has improved.
Found 5 outliers among 100 measurements (5.00%)
2 (2.00%) high mild
3 (3.00%) high severe
Running target\release\deps\fib-b7cfe35d42f9c87b.exe
Benchmarking fibonacci (Execution): Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 21.1s or reduce sample count to 30
fibonacci (Execution) time: [4.0417 ms 4.0513 ms 4.0612 ms]
change: [-3.1531% -2.4175% -1.7071%] (p = 0.00 < 0.05)
Performance has improved.
Found 5 outliers among 100 measurements (5.00%)
2 (2.00%) high mild
3 (3.00%) high severe
Running target\release\deps\parser-ab35171b3898e94f.exe
Expression (Parser) time: [15.656 us 15.673 us 15.693 us]
change: [-0.7893% -0.5205% -0.2658%] (p = 0.00 < 0.05)
Change within noise threshold.
Running target\release\deps\string-bdac66e3ac549711.exe
Hello World (Execution) time: [391.07 us 394.24 us 397.40 us]
change: [-3.0040% -2.2291% -1.5351%] (p = 0.00 < 0.05)
Performance has improved.
Found 13 outliers among 100 measurements (13.00%)
1 (1.00%) high mild
12 (12.00%) high severe
Hello World (Lexer) time: [1.9896 us 1.9961 us 2.0032 us]
change: [-3.2960% -2.6175% -2.0389%] (p = 0.00 < 0.05)
Performance has improved.
Found 3 outliers among 100 measurements (3.00%)
1 (1.00%) low mild
1 (1.00%) high mild
1 (1.00%) high severe
Hello World (Parser) time: [3.8064 us 3.8102 us 3.8141 us]
change: [-1.0105% -0.2551% +0.3856%] (p = 0.49 > 0.05)
No change in performance detected.
Found 8 outliers among 100 measurements (8.00%)
4 (4.00%) low severe
1 (1.00%) low mild
1 (1.00%) high mild
2 (2.00%) high severe
https://bheisler.github.io/criterion.rs/book/user_guide/command_line_output.html
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested