forked from aappleby/smhasher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot128.gnuplot
More file actions
executable file
·54 lines (51 loc) · 2.33 KB
/
plot128.gnuplot
File metadata and controls
executable file
·54 lines (51 loc) · 2.33 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/gnuplot
!echo donothing128
!taskset -c 1 ./SMHasher donothing128 -s -n > donothing128.txt
!tail -1 donothing128.txt | awk '{ printf "%s %s donothing128\n", $1, $2 }' > donothing128label.txt
!echo City128
!taskset -c 1 ./SMHasher City128 -s -n > City128.txt
!tail -1 City128.txt | awk '{ printf "%s %s City128\n", $1, $2 }' > City128label.txt
!echo Spooky128
!taskset -c 1 ./SMHasher Spooky128 -s -n > Spooky128.txt
!tail -1 Spooky128.txt | awk '{ printf "%s %s Spooky128\n", $1, $2 }' > Spooky128label.txt
!echo AES128
!taskset -c 1 ./SMHasher AES128 -s -n > AES128.txt
!tail -1 AES128.txt | awk '{ printf "%s %s AES128\n", $1, $2 }' > AES128label.txt
!echo Risky128
!taskset -c 1 ./SMHasher Risky128 -s -n > Risky128.txt
!tail -1 Risky128.txt | awk '{ printf "%s %s Risky128\n", $1, $2 }' > Risky128label.txt
!echo XXH3128
!taskset -c 1 ./SMHasher XXH3128 -s -n > XXH3128.txt
!tail -1 XXH3128.txt | awk '{ printf "%s %s XXH3128\n", $1, $2 }' > XXH3128label.txt
!echo Meow128
!taskset -c 1 ./SMHasher Meow128 -s -n > Meow128.txt
!tail -1 Meow128.txt | awk '{ printf "%s %s Meow128\n", $1, $2 }' > Meow128label.txt
!echo Murmur3C
!taskset -c 1 ./SMHasher Murmur3C -s -n > Murmur3C.txt
!tail -1 Murmur3C.txt | awk '{ printf "%s %s Murmur3C\n", $1, $2 }' > Murmur3Clabel.txt
!echo Murmur3F
!taskset -c 1 ./SMHasher Murmur3F -s -n > Murmur3F.txt
!tail -1 Murmur3F.txt | awk '{ printf "%s %s Murmur3F\n", $1, $2 }' > Murmur3Flabel.txt
set title "SMHasher 128-bit hashes"
set ylabel "CPU cycles / hash"
set xlabel "Key length bytes"
unset key
set grid
plot "donothing128.txt" with linespoints, \
"donothing128label.txt" with labels offset +7,0, \
"City128.txt" with linespoints, \
"City128label.txt" with labels offset +5,0, \
"Spooky128.txt" with linespoints, \
"Spooky128label.txt" with labels offset +6,0, \
"AES128.txt" with linespoints, \
"AES128label.txt" with labels offset +5,0, \
"Risky128.txt" with linespoints, \
"Risky128label.txt" with labels offset +5,0, \
"XXH3128.txt" with linespoints, \
"XXH3128label.txt" with labels offset +5,0, \
"Meow128.txt" with linespoints, \
"Meow128label.txt" with labels offset +5,0, \
"Murmur3C.txt" with linespoints, \
"Murmur3Clabel.txt" with labels offset +6,0, \
"Murmur3F.txt" with linespoints, \
"Murmur3Flabel.txt" with labels offset +6,0