Skip to content

Commit

Permalink
Run benchmarks_tea during runall.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
PROFeNoM committed Jan 11, 2024
1 parent a8beea1 commit 8c29309
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ TEA_INSTALL_DIR = $(TEA_BUILD_DIR)/opt
TEA_BUILD_TESTS ?= OFF
TEA_BUILD_BENCHMARKS ?= OFF
TEA_BENCHMARK_REPETITIONS ?= 10
# Note: If the tea benchmark format or output is changed, make changes to ./benchmark/runall.sh
TEA_BENCHMARK_FORMAT ?= json
TEA_BENCHMARK_OUTPUT ?= $(PROJECT_ROOT)/tea/benchmarks/reports/benchmarks.$(TEA_BENCHMARK_FORMAT)
TEA_BENCHMARK_OUTPUT ?= $(PROJECT_ROOT)/tea/benchmarks/reports/tea-bench-results.$(TEA_BENCHMARK_FORMAT)
COMPONENTS_BUILD_DIR = $(PROJECT_ROOT)/tmp/build_components
SO_FILE = $(BUILD_DIR)/modules/ddtrace.so
WALL_FLAGS = -Wall -Wextra
Expand Down
4 changes: 4 additions & 0 deletions benchmark/runall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,8 @@ elif [ "$SCENARIO" = "tracer" ]; then
## OPCache Benchmarks
make benchmarks_opcache
cp tests/Benchmarks/reports/tracer-bench-results-opcache.csv "$ARTIFACTS_DIR"

## Request Startup/Shutdown Benchmarks
make benchmarks_tea
cp tea/benchmarks/reports/tea-bench-results.json "$ARTIFACTS_DIR"
fi

0 comments on commit 8c29309

Please sign in to comment.