Commit Graph
31 Commits
Author SHA1 Message Date
Behdad Esfahbod 17a0bdc245 [benchmark-shape] Accept multiple font/text pairs
Replace the singular named font and text options with repeated
positional FONTFILE TEXTFILE pairs. Register every supplied pair and
reject incomplete input so no requested benchmark is silently omitted.

Tested with the full Meson suite and an unfiltered two-pair run.

Assisted-by: Codex <codex@openai.com>
2026-09-04 15:33:01 -06:00
Behdad Esfahbod 8a98b8b3ab [benchmark-shape] Accept multiple variations
The --variations option previously parsed its entire argument as one
hb_variation_t, so only one axis could be selected. Parse the
comma-separated argument into an array and apply all valid axes.

Tested with the full Meson suite and a two-axis benchmark-shape run.

Assisted-by: Codex <codex@openai.com>
2026-09-04 15:28:29 -06:00
Behdad Esfahbod a603a37294 [benchmark-shape] Fix unused-var under NDEBUG 2026-01-12 13:09:51 -07:00
Behdad Esfahbod 93fb777502 [perf/benchmark-shape] Add Duployan test
Reshuffle tests to run from fastest to slowest.
2026-01-03 17:27:50 -07:00
Khaled Hosny e9c35e7352 [perf/benchmark-shape] Add Gulzar (#5698) 2026-01-02 11:30:30 -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 fa082b258f [benchmark-shape] Warm up the font / buffer first 2025-07-23 15:18:13 -06:00
Behdad Esfahbod dd85aeba88 [benchmark-shape] Take text direction as extra argument 2025-07-20 07:18:54 -06:00
Behdad Esfahbod 9ddf3da71e [benchmark-shape] Accept one variation on the cmd-line 2025-04-04 16:04:07 -06: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
Behdad Esfahbod c224178a09 [perf] Add hb-benchmark.hh 2024-10-15 14:58:13 -06:00
Behdad Esfahbod b6df347137 [perf] Add Hindi test to benchmark-shape 2022-11-23 20:15:16 -07:00
Behdad Esfahbod 443961971a [perf] Add fa-words.txt and use in shape benchmark 2022-11-16 16:35:00 -07:00
Behdad Esfahbod 697287fbd7 [benchmark-shape,hb-shape-threads] Fix argument parsing order
After recent change.
2022-06-05 06:53:42 -06:00
Behdad Esfahbod 2dec742070 [benchmark-shape] Remove a few tests
They were not adding value.
2022-06-05 02:04:02 -06:00
Behdad Esfahbod 3c258e1373 [benchmark-shape] Reorder text vs font order for better output 2022-06-05 02:01:17 -06:00
Behdad Esfahbod f371789b40 Sprinkle static around 2022-05-30 05:09:53 -06:00
Behdad Esfahbod 33c990f0a9 Include cassert to fix bots 2022-05-30 05:09:53 -06:00
Behdad Esfahbod 8a7cfe1787 [perf/benchmark-shape] Test ft font backend as well 2022-05-23 14:36:06 -06:00
Behdad Esfahbod e1f4445dff [benchmark-shape] Allow taking multiple tests from cmdline 2022-05-21 15:11:53 -06:00
Behdad Esfahbod 1bf2d5f885 [perf/benchmark-shape] Allow taking text-file/font-file args from cmdline 2022-05-21 14:44:00 -06:00
Behdad Esfahbod da4b6f1527 [benchmark-shape] Add variable fonts 2022-05-20 17:21:20 -06:00
Behdad Esfahbod 6d29903e86 [perf/benchmark-font] Parametrize test 2022-05-02 14:03:15 -06:00
Behdad Esfahbod 35681b3edb [benchmark-shape] Break lines and shape separately 2022-04-29 16:02:55 -06:00
Behdad Esfahbod be1ac9c572 [benchmark-shape] Data-driven test sets 2022-04-29 15:55:19 -06:00
Behdad Esfahbod ae3efc6424 [perf] Spawn off benchmark-shape from perf runner 2022-04-29 15:37:11 -06:00