Skip to content

Instantly share code, notes, and snippets.

@zamazan4ik
Created September 17, 2024 15:56
Show Gist options
  • Save zamazan4ik/aff245bf2e85ddbc70bfe6e3d9de0edf to your computer and use it in GitHub Desktop.
Save zamazan4ik/aff245bf2e85ddbc70bfe6e3d9de0edf to your computer and use it in GitHub Desktop.
grex: PGO optimized compared to Release
Running benches/benchmark.rs (target/x86_64-unknown-linux-gnu/release/deps/benchmark-53bb399bc1c764dc)
Benchmarking grex with default settings
Benchmarking grex with default settings: Warming up for 3.0000 s
Benchmarking grex with default settings: Collecting 100 samples in estimated 6.7029 s (300 iterations)
Benchmarking grex with default settings: Analyzing
grex with default settings
time: [22.315 ms 22.323 ms 22.334 ms]
change: [-19.635% -19.575% -19.515%] (p = 0.00 < 0.05)
Performance has improved.
Found 11 outliers among 100 measurements (11.00%)
8 (8.00%) high mild
3 (3.00%) high severe
Benchmarking grex with conversion of repetitions
Benchmarking grex with conversion of repetitions: Warming up for 3.0000 s
Benchmarking grex with conversion of repetitions: Collecting 100 samples in estimated 5.1201 s (200 iterations)
Benchmarking grex with conversion of repetitions: Analyzing
grex with conversion of repetitions
time: [25.581 ms 25.618 ms 25.681 ms]
change: [-20.186% -20.056% -19.854%] (p = 0.00 < 0.05)
Performance has improved.
Found 9 outliers among 100 measurements (9.00%)
7 (7.00%) high mild
2 (2.00%) high severe
Benchmarking grex with conversion of digits
Benchmarking grex with conversion of digits: Warming up for 3.0000 s
Benchmarking grex with conversion of digits: Collecting 100 samples in estimated 6.7680 s (300 iterations)
Benchmarking grex with conversion of digits: Analyzing
grex with conversion of digits
time: [22.563 ms 22.566 ms 22.570 ms]
change: [-19.478% -19.422% -19.369%] (p = 0.00 < 0.05)
Performance has improved.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mild
Benchmarking grex with conversion of non-digits
Benchmarking grex with conversion of non-digits: Warming up for 3.0000 s
Benchmarking grex with conversion of non-digits: Collecting 100 samples in estimated 5.6332 s (15k iterations)
Benchmarking grex with conversion of non-digits: Analyzing
grex with conversion of non-digits
time: [369.11 µs 369.22 µs 369.34 µs]
change: [-8.5300% -8.4133% -8.3363%] (p = 0.00 < 0.05)
Performance has improved.
Found 5 outliers among 100 measurements (5.00%)
4 (4.00%) high mild
1 (1.00%) high severe
Benchmarking grex with conversion of words
Benchmarking grex with conversion of words: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 7.7s, enable flat sampling, or reduce sample count to 50.
Benchmarking grex with conversion of words: Collecting 100 samples in estimated 7.6922 s (5050 iterations)
Benchmarking grex with conversion of words: Analyzing
grex with conversion of words
time: [1.5260 ms 1.5263 ms 1.5267 ms]
change: [-3.9104% -3.8469% -3.7914%] (p = 0.00 < 0.05)
Performance has improved.
Found 9 outliers among 100 measurements (9.00%)
2 (2.00%) low mild
6 (6.00%) high mild
1 (1.00%) high severe
Benchmarking grex with conversion of non-words
Benchmarking grex with conversion of non-words: Warming up for 3.0000 s
Benchmarking grex with conversion of non-words: Collecting 100 samples in estimated 6.4787 s (300 iterations)
Benchmarking grex with conversion of non-words: Analyzing
grex with conversion of non-words
time: [21.600 ms 21.605 ms 21.609 ms]
change: [-19.244% -19.197% -19.151%] (p = 0.00 < 0.05)
Performance has improved.
Found 6 outliers among 100 measurements (6.00%)
4 (4.00%) high mild
2 (2.00%) high severe
Benchmarking grex with conversion of whitespace
Benchmarking grex with conversion of whitespace: Warming up for 3.0000 s
Benchmarking grex with conversion of whitespace: Collecting 100 samples in estimated 6.7208 s (300 iterations)
Benchmarking grex with conversion of whitespace: Analyzing
grex with conversion of whitespace
time: [22.420 ms 22.424 ms 22.429 ms]
change: [-19.900% -19.721% -19.610%] (p = 0.00 < 0.05)
Performance has improved.
Found 3 outliers among 100 measurements (3.00%)
2 (2.00%) high mild
1 (1.00%) high severe
Benchmarking grex with conversion of non-whitespace
Benchmarking grex with conversion of non-whitespace: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 5.5s, enable flat sampling, or reduce sample count to 60.
Benchmarking grex with conversion of non-whitespace: Collecting 100 samples in estimated 5.5324 s (5050 iterations)
Benchmarking grex with conversion of non-whitespace: Analyzing
grex with conversion of non-whitespace
time: [1.0968 ms 1.0971 ms 1.0975 ms]
change: [-3.9924% -3.8925% -3.8184%] (p = 0.00 < 0.05)
Performance has improved.
Found 7 outliers among 100 measurements (7.00%)
5 (5.00%) high mild
2 (2.00%) high severe
Benchmarking grex with case-insensitive matching
Benchmarking grex with case-insensitive matching: Warming up for 3.0000 s
Benchmarking grex with case-insensitive matching: Collecting 100 samples in estimated 5.0355 s (300 iterations)
Benchmarking grex with case-insensitive matching: Analyzing
grex with case-insensitive matching
time: [16.786 ms 16.789 ms 16.793 ms]
change: [-15.613% -15.569% -15.524%] (p = 0.00 < 0.05)
Performance has improved.
Found 8 outliers among 100 measurements (8.00%)
6 (6.00%) high mild
2 (2.00%) high severe
Benchmarking grex with verbose mode
Benchmarking grex with verbose mode: Warming up for 3.0000 s
Benchmarking grex with verbose mode: Collecting 100 samples in estimated 6.7571 s (300 iterations)
Benchmarking grex with verbose mode: Analyzing
grex with verbose mode time: [22.520 ms 22.524 ms 22.529 ms]
change: [-19.744% -19.690% -19.636%] (p = 0.00 < 0.05)
Performance has improved.
Found 9 outliers among 100 measurements (9.00%)
7 (7.00%) high mild
2 (2.00%) high severe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment