aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rwxr-xr-xrun.rb (renamed from gen.rb)8
-rwxr-xr-xrun.sh25
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.
diff --git a/gen.rb b/run.rb
index 4f832d6..4591053 100755
--- a/gen.rb
+++ b/run.rb
@@ -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
diff --git a/run.sh b/run.sh
deleted file mode 100755
index 4155efa..0000000
--- a/run.sh
+++ /dev/null
@@ -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