[perf] Spawn off benchmark-shape from perf runner
This commit is contained in:
parent
5f43ce825a
commit
ae3efc6424
|
@ -63,3 +63,5 @@ BENCHMARK_CAPTURE (shape, en-words.txt - Roboto,
|
|||
"perf/texts/en-words.txt",
|
||||
HB_DIRECTION_LTR, HB_SCRIPT_LATIN,
|
||||
"perf/fonts/Roboto-Regular.ttf");
|
||||
|
||||
BENCHMARK_MAIN();
|
|
@ -21,6 +21,16 @@ benchmark('perf', executable('perf', 'perf.cc',
|
|||
), workdir: meson.current_source_dir() / '..', timeout: 100)
|
||||
|
||||
|
||||
benchmark('benchmark-shape', executable('benchmark-shape', 'benchmark-shape.cc',
|
||||
dependencies: [
|
||||
google_benchmark_dep,
|
||||
],
|
||||
cpp_args: [],
|
||||
include_directories: [incconfig, incsrc],
|
||||
link_with: [libharfbuzz],
|
||||
install: false,
|
||||
), workdir: meson.current_source_dir() / '..', timeout: 100)
|
||||
|
||||
benchmark('benchmark-set', executable('benchmark-set', 'benchmark-set.cc',
|
||||
dependencies: [
|
||||
google_benchmark_dep,
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "perf-shaping.hh"
|
||||
#ifdef HAVE_FREETYPE
|
||||
enum backend_t { HARFBUZZ, FREETYPE, TTF_PARSER };
|
||||
#include "perf-extents.hh"
|
||||
|
|
Loading…
Reference in New Issue