freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -warmup


From: Ahmet Göksu
Subject: Re: -warmup
Date: Tue, 29 Aug 2023 10:29:06 +0300

hi,
here is the results with chris’ suggestion. (thanks chris)
i will check hyperfine.
still a bit noise on only load and load_advances.
are results acceptable?

Best,
Goksu
goksu.in
On 28 Aug 2023 21:19 +0300, Werner LEMBERG <wl@gnu.org>, wrote:

code

Freetype Benchmark Results

Warning: Baseline and Benchmark have the same commit ID!

Info

InfoBaselineBenchmark
Parameters-c 750 -w 50-c 750 -w 50
Commit IDf3dfede6f3dfede6
Commit Date2023-08-18 17:42:53 +03002023-08-18 17:42:53 +0300
BranchGSoC-2023-AhmetGSoC-2023-Ahmet

* Average time for single iteration. Smaller values are better.

** N count in (x | y) format is for showing baseline and benchmark N counts seperately when they differs.

Total Results

TestNBaseline (µs) Benchmark (µs)Difference (%)
Load375000 3535.9 3622.3-2.4
Load_Advances (Normal)375000 3057.8 3133.8-2.5
Load_Advances (Fast)375000 10.9 12.5-14.7
Load_Advances (Unscaled)375000 10.0 10.6-6.0
Render375000 4772.2 4796.7-0.5
Get_Glyph375000 3418.7 3415.20.1
Get_Char_Index352500 9.1 9.10.0
Iterate CMap3750 6.5 6.50.0
New_Face3750 241.5 239.90.7
Embolden375000 3798.9 3780.30.5
Stroke292750 | 288000 18049.3 18067.9-0.1
Get_BBox375000 2826.3 2764.22.2
Get_CBox375000 3473.4 3421.91.5
New_Face & load glyph(s)375000 555.6 585.6-5.4
TOTAL4402750 | 4398000 43766.143866.5 -0.2

Results for Roboto_subset.ttf

TestN * Baseline (µs) * Benchmark (µs) Difference (%)
Load90000 583.3575.11.4
Load_Advances (Normal)90000 487.7503.3-3.2
Load_Advances (Fast)90000 2.64.1-57.7
Load_Advances (Unscaled)90000 2.42.40.0
Render90000 934.1941.8-0.8
Get_Glyph90000 582.7597.7-2.6
Get_Char_Index70500 1.81.80.0
Iterate CMap750 1.31.30.0
New_Face750 42.541.42.6
Embolden90000 642.9655.9-2.0
Stroke60000 4008.74043.7-0.9
Get_BBox90000 167.6139.316.9
Get_CBox90000 592.1602.3-1.7
New_Face & load glyph(s)90000 105.0105.00.0
TOTAL2064000 8154.78215.10.7

Results for Arial_subset.ttf

TestN * Baseline (µs) * Benchmark (µs) Difference (%)
Load71250 812.8934.1-14.9
Load_Advances (Normal)71250 733.1793.3-8.2
Load_Advances (Fast)71250 2.02.1-5.0
Load_Advances (Unscaled)71250 1.91.90.0
Render71250 1083.01067.41.4
Get_Glyph71250 791.0789.80.2
Get_Char_Index70500 1.81.80.0
Iterate CMap750 1.31.30.0
New_Face750 51.850.03.5
Embolden71250 874.9855.02.3
Stroke57000 3480.93439.51.2
Get_BBox71250 761.9725.24.8
Get_CBox71250 815.3787.53.4
New_Face & load glyph(s)71250 110.7109.31.3
TOTAL1683000 9522.49558.20.4

Results for TimesNewRoman_subset.ttf

TestN * Baseline (µs) * Benchmark (µs) Difference (%)
Load71250 973.9944.33.0
Load_Advances (Normal)71250 876.2859.02.0
Load_Advances (Fast)71250 2.12.10.0
Load_Advances (Unscaled)71250 1.91.90.0
Render71250 1202.71191.11.0
Get_Glyph71250 945.6922.52.4
Get_Char_Index70500 1.81.80.0
Iterate CMap750 1.31.30.0
New_Face750 53.654.1-0.9
Embolden71250 1059.51037.22.1
Stroke42750 4599.44579.50.4
Get_BBox71250 895.5887.50.9
Get_CBox71250 966.3917.15.1
New_Face & load glyph(s)71250 135.2168.5-24.6
TOTAL1654500 11715.011567.9-1.3

Results for Tahoma_subset.ttf

TestN * Baseline (µs) * Benchmark (µs) Difference (%)
Load71250 572.0570.30.3
Load_Advances (Normal)71250 469.6525.8-12.0
Load_Advances (Fast)71250 2.12.10.0
Load_Advances (Unscaled)71250 1.92.5-31.6
Render71250 785.6801.5-2.0
Get_Glyph71250 560.0564.4-0.8
Get_Char_Index70500 1.81.80.0
Iterate CMap750 1.31.30.0
New_Face750 47.147.10.0
Embolden71250 623.4631.7-1.3
Stroke66500 | 61750 3024.63037.9-0.4
Get_BBox71250 509.0516.8-1.5
Get_CBox71250 559.1568.7-1.7
New_Face & load glyph(s)71250 103.7101.91.7
TOTAL1697250 7261.27373.81.6

Results for Verdana_subset.ttf

TestN * Baseline (µs) * Benchmark (µs) Difference (%)
Load71250 593.9598.5-0.8
Load_Advances (Normal)71250 491.2452.47.9
Load_Advances (Fast)71250 2.12.10.0
Load_Advances (Unscaled)71250 1.91.90.0
Render71250 766.8794.9-3.7
Get_Glyph71250 539.4540.8-0.3
Get_Char_Index70500 1.91.90.0
Iterate CMap750 1.31.30.0
New_Face750 46.547.3-1.7
Embolden71250 598.2600.5-0.4
Stroke66500 2935.72967.3-1.1
Get_BBox71250 492.3495.4-0.6
Get_CBox71250 540.6546.3-1.1
New_Face & load glyph(s)71250 101.0100.90.1
TOTAL1702000 7112.87151.50.5

Freetype Benchmark

reply via email to

[Prev in Thread] Current Thread [Next in Thread]