summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-02 17:37:19 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-02 17:37:31 -0500
commitdbadd3e0a7c7ca4b1dd93cc7386ad151df1f4210 (patch)
tree7426798c341a812f3a8d6b430619223d72666661 /benchmark
parentcc01707c0ca8149fdb51d3e0ba988cefba23cb08 (diff)
parent5d4fc096459614c1b4f18f36a932f2cb51220aaf (diff)
make: add benchmark
Diffstat (limited to 'benchmark')
-rwxr-xr-xbenchmark7
1 files changed, 7 insertions, 0 deletions
diff --git a/benchmark b/benchmark
new file mode 100755
index 0000000..b06c621
--- /dev/null
+++ b/benchmark
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+rm -rf out
+thing='start up'
+{ make -j1; echo done;}|ts -i '%.s'|sed 's/ .* / /' |while read -r time newthing; do
+ echo $time $thing
+ thing=$newthing
+done | sort -n