mirror of
https://github.com/hanzoai/yoga.git
synced 2026-10-30 19:34:29 +00:00
Summary: Add grid layout benchmarks. Includes: - YGGridBenchmark.c: 14 benchmark scenarios - benchmarkgrid: shell script to run benchmarks - CMakeLists.txt: benchmarkgrid target Differential Revision: D93946260
11 lines
330 B
Bash
Executable File
11 lines
330 B
Bash
Executable File
#!/bin/sh
|
|
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
cd "$(dirname "$0")" || exit
|
|
|
|
cmake -B build -S . -D CMAKE_BUILD_TYPE=Release
|
|
cmake --build build --target benchmarkgrid
|
|
build/benchmarkgrid
|