forked from AcademySoftwareFoundation/OpenImageIO
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathci-benchmark.bash
More file actions
executable file
·27 lines (23 loc) · 819 Bytes
/
Copy pathci-benchmark.bash
File metadata and controls
executable file
·27 lines (23 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env bash
# Copyright Contributors to the OpenImageIO project.
# SPDX-License-Identifier: Apache-2.0
# https://github.com/AcademySoftwareFoundation/OpenImageIO
BUILD_BIN_DIR=build/bin
if [[ "${RUNNER_OS}" == "Windows" ]] ; then
BUILD_BIN_DIR+=/${CMAKE_BUILD_TYPE}
fi
ls build
ls $BUILD_BIN_DIR
mkdir -p build/benchmarks
for t in image_span_test span_test ; do
echo
echo
echo "$t"
echo "========================================================"
OpenImageIO_CI=0 ${BUILD_BIN_DIR}/$t | tee build/benchmarks/$t.out
# Note: set OpenImageIO_CI=0 to avoid CI-specific automatic reduction of
# the number of trials and iterations.
echo "========================================================"
echo "========================================================"
echo
done