diff options
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | run.rb (renamed from gen.rb) | 8 | ||||
-rwxr-xr-x | run.sh | 25 |
3 files changed, 6 insertions, 29 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..3e0fcc2 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +OpenSSL benchmarks across a bunch of systems for a basic Raspberry Pi 4 +Model B comparison. @@ -1,14 +1,14 @@ #!/usr/bin/env ruby # -# gen.rb: Benchmark OpenSSL ciphers on several systems, then do +# run.rb: Benchmark OpenSSL ciphers on several systems, then do # the following: # # * aggregate the results as CSV files # * create SVG charts of the results # * generate HTML fragments for the SVG results # -# Usage: ./gen.rb config.yaml +# Usage: ./run.rb config.yaml # # See included `config.yaml` for configuration options # @@ -19,7 +19,7 @@ require 'csv' require 'logger' require 'json' -module Tentacle +module PiBench # block sizes SIZES = %w{16 64 256 1024 8192 16384} @@ -692,4 +692,4 @@ module Tentacle end # allow cli invocation -Tentacle.run($0, ARGV) if __FILE__ == $0 +PiBench.run($0, ARGV) if __FILE__ == $0 @@ -1,25 +0,0 @@ -#!/bin/sh - -for i in v4.wg flex cherry zero pecan peach pmdn.org; do - echo $i - mkdir -p $i - ssh $i lscpu > $i/lscpu.txt - ssh $i openssl speed -mr -evp blake2b512 sha256 sha512 aes > $i/openssl-speed.txt & -done - -# join tasks -fg - -# mask hostnames -mv v4.wg v4 -mv pmdn.org linode - -# generate csvs in csvs/ -ruby ./gen-csvs.rb */openssl-speed.txt - -# generate charts in svgs/ -for i in csvs/*.csv; do - python3 ./plot.py "$i" "${i//csv/svg}" -done - -echo done |