summaryrefslogtreecommitdiffstats
path: root/libnetdata/gorilla/benchmark.sh
blob: a5d111435fbf172b802850ac0106d54be48ecd74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash
#
# SPDX-License-Identifier: GPL-3.0-or-later
#

set -exu -o pipefail

clang++ \
    -std=c++11 -Wall -Wextra \
    -DENABLE_BENCHMARK -O2 -g \
    -lbenchmark -lbenchmark_main \
    -o gorilla_benchmark gorilla.cc

./gorilla_benchmark