5 ms·
Go does slightly better in the 64-bit test (which I think is more apt to link to rather than the 32-bit which you keep using) http://benchmarksgame.alioth.debi
by gillianseed 14y ago
Go does slightly better in the 64-bit test (which I think is more apt to link to rather than the 32-bit which you keep using)
http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?test=all&lang=go&lang2=java http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?t...
That said, Java still beats Go quite readily in this benchmark spread, particularly in regex and binary-trees where Go does extremely poor. It should be noted that lots of languages implement their regex libraries in C for speed, while Go's implementation is written in Go. Still, I think it should do better than this.
That Java beats Go overall is not particularly surprising, Java is very mature and it's jit-compiler has very advanced optimizations, Perhaps by Go 2.0 we'll see where Go 'lands' in terms of performance, there's obviously alot more to be had.
- voidlogic 14y agoThe u64q link you posted is still using Go 1.0.3, you can see some 1.1 beta 1 results here: http://benchmarksgame.alioth.debian.org/u64/benchmark.php?test=all&lang=go&lang2=java http://benchmarksgame.alioth.debian.org/u64/benchmark.php?te...
- trailfox 14y agoThanks, the 32 bit results on quad core are Go 1.1 beta: http://benchmarksgame.alioth.debian.org/u32q/benchmark.php?test=all&lang=go&lang2=java http://benchmarksgame.alioth.debian.org/u32q/benchmark.php?t...
- voidlogic 14y agoGo does has known issues and does poorly on 32-bit x86, but that is OK, no one uses it :)-
- gillianseed 14y agoThanks! Are there any 1.1 beta 1 results for Go with quad core rather than one core?