forked from aappleby/smhasher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot64.gnuplot
More file actions
executable file
·54 lines (51 loc) · 2.27 KB
/
plot64.gnuplot
File metadata and controls
executable file
·54 lines (51 loc) · 2.27 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 donothing64
!taskset -c 1 ./SMHasher donothing64 -s -n > donothing64.txt
!tail -1 donothing64.txt | awk '{ printf "%s %s donothing64\n", $1, $2 }' > donothing64label.txt
!echo City64
!taskset -c 1 ./SMHasher City64 -s -n > City64.txt
!tail -1 City64.txt | awk '{ printf "%s %s City64\n", $1, $2 }' > City64label.txt
!echo Spooky64
!taskset -c 1 ./SMHasher Spooky64 -s -n > Spooky64.txt
!tail -1 Spooky64.txt | awk '{ printf "%s %s Spooky64\n", $1, $2 }' > Spooky64label.txt
!echo AES64
!taskset -c 1 ./SMHasher AES64 -s -n > AES64.txt
!tail -1 AES64.txt | awk '{ printf "%s %s AES64\n", $1, $2 }' > AES64label.txt
!echo Risky64
!taskset -c 1 ./SMHasher Risky64 -s -n > Risky64.txt
!tail -1 Risky64.txt | awk '{ printf "%s %s Risky64\n", $1, $2 }' > Risky64label.txt
!echo XXH364
!taskset -c 1 ./SMHasher XXH364 -s -n > XXH364.txt
!tail -1 XXH364.txt | awk '{ printf "%s %s XXH364\n", $1, $2 }' > XXH364label.txt
!echo Meow64
!taskset -c 1 ./SMHasher Meow64 -s -n > Meow64.txt
!tail -1 Meow64.txt | awk '{ printf "%s %s Meow64\n", $1, $2 }' > Meow64label.txt
!echo Murmur2B
!taskset -c 1 ./SMHasher Murmur2B -s -n > Murmur2B.txt
!tail -1 Murmur2B.txt | awk '{ printf "%s %s Murmur2B\n", $1, $2 }' > Murmur2Blabel.txt
!echo Murmur2C
!taskset -c 1 ./SMHasher Murmur2C -s -n > Murmur2C.txt
!tail -1 Murmur2C.txt | awk '{ printf "%s %s Murmur2C\n", $1, $2 }' > Murmur2Clabel.txt
set title "SMHasher 64-bit hashes"
set ylabel "CPU cycles / hash"
set xlabel "Key length bytes"
unset key
set grid
plot "donothing64.txt" with linespoints, \
"donothing64label.txt" with labels offset +8,0, \
"City64.txt" with linespoints, \
"City64label.txt" with labels offset +5,0, \
"Spooky64.txt" with linespoints, \
"Spooky64label.txt" with labels offset +6,0, \
"AES64.txt" with linespoints, \
"AES64label.txt" with labels offset +4,0, \
"Risky64.txt" with linespoints, \
"Risky64label.txt" with labels offset +5,0, \
"XXH364.txt" with linespoints, \
"XXH364label.txt" with labels offset +5,0, \
"Meow64.txt" with linespoints, \
"Meow64label.txt" with labels offset +5,+1, \
"Murmur2B.txt" with linespoints, \
"Murmur2Blabel.txt" with labels offset +6,0, \
"Murmur2C.txt" with linespoints, \
"Murmur2Clabel.txt" with labels offset +6,0