blob: 5763024c0864a8fa9dd32155661630da3171cdfd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
base=$1
echo "No threads test. Test difference of static linkage, shared and debug versus glibc"
cat $base | ./timeusage.sh > t1
cat $base | grep time | grep allocfree_ | cut -d'5' -f2 | awk '{print $1*2 + $2 ";"}' > t2
cat $base | grep "Total" | awk '{print $2}' > t3
paste testnames.all testtype.all t2 t1 t3 > t4
for t in "cross thread" "same thread" "same + cross"
do
echo $t
for f in "glibc" "vespamallostatic" "vespamalloc" "tcmalloc" "jemalloc" "ptmalloc3" "nedmalloc" "hoard" "tlsf"
do
grep "$t" t4 | grep "$f" | cut -d';' -f7 | xargs echo $f | sed "s/ /;/g"
done
done
cat t4
|