aboutsummaryrefslogtreecommitdiff
path: root/benchtests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'benchtests/Makefile')
-rw-r--r--benchtests/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 74142da..53f84bf 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -63,10 +63,12 @@ bench-math := \
exp2f \
exp2m1f \
expf \
+ expl \
expm1 \
expm1f \
floor \
floorf \
+ fmal \
fmax \
fmaxf \
fmin \
@@ -94,6 +96,7 @@ bench-math := \
log1pf \
log2 \
log2f \
+ log2l \
log2p1f \
logb \
logbf \
@@ -101,10 +104,12 @@ bench-math := \
lrint \
lrintf \
modf \
+ modff \
nearbyint \
nearbyintf \
pow \
powf \
+ powl \
rint \
rintf \
roundeven \
@@ -155,6 +160,11 @@ bench-pthread := \
thread_create \
# bench-pthread
+bench-resolv := \
+ inet_ntop_ipv4 \
+ inet_ntop_ipv6 \
+ # bench-resolv
+
LDLIBS-bench-pthread-mutex-lock += -lm
LDLIBS-bench-pthread-mutex-trylock += -lm
LDLIBS-bench-pthread-spin-lock += -lm
@@ -328,8 +338,10 @@ CFLAGS-bench-isfinite.c += $(config-cflags-signaling-nans)
ifeq (${BENCHSET},)
bench-malloc := \
calloc-simple \
+ calloc-tcache \
calloc-thread \
malloc-simple \
+ malloc-tcache \
malloc-thread \
# bench-malloc
else
@@ -412,6 +424,7 @@ ifeq (${BENCHSET},)
bench := \
$(bench-math) \
$(bench-pthread) \
+ $(bench-resolv) \
$(bench-string) \
# bench
else
@@ -450,11 +463,14 @@ ifneq ($(strip ${BENCHSET}),)
VALIDBENCHSETNAMES := \
bench-math \
bench-pthread \
+ bench-resolv \
bench-string \
calloc-simple \
+ calloc-tcache \
calloc-thread \
hash-benchset \
malloc-simple \
+ malloc-tcache \
malloc-thread \
math-benchset \
stdio-benchset \
@@ -498,6 +514,11 @@ bench-malloc: $(binaries-bench-malloc)
echo "Running $${run} $${thr}"; \
$(run-bench) $${thr} > $${run}-$${thr}.out; \
done;\
+ elif basename $${run} | grep -q "bench-[cm]alloc-tcache"; then \
+ for thr in 64 512 1024; do \
+ echo "Running $${run} $${thr}"; \
+ $(run-bench) $${thr} > $${run}-$${thr}.out; \
+ done;\
else \
for thr in 8 16 32 64 128 256 512 1024 2048 4096; do \
echo "Running $${run} $${thr}"; \