Programming‎ > ‎Golang‎ > ‎Golang Vs All‎ > ‎

Benchmark : Go Vs Java


Go programs versus Java

all the Go program measurements

by benchmark task performance

binary-trees
secsKBgzcpucpu load
Go5.75300,82878316.1764% 91% 59% 69%
Java13.33519,94860318.6138% 24% 17% 62%
reverse-complement
secsKBgzcpucpu load
Go0.83259,39612430.9443% 12% 56% 4%
Java1.27315,29616612.6841% 48% 34% 92%
k-nucleotide
secsKBgzcpucpu load
Go8.16259,760139930.3393% 91% 98% 91%
Java11.291,118,288184438.6683% 97% 82% 82%
fasta-redux
secsKBgzcpucpu load
Go1.911,86012361.901% 1% 100% 1%
Java2.5929,94014432.651% 76% 1% 25%
pidigits
secsKBgzcpucpu load
Go2.8511,1406852.881% 35% 35% 32%
Java3.1233,5289383.223% 2% 80% 21%
spectral-norm
secsKBgzcpucpu load
Go3.952,72453615.7099% 99% 99% 100%
Java4.2832,69695016.5396% 96% 96% 99%
fannkuch-redux
secsKBgzcpucpu load
Go16.411,88490065.2599% 100% 99% 100%
Java17.4133,032128268.6498% 98% 99% 99%
n-body
secsKBgzcpucpu load
Go22.001,948131022.010% 1% 0% 100%
Java22.6630,036142422.6897% 3% 0% 1%
mandelbrot
secsKBgzcpucpu load
Go6.4432,04489425.5899% 100% 100% 100%
Java6.2788,99279624.2496% 97% 97% 98%
fasta
secsKBgzcpucpu load
Go2.423,71613446.3278% 51% 69% 64%
Java2.1939,36824575.6058% 72% 66% 61%
regex-dna
secsKBgzcpucpu load
Go16.85660,71278948.8399% 64% 63% 64%
Java8.24761,72492924.7068% 73% 77% 83%
Go

go version go1.6 linux/amd64

Java

java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)









Comments