summaryrefslogtreecommitdiff
path: root/test/bench
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-08-28 15:33:05 -0700
committerRob Pike <r@golang.org>2012-08-28 15:33:05 -0700
commit4a80e63e1f5d77cd8712a61c43009d05e3e2287d (patch)
tree0e62d0050419235b4293a7ab5df9aa4adb459fdb /test/bench
parent0801e602fba8f43af7fd313ea3e190ddb17c5707 (diff)
downloadgo-4a80e63e1f5d77cd8712a61c43009d05e3e2287d.tar.gz
test/bench/shootout: pidigits is much faster
Also fix a bug in the script (s/runonly/run/) R=golang-dev, bradfitz CC=golang-dev http://codereview.appspot.com/6501051
Diffstat (limited to 'test/bench')
-rw-r--r--test/bench/shootout/timing.log6
-rwxr-xr-xtest/bench/shootout/timing.sh2
2 files changed, 7 insertions, 1 deletions
diff --git a/test/bench/shootout/timing.log b/test/bench/shootout/timing.log
index c89f562e8..95d7982a2 100644
--- a/test/bench/shootout/timing.log
+++ b/test/bench/shootout/timing.log
@@ -1063,3 +1063,9 @@ pidigits 10000
gc pidigits 3.51u 0.00s 3.52r # -6%
gc_B pidigits 3.51u 0.00s 3.52r # -6%
+# Aug 28, 2012
+# After some assembler work in package big.
+pidigits 10000
+ gc pidigits 2.85u 0.02s 2.88r # -22%
+ gc_B pidigits 2.88u 0.01s 2.90r # -21%
+
diff --git a/test/bench/shootout/timing.sh b/test/bench/shootout/timing.sh
index 47707e743..890c7e809 100755
--- a/test/bench/shootout/timing.sh
+++ b/test/bench/shootout/timing.sh
@@ -176,7 +176,7 @@ meteor() {
pidigits() {
runonly echo 'pidigits 10000'
- runonly 'gcc -O2 pidigits.c -lgmp' a.out 10000
+ run 'gcc -O2 pidigits.c -lgmp' a.out 10000
run 'gccgo -O2 pidigits.go' a.out -n 10000
run 'gc pidigits' $O.out -n 10000
run 'gc_B pidigits' $O.out -n 10000