Commit graph

34 commits

Author SHA1 Message Date
Garret Rieger
392581be01 [subest] get benchmark subset working again. 2024-10-24 15:42:31 -06:00
Behdad Esfahbod
c224178a09 [perf] Add hb-benchmark.hh 2024-10-15 14:58:13 -06:00
Garret Rieger
4cf606f674 [instancer] Promote partial instancing api out of experimental. 2024-05-02 21:22:18 +00:00
Garret Rieger
2fcace77b2 [subet] Don't use experimental api flag in benchmark if not compiled with experimental api. 2024-04-02 11:55:44 -06:00
Garret Rieger
8974fe484b [subset] Add a partial instancing + IUP case to the subset benchmarks. 2024-02-14 22:27:39 +01:00
Behdad Esfahbod
b2d648e41b [perf/benchmark-subset] Rename subset_codepoints to subset_unicodes 2023-07-15 14:26:06 -06:00
Behdad Esfahbod
0fceaef0f7 [benchmark-subset] Report in microseconds, not milli
We're in that range now. :)
2023-06-30 08:50:49 -06:00
Behdad Esfahbod
3a827123a1 [benchmark-subset] Free cached face upon exist
For better valgrind output.
2023-06-23 11:16:57 -06:00
Garret Rieger
6b0d386797 [subset] in subset benchmarks switch nohinting with retaingids.
retain gids is a more interesting case than no hinting for performance.
2023-06-01 18:04:21 -06:00
Behdad Esfahbod
7f73b57bc1 [subset] Graduate L1 instancing API from experimental
Fixes https://github.com/harfbuzz/harfbuzz/issues/3926
2022-12-10 17:35:52 -07:00
Garret Rieger
eda02c2ebd [subset] Move hb_subset_preprocess to be non-experimental. 2022-12-08 16:32:24 -07:00
Behdad Esfahbod
29903f46b9 [benchmark-subset] Cache (preprocessed) face amongst runs 2022-12-02 18:02:55 -07:00
Behdad Esfahbod
38e7bc345c [benchmark-subset] Support testing arbitrary fonts from cmdline 2022-11-30 15:02:42 -07:00
Behdad Esfahbod
fad8322b3f [benchmark-subset] Add no-hinting ops 2022-11-27 15:09:48 -07:00
Behdad Esfahbod
1e6f77c250 [benchmark-subset] Adjust num glyphs more 2022-11-26 15:31:56 -07:00
Behdad Esfahbod
0382defa51 [benchmark-subset] Adjust number of glyphs of fonts 2022-11-26 15:27:07 -07:00
Behdad Esfahbod
4cb441dfd1 [benchmark-subset] Add AdobeVFPrototype 2022-11-26 15:23:07 -07:00
Garret Rieger
d1bf6c0c26 [subset] only preprocess in benchmark when experimental api is enabled. 2022-10-17 20:14:02 +00:00
Garret Rieger
515863e57c [subset] Remove add accelerator flag, replace with new api method.
Adds hb_subset_preprocess() which preprocesses the face and attaches accelerator data.
2022-10-13 23:42:00 +00:00
Garret Rieger
3394ec7048 [subset] use subset accelerator in tests.
This ensures it produces equivalent subsets as without the accelerator.
2022-10-13 23:02:54 +00:00
Garret Rieger
f4903defc4 [subset] use the accelerator in the subsetting benchmark. 2022-10-13 21:38:54 +00:00
Behdad Esfahbod
238e7dd2b6 Fix build 2022-09-01 13:24:01 -06:00
Qunxin Liu
470944901f [instance] add benchmarks for instancing 2022-09-01 13:22:05 -06:00
Behdad Esfahbod
33c990f0a9 Include cassert to fix bots 2022-05-30 05:09:53 -06:00
Behdad Esfahbod
7edd54f3dd [perf/benchmark-subset] Minor cleanup 2022-05-11 12:14:49 -06:00
Garret Rieger
52d59bf150 [perf] Make subset benchmark data driven. 2022-05-10 14:30:08 -06:00
Garret Rieger
5277a5772b [perf] Add benchmarks for CFF subsetting. 2022-05-10 12:16:44 -06:00
Garret Rieger
bc5129d7fa [perf] use option_t in subset benchmark to select between glyphs and codepoint subset. 2022-05-05 10:01:49 -06:00
Garret Rieger
6212856ce8 [perf] benchmark subsetting via glyphs. 2022-05-04 16:50:06 -06:00
Behdad Esfahbod
4c177de1f5 [perf] Err. Remove HUGE font from perf suite 2022-04-21 13:51:37 -06:00
Behdad Esfahbod
7f7ebdc6bb [perf] Reuse a font 2022-04-21 11:25:12 -06:00
Garret Rieger
b3ce96da3b [perf] Add several more fonts to the subset benchmarks. 2022-04-21 11:16:12 -06:00
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.
2022-04-21 11:16:12 -06:00
Garret Rieger
fbd183d0eb [perf] Start writing subset benchmarks. 2022-04-21 11:16:12 -06:00