diff --git a/perf/benchmark-subset.cc b/perf/benchmark-subset.cc index 13e282dc3..7236f3e5f 100644 --- a/perf/benchmark-subset.cc +++ b/perf/benchmark-subset.cc @@ -195,7 +195,9 @@ static void BM_subset (benchmark::State &state, AddCodepoints(all_codepoints, subset_size, input); hb_set_destroy (all_codepoints); +#ifdef HB_EXPERIMENTAL_API hb_subset_input_set_flags(input, hb_subset_input_get_flags(input) | HB_SUBSET_FLAGS_OPTIMIZE_IUP_DELTAS); +#endif for (unsigned i = 0; i < test_input.num_instance_opts; i++) hb_subset_input_pin_axis_location (input, face,