(linenum→info "unix/slp.c:2238")

openssl/0.9.8g/util/speed.sh

    1: #!/bin/sh
    2: 
    3: #
    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.
    8: #
    9: # from the $(TOP) directory
   10: # Edit Configure, modifying things to do with the b/bl-4c-2c etc
   11: # configurations.
   12: #
   13: 
   14: make clean
   15: perl Configure b
   16: make
   17: apps/ssleay version -v -b -f >speed.1
   18: apps/ssleay speed >speed.1l
   19: 
   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
   24: 
   25: perl Configure bl-4c-ri
   26: /bin/rm -f crypto/rc4/rc4*.o
   27: make
   28: apps/ssleay speed rc4 >speed.3l
   29: 
   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
   33: 
   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
   39: 
Syntax (Markdown)