155714Skris#!/bin/sh 255714Skris 355714Skris# 455714Skris# This is a ugly script use, in conjuction with editing the 'b' 555714Skris# configuration in the $(TOP)/Configure script which will 655714Skris# output when finished a file called speed.log which is the 755714Skris# timings of SSLeay with various options turned on or off. 855714Skris# 955714Skris# from the $(TOP) directory 1055714Skris# Edit Configure, modifying things to do with the b/bl-4c-2c etc 1155714Skris# configurations. 1255714Skris# 1355714Skris 1455714Skrismake clean 1555714Skrisperl Configure b 1655714Skrismake 1755714Skrisapps/ssleay version -v -b -f >speed.1 1855714Skrisapps/ssleay speed >speed.1l 1955714Skris 2055714Skrisperl Configure bl-4c-2c 2155714Skris/bin/rm -f crypto/rc4/*.o crypto/bn/bn*.o crypto/md2/md2_dgst.o 2255714Skrismake 2355714Skrisapps/ssleay speed rc4 rsa md2 >speed.2l 2455714Skris 2555714Skrisperl Configure bl-4c-ri 2655714Skris/bin/rm -f crypto/rc4/rc4*.o 2755714Skrismake 2855714Skrisapps/ssleay speed rc4 >speed.3l 2955714Skris 3055714Skrisperl Configure b2-is-ri-dp 3155714Skris/bin/rm -f crypto/idea/i_*.o crypto/rc4/*.o crypto/des/ecb_enc.o crypto/bn/bn*.o 3255714Skrisapps/ssleay speed rsa rc4 idea des >speed.4l 3355714Skris 3455714Skriscat speed.1 >speed.log 3555714Skriscat speed.1l >>speed.log 3655714Skrisperl util/sp-diff.pl speed.1l speed.2l >>speed.log 3755714Skrisperl util/sp-diff.pl speed.1l speed.3l >>speed.log 3855714Skrisperl util/sp-diff.pl speed.1l speed.4l >>speed.log 3955714Skris 40