YaK:: BENCHMARKING GOLANG & RYE WITH rye/fib27.py [Changes]   [Calendar]   [Search]   [Index]   [PhotoTags]   
[mega_changes]
[photos]

BENCHMARKING GOLANG & RYE WITH rye/fib27.py

BENCHMARKING RYE WITH rye/fib27.py


model name : Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
cpu MHz : 1200.000
cache size : 12288 KB
bogomips : 6982.74

\n\n \n\n \n\n \n\n \n\n
Version Runtime

1.1.1 10.5s

1.2.2 9.6s

1.3.3 8.6s

1.4 12.1s

For this machine-generated go code, version 1.4 is 40% slower than version 1.3.3.

cd /opt/yak/
mkdir gocode
mkdir gocode/src
rm -rf /opt/yak/gocode/pkg

GOROOT=/opt/yak/go1.2.2  PATH=$GOROOT/bin:$PATH  GOPATH=/opt/yak/gocode  sh -c 'cd gocode/src/github.com/strickyak/yak  ; go build  '

GOROOT=/opt/yak/go1.2.2  PATH=$GOROOT/bin:$PATH  GOPATH=/opt/yak/gocode  sh -c 'cd gocode/src/github.com/strickyak/rye  ; make  '

GOROOT=/opt/yak/go1.2.2  PATH=$GOROOT/bin:$PATH  GOPATH=/opt/yak/gocode  sh -c 'cd gocode/src/github.com/strickyak/rye  ; python rye.py  build fib27.py  '

for x in 1 2 3 4 5 ; do time gocode/src/github.com/strickyak/rye/fib27/fib27  ; done
( repeat for other versions )
(unless otherwise marked) Copyright 2002-2014 YakPeople. All rights reserved.
(last modified 2014-12-16)       [Login]
(No back references.)