Commit Graph
162 Commits
Author SHA1 Message Date
Behdad Esfahbod 3aa1868b23 [benchmark-font] Accept empty --variations 2025-11-20 13:37:58 -07:00
Behdad Esfahbod 5087e53be9 [perf] Use GOption (#5422)
* [perf] Don't build benchmarks if no glib

Also remove unnecessary deps.

* [benchmark-shape/font] Port to GOption
2025-07-26 04:02:41 -06:00
Behdad Esfahbod ff46559b67 [benchmark-shape] Massage message again 2025-07-24 00:34:37 -06:00
Behdad Esfahbod 5991cb3d03 [benchmark-shape] Change message 2025-07-24 00:30:06 -06:00
Behdad Esfahbod 0a7a760ae1 [benchmark-shape] Skip shaper if shaping failed 2025-07-24 00:28:51 -06:00
Behdad Esfahbod 0c3606b513 [benchmark-font] Respect HB_BENCHMARK_TEXT 2025-07-23 17:06:50 -06:00
Behdad Esfahbod fa082b258f [benchmark-shape] Warm up the font / buffer first 2025-07-23 15:18:13 -06:00
Behdad Esfahbod b3765e7c40 [benchmark-font] Call the plural glyph-v-origins API
Ouch!
2025-07-20 07:19:23 -06:00
Behdad Esfahbod cbc928fa79 [benchmark-font] malloc hygiene 2025-07-20 07:19:23 -06:00
Behdad Esfahbod dd85aeba88 [benchmark-shape] Take text direction as extra argument 2025-07-20 07:18:54 -06:00
Behdad Esfahbod 266c0f8e3e [benchmark-font] Add --max-glyphs argument
--max-glyphs 256 can be used to measure the cached behavior
of many ops, like glyph_h_advance, glyph_v_advance,
and glyph_v_origin.
2025-07-20 00:12:26 -06:00
Behdad Esfahbod 94efb343cb [benchmark-font] Benchmark v_advances and v_origin 2025-07-20 00:12:20 -06:00
Behdad Esfahbod 971036888f [perf/hb-draw-compare] Default font-funcs2 to fontations
Yay!
2025-07-11 00:55:05 -06:00
Behdad Esfahbod 8d517f7e43 [hb-draw-compare] Declutter output 2025-06-12 08:13:42 -06:00
Behdad Esfahbod d9a258bedc [perf] Add hb-draw-compare and hb-svg-compare 2025-06-08 13:43:27 +03:00
Behdad Esfahbod 88b9feb917 [benchmark-font] Allow specifying variations on cmdline 2025-05-20 20:40:40 -06:00
Behdad Esfahbod 60c4b9cb61 [benchmark-font] Minor refactor
In prep for accepting arbitrary variations on the cmdline.
2025-05-20 20:36:39 -06:00
Behdad Esfahbod 9ddf3da71e [benchmark-shape] Accept one variation on the cmd-line 2025-04-04 16:04:07 -06:00
Behdad Esfahbod 0eeb6ccb42 [perf] Bikeshedding 2025-03-21 17:36:43 -06:00
Behdad Esfahbod 6b9d9f7259 [face] Add HB_FACE_LOADER env var 2025-03-09 01:41:49 -07:00
Behdad Esfahbod 2a878b1b76 [font-funcs] Add two new API
+ hb_font_set_funcs_using()
+ hb_font_list_funcs()

Part of https://github.com/harfbuzz/harfbuzz/issues/5117
2025-03-08 11:50:53 -07:00
Behdad Esfahbod e27e7f1c7d [perf] README minor 2025-03-07 14:01:57 -07:00
Behdad Esfahbod 460a8225ba [perf] Improve README 2025-03-07 13:33:08 -07:00
Behdad Esfahbod e054db4ae2 [fontations] Hook up to benchmark-font 2025-03-06 04:23:24 +02:00
Behdad Esfahbod a2ea5d28cb [benchmark-font] Report draw times in ms, not us 2025-02-18 21:43:39 -07:00
Behdad Esfahbod 19a152b47e [perf] Don't depend on libharfbuzz-subset for most benchmarks 2025-02-09 12:37:28 +00:00
Behdad Esfahbod b44f6ff5fe [perf/texts] Add a list of just 2letter strings 2025-02-05 12:19:48 +00:00
Behdad Esfahbod 267ebeeccd [perf/text] Add a long piece of JS code for benchmarking 2025-02-04 11:10:31 +00:00
Behdad Esfahbod d8d0987feb [benchmark-shape] Remove variable-font test set
It doesn't really affect shaping much. Kill it.
2025-02-02 18:08:09 +00:00
Behdad Esfahbod 9bd75952e5 [benchmark-shape] Compare diff shapers, not font funcs 2025-02-02 11:14:49 +00:00
Garret Rieger 392581be01 [subest] get benchmark subset working again. 2024-10-24 15:42:31 -06:00
Behdad Esfahbod 825bc19643 [perf] Simplify meson.build
Fixes https://github.com/harfbuzz/harfbuzz/issues/4896
2024-10-16 01:56:17 -06:00
Behdad Esfahbod a8360b7e95 [perf] Respect new envvar HB_FACE_LOADER 2024-10-15 14:58:13 -06:00
Behdad Esfahbod c224178a09 [perf] Add hb-benchmark.hh 2024-10-15 14:58:13 -06:00
Behdad Esfahbod 8a805271a1 [coretext] Start implementing CoreText font-funcs
Does nominal glyph mapping, horiz advances, and draw so far.
2024-10-13 13:04:29 -06:00
Khaled Hosny cf1fdf1632 Drop autotools build
Fixes https://github.com/harfbuzz/harfbuzz/issues/4720
2024-06-27 15:28:38 +03: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 9a7afe922b [perf] Benchmark glyph painting 2023-08-09 12:00:41 -06:00
Behdad Esfahbod ebdfa9838b [perf] Measure freetype face loading as well 2023-07-30 12:22:55 -06:00
Behdad Esfahbod 55f41e287f [perf] Add duployan.txt
From https://kaltashwawa.ca/2022/01/20/lovecraft-in-chinook-puspus-kopa-ulthar-tawn/
2023-07-21 12:10:46 -06:00
Behdad Esfahbod b2d648e41b [perf/benchmark-subset] Rename subset_codepoints to subset_unicodes 2023-07-15 14:26:06 -06:00
Behdad Esfahbod 13438da16e [benchmark-font] Minor move a variable 2023-07-02 12:56:13 -06:00
Behdad Esfahbod 7d72fdd5bf [benchmark-font] Do some work in draw_glyph callbacks
For no good reason other than matching what I'm adding to
skrifa benchmark.  Doesn't seem to affect benchmarks whatsoever.
2023-07-02 09:56:09 -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 547dc1a40e [benchmark-font] Add load_face_and_shape benchmark
To measure face-loading performance
2023-06-30 08:48:43 -06:00
Behdad Esfahbod fcf70af134 [perf] Fix break 2023-06-30 08:43:10 -06:00
Behdad Esfahbod 17f29c8111 [benchmark_font/draw_glyphs] Implement quadratic_to
Not interested in the fallback implementation here.
2023-06-29 13:27:09 -06:00
Behdad Esfahbod 41f85d0179 [benchmark-font] Add RobotoFlex
We didn't have a variable TTF before!
2023-06-27 12:50:04 -06:00