-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve rust bench to exclude drop time
- Loading branch information
Daulet Zhanguzin
committed
Jul 10, 2024
1 parent
14835c0
commit fce4681
Showing
3 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
run with `cargo bench` | ||
|
||
ecode_n_times time: [3.9812 µs 3.9874 µs 3.9939 µs] | ||
change: [-0.4103% -0.1338% +0.1275%] (p = 0.33 > 0.05) | ||
No change in performance detected. | ||
Found 7 outliers among 100 measurements (7.00%) | ||
7 (7.00%) high mild | ||
decode_n_times time: [3.9349 µs 3.9588 µs 3.9846 µs] | ||
change: [-1.6315% -1.2605% -0.8858%] (p = 0.00 < 0.05) | ||
Change within noise threshold. | ||
Found 10 outliers among 100 measurements (10.00%) | ||
6 (6.00%) high mild | ||
4 (4.00%) high severe | ||
|
||
decode_n_tokens time: [651.72 ns 661.73 ns 675.78 ns] | ||
change: [+0.3504% +2.0016% +3.5507%] (p = 0.01 < 0.05) | ||
decode_n_tokens time: [628.40 ns 630.04 ns 632.03 ns] | ||
change: [-3.6926% -2.1495% -0.5598%] (p = 0.01 < 0.05) | ||
Change within noise threshold. | ||
Found 7 outliers among 100 measurements (7.00%) | ||
Found 4 outliers among 100 measurements (4.00%) | ||
2 (2.00%) high mild | ||
5 (5.00%) high severe | ||
2 (2.00%) high severe |