Ignore machine-check MSRs
[freebsd-src/fkvm-freebsd.git] / crypto / openssl / util / speed.sh
blobf489706197b27cf5a12d9b16fcd62641377e19c0
1 #!/bin/sh
4 # This is a ugly script use, in conjuction with editing the 'b'
5 # configuration in the $(TOP)/Configure script which will
6 # output when finished a file called speed.log which is the
7 # timings of SSLeay with various options turned on or off.
9 # from the $(TOP) directory
10 # Edit Configure, modifying things to do with the b/bl-4c-2c etc
11 # configurations.
14 make clean
15 perl Configure b
16 make
17 apps/ssleay version -v -b -f >speed.1
18 apps/ssleay speed >speed.1l
20 perl Configure bl-4c-2c
21 /bin/rm -f crypto/rc4/*.o crypto/bn/bn*.o crypto/md2/md2_dgst.o
22 make
23 apps/ssleay speed rc4 rsa md2 >speed.2l
25 perl Configure bl-4c-ri
26 /bin/rm -f crypto/rc4/rc4*.o
27 make
28 apps/ssleay speed rc4 >speed.3l
30 perl Configure b2-is-ri-dp
31 /bin/rm -f crypto/idea/i_*.o crypto/rc4/*.o crypto/des/ecb_enc.o crypto/bn/bn*.o
32 apps/ssleay speed rsa rc4 idea des >speed.4l
34 cat speed.1 >speed.log
35 cat speed.1l >>speed.log
36 perl util/sp-diff.pl speed.1l speed.2l >>speed.log
37 perl util/sp-diff.pl speed.1l speed.3l >>speed.log
38 perl util/sp-diff.pl speed.1l speed.4l >>speed.log