Behdad Esfahbod
|
6e668a2ade
|
[perf/benchmark-ot] Rename test
|
3 years ago |
Behdad Esfahbod
|
f5d619be79
|
[ot-tags] Further gate the slow complex case, and add more tests
Part of https://github.com/harfbuzz/harfbuzz/issues/3591
Still 'zh-trad' is the slowest case.
--------------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations
--------------------------------------------------------------------------------------------------
BM_hb_ot_tags_from_script_and_language/COMMON zh_trad 136 ns 136 ns 5107838
BM_hb_ot_tags_from_script_and_language/COMMON ab_abcd 115 ns 115 ns 6103104
BM_hb_ot_tags_from_script_and_language/COMMON ab_abc 25.4 ns 25.3 ns 27674482
BM_hb_ot_tags_from_script_and_language/COMMON abcdef_XY 20.2 ns 20.1 ns 34795719
BM_hb_ot_tags_from_script_and_language/COMMON abcd_XY 19.4 ns 19.3 ns 36390401
BM_hb_ot_tags_from_script_and_language/COMMON cxy_CN 33.5 ns 33.4 ns 20998939
BM_hb_ot_tags_from_script_and_language/COMMON exy_CN 25.1 ns 25.0 ns 27705832
BM_hb_ot_tags_from_script_and_language/COMMON zh_CN 34.2 ns 34.1 ns 20564356
BM_hb_ot_tags_from_script_and_language/COMMON en_US 15.5 ns 15.5 ns 45032204
BM_hb_ot_tags_from_script_and_language/LATIN en_US 15.9 ns 15.8 ns 44412379
BM_hb_ot_tags_from_script_and_language/COMMON none 4.72 ns 4.71 ns 149101665
BM_hb_ot_tags_from_script_and_language/LATIN none 4.72 ns 4.70 ns 149254498
|
3 years ago |
Behdad Esfahbod
|
b231fc2dbc
|
[perf/benchmark-ot] Add a couple more test cases
|
3 years ago |
Behdad Esfahbod
|
3524b14fa0
|
[perf/benchmark-ot] Add a couple more test cases
|
3 years ago |
Behdad Esfahbod
|
0ff5d36cd4
|
[perf/benchmark-ot] Fix benchmark
Part of https://github.com/harfbuzz/harfbuzz/issues/3591
Ouch!
These are the current numbers:
------------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations
------------------------------------------------------------------------------------------------
BM_hb_ot_tags_from_script_and_language/COMMON abcd_XY 78.0 ns 77.7 ns 8917912
BM_hb_ot_tags_from_script_and_language/COMMON zh_CN 44.9 ns 44.8 ns 15475318
BM_hb_ot_tags_from_script_and_language/COMMON en_US 17.6 ns 17.5 ns 39812340
BM_hb_ot_tags_from_script_and_language/LATIN en_US 18.2 ns 18.1 ns 38356204
BM_hb_ot_tags_from_script_and_language/COMMON none 4.76 ns 4.74 ns 148746131
BM_hb_ot_tags_from_script_and_language/LATIN none 4.73 ns 4.71 ns 148421349
|
3 years ago |
Behdad Esfahbod
|
407a135baf
|
[perf/benchmark-ot] Add one more test
|
3 years ago |
Behdad Esfahbod
|
26d906b88b
|
[perf] Add benchmark-ot
|
3 years ago |
Behdad Esfahbod
|
629fa8ee87
|
[perf/benchmark-font] Test Roboto as variable even though it's not
|
3 years ago |
Behdad Esfahbod
|
71a0cda869
|
[perf/benchmark-font] Only certain fonts are variable
Don't test every font as variable.
|
3 years ago |
Garret Rieger
|
e4e053c8b3
|
[perf] fix typo in perf Makefile.
|
3 years ago |
Behdad Esfahbod
|
7edd54f3dd
|
[perf/benchmark-subset] Minor cleanup
|
3 years ago |
Garret Rieger
|
52d59bf150
|
[perf] Make subset benchmark data driven.
|
3 years ago |
Garret Rieger
|
5277a5772b
|
[perf] Add benchmarks for CFF subsetting.
|
3 years ago |
Garret Rieger
|
bc5129d7fa
|
[perf] use option_t in subset benchmark to select between glyphs and codepoint subset.
|
3 years ago |
Garret Rieger
|
6212856ce8
|
[perf] benchmark subsetting via glyphs.
|
3 years ago |
Behdad Esfahbod
|
f67e6bf79c
|
[perf/benchmark-font] Add benchmark for glyph_h_advance
|
3 years ago |
Behdad Esfahbod
|
1c0a3d4d16
|
[perf/benchmark-font] Add a couple Noto fonts
|
3 years ago |
Behdad Esfahbod
|
3fff2e9182
|
[perf/benchmark-font] Cosmetic
|
3 years ago |
Behdad Esfahbod
|
0d1f8dcaf3
|
[perf/benchmark-font] Actually make nominal_glyph bench work
|
3 years ago |
Behdad Esfahbod
|
6cf69d10e7
|
[perf/benchmark-font] Add back testing of is_variable
|
3 years ago |
Behdad Esfahbod
|
3aa2ff7988
|
[perf/benchmark-font] Fix build without freetype
|
3 years ago |
Behdad Esfahbod
|
58a0988b57
|
[perf/benchmark-font] Benchmark get_nominal_glyph
|
3 years ago |
Behdad Esfahbod
|
6d29903e86
|
[perf/benchmark-font] Parametrize test
|
3 years ago |
Behdad Esfahbod
|
636c90e81c
|
[perf/perf] Rename to benchmark-font
|
3 years ago |
Behdad Esfahbod
|
036d03d2e9
|
[perf/perf] Move all logic to perf-draw, for now
To be renamed.
|
3 years ago |
Behdad Esfahbod
|
746c3c03c5
|
[perf/perf] Remove ttf-parser backend
|
3 years ago |
Behdad Esfahbod
|
4aaa0af7d9
|
[perf/perf] Rely on hb-draw to measure ft performance
|
3 years ago |
Behdad Esfahbod
|
217d38dfc7
|
Try to fix distcheck
|
3 years ago |
Behdad Esfahbod
|
35681b3edb
|
[benchmark-shape] Break lines and shape separately
|
3 years ago |
Behdad Esfahbod
|
be1ac9c572
|
[benchmark-shape] Data-driven test sets
|
3 years ago |
Behdad Esfahbod
|
ae3efc6424
|
[perf] Spawn off benchmark-shape from perf runner
|
3 years ago |
Behdad Esfahbod
|
5f43ce825a
|
[benchmark-set] Split SetLookup into an ordered and random version
|
3 years ago |
Behdad Esfahbod
|
ae9c7b861b
|
[benchmark-set] At least increase needle by one in lookup benchmark
|
3 years ago |
Behdad Esfahbod
|
68a9b83d15
|
[benchmark-set] At least increase needle by one in lookup benchmark
|
3 years ago |
Behdad Esfahbod
|
5866ec05f5
|
[benchmark-map] Remove rand() overhead from benchmark
|
3 years ago |
Behdad Esfahbod
|
dd005911b9
|
[benchmark-set] Reduce lookup benchmark overhead
Turnsout 90% was overhead... Now lookup is in the 4ns ballpark.
|
3 years ago |
Behdad Esfahbod
|
4c177de1f5
|
[perf] Err. Remove HUGE font from perf suite
|
3 years ago |
Behdad Esfahbod
|
7f7ebdc6bb
|
[perf] Reuse a font
|
3 years ago |
Garret Rieger
|
85142f3247
|
[perf] Add missing ninja command in profiling instructions.
|
3 years ago |
Garret Rieger
|
a5cf917892
|
[perf] Update readme with profiling instructions.
|
3 years ago |
Behdad Esfahbod
|
df3ecea773
|
[perf/perf] Fix run when ttfparser is not available
|
3 years ago |
Garret Rieger
|
f48647e589
|
In perf/README update meson command line to set release build type.
|
3 years ago |
Garret Rieger
|
b3ce96da3b
|
[perf] Add several more fonts to the subset benchmarks.
|
3 years ago |
Behdad Esfahbod
|
9ad300360d
|
[perf/perf-draw] Port to new draw API
|
3 years ago |
Behdad Esfahbod
|
23c7c305bb
|
[perf/benchmark-map] Adjust range specifiers
|
3 years ago |
Garret Rieger
|
2b03bcedef
|
[perf] Cleanup range specifiers in set benchmark.
|
3 years ago |
Garret Rieger
|
178c67003f
|
[perf] Rework set insert test to not use pause/resume timing.
These have high overhead which affect the result. Also change set iteration to time the individual iteration operation.
|
3 years ago |
Garret Rieger
|
fbd183d0eb
|
[perf] Start writing subset benchmarks.
|
3 years ago |
Garret Rieger
|
fc2027bf07
|
[perf] Add map benchmarks.
|
3 years ago |
Garret Rieger
|
057ec2c953
|
[perf] Add set ieration and lookup benchmarks.
|
3 years ago |