2020-06-09 15:07:36 +02:00
|
|
|
google_benchmark = subproject('google-benchmark')
|
|
|
|
google_benchmark_dep = google_benchmark.get_variable('google_benchmark_dep')
|
|
|
|
|
2022-05-02 21:41:49 +02:00
|
|
|
benchmark('benchmark-font', executable('benchmark-font', 'benchmark-font.cc',
|
2020-06-18 00:03:05 +02:00
|
|
|
dependencies: [
|
|
|
|
google_benchmark_dep, freetype_dep,
|
|
|
|
],
|
2022-05-02 21:26:41 +02:00
|
|
|
cpp_args: [],
|
2020-06-09 15:07:36 +02:00
|
|
|
include_directories: [incconfig, incsrc],
|
|
|
|
link_with: [libharfbuzz],
|
|
|
|
install: false,
|
2021-11-20 16:09:15 +01:00
|
|
|
), workdir: meson.current_source_dir() / '..', timeout: 100)
|
2022-04-20 20:36:35 +02:00
|
|
|
|
2022-05-02 21:41:49 +02:00
|
|
|
benchmark('benchmark-map', executable('benchmark-map', 'benchmark-map.cc',
|
2022-04-29 23:37:11 +02:00
|
|
|
dependencies: [
|
|
|
|
google_benchmark_dep,
|
|
|
|
],
|
|
|
|
cpp_args: [],
|
|
|
|
include_directories: [incconfig, incsrc],
|
|
|
|
link_with: [libharfbuzz],
|
|
|
|
install: false,
|
|
|
|
), workdir: meson.current_source_dir() / '..', timeout: 100)
|
|
|
|
|
2022-04-20 20:36:35 +02:00
|
|
|
benchmark('benchmark-set', executable('benchmark-set', 'benchmark-set.cc',
|
|
|
|
dependencies: [
|
2022-04-20 21:33:04 +02:00
|
|
|
google_benchmark_dep,
|
|
|
|
],
|
|
|
|
cpp_args: [],
|
|
|
|
include_directories: [incconfig, incsrc],
|
|
|
|
link_with: [libharfbuzz],
|
|
|
|
install: false,
|
|
|
|
), workdir: meson.current_source_dir() / '..', timeout: 100)
|
2022-04-20 20:36:35 +02:00
|
|
|
|
2022-05-02 21:41:49 +02:00
|
|
|
benchmark('benchmark-shape', executable('benchmark-shape', 'benchmark-shape.cc',
|
2022-04-20 21:33:04 +02:00
|
|
|
dependencies: [
|
|
|
|
google_benchmark_dep,
|
2022-04-20 20:36:35 +02:00
|
|
|
],
|
2022-04-20 21:33:04 +02:00
|
|
|
cpp_args: [],
|
2022-04-20 20:36:35 +02:00
|
|
|
include_directories: [incconfig, incsrc],
|
|
|
|
link_with: [libharfbuzz],
|
|
|
|
install: false,
|
|
|
|
), workdir: meson.current_source_dir() / '..', timeout: 100)
|
2022-04-20 22:05:14 +02:00
|
|
|
|
|
|
|
benchmark('benchmark-subset', executable('benchmark-subset', 'benchmark-subset.cc',
|
|
|
|
dependencies: [
|
|
|
|
google_benchmark_dep,
|
|
|
|
],
|
|
|
|
cpp_args: [],
|
|
|
|
include_directories: [incconfig, incsrc],
|
|
|
|
link_with: [libharfbuzz, libharfbuzz_subset],
|
|
|
|
install: false,
|
|
|
|
), workdir: meson.current_source_dir() / '..', timeout: 100)
|