Skip to content

Instantly share code, notes, and snippets.

@zamazan4ik
Created October 12, 2024 19:06
Show Gist options
  • Save zamazan4ik/1a893ee4cc24c6ce9f9b61af0ca4a513 to your computer and use it in GitHub Desktop.
Save zamazan4ik/1a893ee4cc24c6ce9f9b61af0ca4a513 to your computer and use it in GitHub Desktop.
cosmic-text: PGO optimized compared to Release
Running benches/layout.rs (target/x86_64-unknown-linux-gnu/release/deps/layout-999027abf63f3284)
Benchmarking Wrap(None, Simple)/small amount of text
Benchmarking Wrap(None, Simple)/small amount of text: Warming up for 3.0000 s
Benchmarking Wrap(None, Simple)/small amount of text: Collecting 100 samples in estimated 5.0115 s (1.4M iterations)
Benchmarking Wrap(None, Simple)/small amount of text: Analyzing
Wrap(None, Simple)/small amount of text
time: [3.4443 µs 3.4514 µs 3.4581 µs]
change: [-12.468% -12.216% -12.008%] (p = 0.00 < 0.05)
Performance has improved.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mild
Benchmarking Wrap(None, Simple)/large amount of text
Benchmarking Wrap(None, Simple)/large amount of text: Warming up for 3.0000 s
Benchmarking Wrap(None, Simple)/large amount of text: Collecting 100 samples in estimated 5.1017 s (1300 iterations)
Benchmarking Wrap(None, Simple)/large amount of text: Analyzing
Wrap(None, Simple)/large amount of text
time: [3.8944 ms 3.8992 ms 3.9041 ms]
change: [-10.840% -10.594% -10.413%] (p = 0.00 < 0.05)
Performance has improved.
Benchmarking Wrap(None, Simple)/arabic text
Benchmarking Wrap(None, Simple)/arabic text: Warming up for 3.0000 s
Benchmarking Wrap(None, Simple)/arabic text: Collecting 100 samples in estimated 5.3693 s (35k iterations)
Benchmarking Wrap(None, Simple)/arabic text: Analyzing
Wrap(None, Simple)/arabic text
time: [151.39 µs 151.73 µs 152.24 µs]
change: [-11.405% -11.275% -11.108%] (p = 0.00 < 0.05)
Performance has improved.
Found 18 outliers among 100 measurements (18.00%)
15 (15.00%) high mild
3 (3.00%) high severe
Benchmarking Wrap(None, Simple)/hebrew text
Benchmarking Wrap(None, Simple)/hebrew text: Warming up for 3.0000 s
Benchmarking Wrap(None, Simple)/hebrew text: Collecting 10 samples in estimated 5.0028 s (27k iterations)
Benchmarking Wrap(None, Simple)/hebrew text: Analyzing
Wrap(None, Simple)/hebrew text
time: [182.44 µs 182.66 µs 183.16 µs]
change: [-11.860% -11.571% -11.264%] (p = 0.00 < 0.05)
Performance has improved.
Found 1 outliers among 10 measurements (10.00%)
1 (10.00%) high severe
Benchmarking Wrap(None, Simple)/emoji text
Benchmarking Wrap(None, Simple)/emoji text: Warming up for 3.0000 s
Benchmarking Wrap(None, Simple)/emoji text: Collecting 10 samples in estimated 10.0000 s (110 iterations)
Benchmarking Wrap(None, Simple)/emoji text: Analyzing
Wrap(None, Simple)/emoji text
time: [90.211 ms 90.475 ms 90.693 ms]
change: [-9.6906% -9.1163% -8.5946%] (p = 0.00 < 0.05)
Performance has improved.
Benchmarking Wrap(None, Advanced)/small amount of text
Benchmarking Wrap(None, Advanced)/small amount of text: Warming up for 3.0000 s
Benchmarking Wrap(None, Advanced)/small amount of text: Collecting 100 samples in estimated 5.0162 s (934k iterations)
Benchmarking Wrap(None, Advanced)/small amount of text: Analyzing
Wrap(None, Advanced)/small amount of text
time: [5.3329 µs 5.3434 µs 5.3536 µs]
change: [-22.085% -22.012% -21.930%] (p = 0.00 < 0.05)
Performance has improved.
Found 12 outliers among 100 measurements (12.00%)
2 (2.00%) high mild
10 (10.00%) high severe
Benchmarking Wrap(None, Advanced)/large amount of text
Benchmarking Wrap(None, Advanced)/large amount of text: Warming up for 3.0000 s
Benchmarking Wrap(None, Advanced)/large amount of text: Collecting 100 samples in estimated 5.0241 s (800 iterations)
Benchmarking Wrap(None, Advanced)/large amount of text: Analyzing
Wrap(None, Advanced)/large amount of text
time: [6.2055 ms 6.2117 ms 6.2184 ms]
change: [-16.091% -15.870% -15.713%] (p = 0.00 < 0.05)
Performance has improved.
Found 22 outliers among 100 measurements (22.00%)
21 (21.00%) high mild
1 (1.00%) high severe
Benchmarking Wrap(None, Advanced)/arabic text
Benchmarking Wrap(None, Advanced)/arabic text: Warming up for 3.0000 s
Benchmarking Wrap(None, Advanced)/arabic text: Collecting 100 samples in estimated 6.1481 s (10k iterations)
Benchmarking Wrap(None, Advanced)/arabic text: Analyzing
Wrap(None, Advanced)/arabic text
time: [612.08 µs 612.47 µs 612.85 µs]
change: [-12.111% -12.039% -11.967%] (p = 0.00 < 0.05)
Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
1 (1.00%) high mild
1 (1.00%) high severe
Benchmarking Wrap(None, Advanced)/hebrew text
Benchmarking Wrap(None, Advanced)/hebrew text: Warming up for 3.0000 s
Benchmarking Wrap(None, Advanced)/hebrew text: Collecting 10 samples in estimated 5.0115 s (12k iterations)
Benchmarking Wrap(None, Advanced)/hebrew text: Analyzing
Wrap(None, Advanced)/hebrew text
time: [412.96 µs 413.39 µs 413.65 µs]
change: [-15.769% -15.596% -15.403%] (p = 0.00 < 0.05)
Performance has improved.
Found 1 outliers among 10 measurements (10.00%)
1 (10.00%) high severe
Benchmarking Wrap(None, Advanced)/emoji text
Benchmarking Wrap(None, Advanced)/emoji text: Warming up for 3.0000 s
Benchmarking Wrap(None, Advanced)/emoji text: Collecting 10 samples in estimated 5.5580 s (30 iterations)
Benchmarking Wrap(None, Advanced)/emoji text: Analyzing
Wrap(None, Advanced)/emoji text
time: [184.39 ms 184.86 ms 185.43 ms]
change: [-14.384% -14.074% -13.743%] (p = 0.00 < 0.05)
Performance has improved.
Found 2 outliers among 10 measurements (20.00%)
1 (10.00%) high mild
1 (10.00%) high severe
Benchmarking Wrap(Glyph, Simple)/small amount of text
Benchmarking Wrap(Glyph, Simple)/small amount of text: Warming up for 3.0000 s
Benchmarking Wrap(Glyph, Simple)/small amount of text: Collecting 100 samples in estimated 5.0037 s (1.5M iterations)
Benchmarking Wrap(Glyph, Simple)/small amount of text: Analyzing
Wrap(Glyph, Simple)/small amount of text
time: [3.3535 µs 3.3596 µs 3.3665 µs]
change: [-14.478% -14.305% -14.143%] (p = 0.00 < 0.05)
Performance has improved.
Benchmarking Wrap(Glyph, Simple)/large amount of text
Benchmarking Wrap(Glyph, Simple)/large amount of text: Warming up for 3.0000 s
Benchmarking Wrap(Glyph, Simple)/large amount of text: Collecting 100 samples in estimated 5.3890 s (1300 iterations)
Benchmarking Wrap(Glyph, Simple)/large amount of text: Analyzing
Wrap(Glyph, Simple)/large amount of text
time: [4.1586 ms 4.1626 ms 4.1663 ms]
change: [-9.4840% -9.3820% -9.2902%] (p = 0.00 < 0.05)
Performance has improved.
Found 25 outliers among 100 measurements (25.00%)
19 (19.00%) low severe
3 (3.00%) high mild
3 (3.00%) high severe
Benchmarking Wrap(Glyph, Simple)/arabic text
Benchmarking Wrap(Glyph, Simple)/arabic text: Warming up for 3.0000 s
Benchmarking Wrap(Glyph, Simple)/arabic text: Collecting 100 samples in estimated 5.6998 s (35k iterations)
Benchmarking Wrap(Glyph, Simple)/arabic text: Analyzing
Wrap(Glyph, Simple)/arabic text
time: [160.64 µs 160.83 µs 161.04 µs]
change: [-10.844% -10.720% -10.601%] (p = 0.00 < 0.05)
Performance has improved.
Found 11 outliers among 100 measurements (11.00%)
11 (11.00%) high severe
Benchmarking Wrap(Glyph, Simple)/hebrew text
Benchmarking Wrap(Glyph, Simple)/hebrew text: Warming up for 3.0000 s
Benchmarking Wrap(Glyph, Simple)/hebrew text: Collecting 10 samples in estimated 5.0102 s (26k iterations)
Benchmarking Wrap(Glyph, Simple)/hebrew text: Analyzing
Wrap(Glyph, Simple)/hebrew text
time: [193.43 µs 194.05 µs 194.82 µs]
change: [-10.322% -9.9612% -9.6467%] (p = 0.00 < 0.05)
Performance has improved.
Found 1 outliers among 10 measurements (10.00%)
1 (10.00%) low mild
Benchmarking Wrap(Glyph, Simple)/emoji text
Benchmarking Wrap(Glyph, Simple)/emoji text: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 5.3s or enable flat sampling.
Benchmarking Wrap(Glyph, Simple)/emoji text: Collecting 10 samples in estimated 5.3320 s (55 iterations)
Benchmarking Wrap(Glyph, Simple)/emoji text: Analyzing
Wrap(Glyph, Simple)/emoji text
time: [97.145 ms 97.552 ms 97.950 ms]
change: [-9.7182% -8.8557% -8.0786%] (p = 0.00 < 0.05)
Performance has improved.
Found 1 outliers among 10 measurements (10.00%)
1 (10.00%) high mild
Benchmarking Wrap(Glyph, Advanced)/small amount of text
Benchmarking Wrap(Glyph, Advanced)/small amount of text: Warming up for 3.0000 s
Benchmarking Wrap(Glyph, Advanced)/small amount of text: Collecting 100 samples in estimated 5.0057 s (919k iterations)
Benchmarking Wrap(Glyph, Advanced)/small amount of text: Analyzing
Wrap(Glyph, Advanced)/small amount of text
time: [5.4048 µs 5.4099 µs 5.4161 µs]
change: [-20.234% -20.144% -20.050%] (p = 0.00 < 0.05)
Performance has improved.
Benchmarking Wrap(Glyph, Advanced)/large amount of text
Benchmarking Wrap(Glyph, Advanced)/large amount of text: Warming up for 3.0000 s
Benchmarking Wrap(Glyph, Advanced)/large amount of text: Collecting 100 samples in estimated 5.1907 s (800 iterations)
Benchmarking Wrap(Glyph, Advanced)/large amount of text: Analyzing
Wrap(Glyph, Advanced)/large amount of text
time: [6.4105 ms 6.4119 ms 6.4135 ms]
change: [-15.768% -15.722% -15.684%] (p = 0.00 < 0.05)
Performance has improved.
Found 8 outliers among 100 measurements (8.00%)
3 (3.00%) high mild
5 (5.00%) high severe
Benchmarking Wrap(Glyph, Advanced)/arabic text
Benchmarking Wrap(Glyph, Advanced)/arabic text: Warming up for 3.0000 s
Benchmarking Wrap(Glyph, Advanced)/arabic text: Collecting 100 samples in estimated 6.2578 s (10k iterations)
Benchmarking Wrap(Glyph, Advanced)/arabic text: Analyzing
Wrap(Glyph, Advanced)/arabic text
time: [621.71 µs 622.30 µs 623.22 µs]
change: [-12.760% -12.617% -12.420%] (p = 0.00 < 0.05)
Performance has improved.
Found 4 outliers among 100 measurements (4.00%)
2 (2.00%) high mild
2 (2.00%) high severe
Benchmarking Wrap(Glyph, Advanced)/hebrew text
Benchmarking Wrap(Glyph, Advanced)/hebrew text: Warming up for 3.0000 s
Benchmarking Wrap(Glyph, Advanced)/hebrew text: Collecting 10 samples in estimated 5.0179 s (12k iterations)
Benchmarking Wrap(Glyph, Advanced)/hebrew text: Analyzing
Wrap(Glyph, Advanced)/hebrew text
time: [427.23 µs 428.17 µs 429.14 µs]
change: [-16.388% -16.245% -16.077%] (p = 0.00 < 0.05)
Performance has improved.
Benchmarking Wrap(Glyph, Advanced)/emoji text
Benchmarking Wrap(Glyph, Advanced)/emoji text: Warming up for 3.0000 s
Benchmarking Wrap(Glyph, Advanced)/emoji text: Collecting 10 samples in estimated 5.7806 s (30 iterations)
Benchmarking Wrap(Glyph, Advanced)/emoji text: Analyzing
Wrap(Glyph, Advanced)/emoji text
time: [191.92 ms 192.41 ms 192.94 ms]
change: [-14.179% -13.776% -13.403%] (p = 0.00 < 0.05)
Performance has improved.
Benchmarking Wrap(Word, Simple)/small amount of text
Benchmarking Wrap(Word, Simple)/small amount of text: Warming up for 3.0000 s
Benchmarking Wrap(Word, Simple)/small amount of text: Collecting 100 samples in estimated 5.0042 s (1.5M iterations)
Benchmarking Wrap(Word, Simple)/small amount of text: Analyzing
Wrap(Word, Simple)/small amount of text
time: [3.4168 µs 3.4222 µs 3.4278 µs]
change: [-13.374% -13.219% -13.073%] (p = 0.00 < 0.05)
Performance has improved.
Benchmarking Wrap(Word, Simple)/large amount of text
Benchmarking Wrap(Word, Simple)/large amount of text: Warming up for 3.0000 s
Benchmarking Wrap(Word, Simple)/large amount of text: Collecting 100 samples in estimated 5.3660 s (1300 iterations)
Benchmarking Wrap(Word, Simple)/large amount of text: Analyzing
Wrap(Word, Simple)/large amount of text
time: [4.1277 ms 4.1356 ms 4.1467 ms]
change: [-10.256% -10.087% -9.8421%] (p = 0.00 < 0.05)
Performance has improved.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high severe
Benchmarking Wrap(Word, Simple)/arabic text
Benchmarking Wrap(Word, Simple)/arabic text: Warming up for 3.0000 s
Benchmarking Wrap(Word, Simple)/arabic text: Collecting 100 samples in estimated 5.6725 s (35k iterations)
Benchmarking Wrap(Word, Simple)/arabic text: Analyzing
Wrap(Word, Simple)/arabic text
time: [160.87 µs 161.04 µs 161.25 µs]
change: [-11.589% -11.472% -11.362%] (p = 0.00 < 0.05)
Performance has improved.
Benchmarking Wrap(Word, Simple)/hebrew text
Benchmarking Wrap(Word, Simple)/hebrew text: Warming up for 3.0000 s
Benchmarking Wrap(Word, Simple)/hebrew text: Collecting 10 samples in estimated 5.0062 s (26k iterations)
Benchmarking Wrap(Word, Simple)/hebrew text: Analyzing
Wrap(Word, Simple)/hebrew text
time: [191.61 µs 191.98 µs 192.71 µs]
change: [-11.612% -11.329% -11.045%] (p = 0.00 < 0.05)
Performance has improved.
Found 2 outliers among 10 measurements (20.00%)
2 (20.00%) high mild
Benchmarking Wrap(Word, Simple)/emoji text
Benchmarking Wrap(Word, Simple)/emoji text: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 5.3s or enable flat sampling.
Benchmarking Wrap(Word, Simple)/emoji text: Collecting 10 samples in estimated 5.2894 s (55 iterations)
Benchmarking Wrap(Word, Simple)/emoji text: Analyzing
Wrap(Word, Simple)/emoji text
time: [96.134 ms 96.629 ms 97.228 ms]
change: [-10.693% -9.7388% -8.9983%] (p = 0.00 < 0.05)
Performance has improved.
Benchmarking Wrap(Word, Advanced)/small amount of text
Benchmarking Wrap(Word, Advanced)/small amount of text: Warming up for 3.0000 s
Benchmarking Wrap(Word, Advanced)/small amount of text: Collecting 100 samples in estimated 5.0040 s (914k iterations)
Benchmarking Wrap(Word, Advanced)/small amount of text: Analyzing
Wrap(Word, Advanced)/small amount of text
time: [5.4288 µs 5.4363 µs 5.4440 µs]
change: [-20.274% -20.160% -20.066%] (p = 0.00 < 0.05)
Performance has improved.
Benchmarking Wrap(Word, Advanced)/large amount of text
Benchmarking Wrap(Word, Advanced)/large amount of text: Warming up for 3.0000 s
Benchmarking Wrap(Word, Advanced)/large amount of text: Collecting 100 samples in estimated 5.1761 s (800 iterations)
Benchmarking Wrap(Word, Advanced)/large amount of text: Analyzing
Wrap(Word, Advanced)/large amount of text
time: [6.3942 ms 6.3989 ms 6.4039 ms]
change: [-15.688% -15.620% -15.546%] (p = 0.00 < 0.05)
Performance has improved.
Found 19 outliers among 100 measurements (19.00%)
5 (5.00%) high mild
14 (14.00%) high severe
Benchmarking Wrap(Word, Advanced)/arabic text
Benchmarking Wrap(Word, Advanced)/arabic text: Warming up for 3.0000 s
Benchmarking Wrap(Word, Advanced)/arabic text: Collecting 100 samples in estimated 6.2384 s (10k iterations)
Benchmarking Wrap(Word, Advanced)/arabic text: Analyzing
Wrap(Word, Advanced)/arabic text
time: [620.10 µs 620.61 µs 621.10 µs]
change: [-12.572% -12.493% -12.412%] (p = 0.00 < 0.05)
Performance has improved.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high severe
Benchmarking Wrap(Word, Advanced)/hebrew text
Benchmarking Wrap(Word, Advanced)/hebrew text: Warming up for 3.0000 s
Benchmarking Wrap(Word, Advanced)/hebrew text: Collecting 10 samples in estimated 5.0062 s (12k iterations)
Benchmarking Wrap(Word, Advanced)/hebrew text: Analyzing
Wrap(Word, Advanced)/hebrew text
time: [427.83 µs 428.37 µs 429.08 µs]
change: [-15.914% -15.637% -15.358%] (p = 0.00 < 0.05)
Performance has improved.
Found 1 outliers among 10 measurements (10.00%)
1 (10.00%) high mild
Benchmarking Wrap(Word, Advanced)/emoji text
Benchmarking Wrap(Word, Advanced)/emoji text: Warming up for 3.0000 s
Benchmarking Wrap(Word, Advanced)/emoji text: Collecting 10 samples in estimated 5.7675 s (30 iterations)
Benchmarking Wrap(Word, Advanced)/emoji text: Analyzing
Wrap(Word, Advanced)/emoji text
time: [191.10 ms 191.52 ms 192.00 ms]
change: [-13.940% -13.738% -13.508%] (p = 0.00 < 0.05)
Performance has improved.
Benchmarking load FontSystem
Benchmarking load FontSystem: Warming up for 3.0000 s
Benchmarking load FontSystem: Collecting 100 samples in estimated 5.4144 s (300 iterations)
Benchmarking load FontSystem: Analyzing
load FontSystem time: [18.030 ms 18.048 ms 18.068 ms]
change: [-0.1681% +0.2407% +0.5949%] (p = 0.22 > 0.05)
No change in performance detected.
Found 14 outliers among 100 measurements (14.00%)
4 (4.00%) high mild
10 (10.00%) high severe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment