÷

 Step 1 : Are the Go 6g 8g programs faster? At a glance.

This chart shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.

Each chart bar shows, for one unidentified benchmark, how much the fastest Go 6g 8g program used compared to the fastest C++ GNU g++ program.


 Step 2 : Are the Go 6g 8g programs faster? Approximately.

This table shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.

Each table row shows, for one named benchmark, how much the fastest Go 6g 8g program used compared to the fastest C++ GNU g++ program.

 Go 6g 8g used what fraction? used how many times more? 
Benchmark Time Memory Code
 chameneos-redux±1/21/2
 n-body±±±
 binary-trees±±±
 spectral-norm±1/3
 fannkuch1/21/2
 reverse-complement1/21/4
 mandelbrot±±
 fasta±±
 regex-dna30×1/3
 k-nucleotide41×1/4

± read the measurements and then read the program source code.

 Step 3 : Are the Go 6g 8g programs faster? Measurements.

This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ≈ CPU Load ~ speed and size.

For each named benchmark, measurements of the fastest Go 6g 8g program are shown for comparison against measurements of the fastest C++ GNU g++ program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 chameneos-redux 
Go 6g 8g6.436.43828957  0% 0% 0% 100%
C++ GNU g++8.678.711,3201994  0% 0% 0% 100%
 n-body 
Go 6g 8g32.6932.697721310  0% 0% 0% 100%
C++ GNU g++23.0123.019361428  0% 0% 0% 100%
 binary-trees 
Go 6g 8g22.9422.94222,400695  0% 0% 0% 100%
C++ GNU g++15.9515.95296,220892  0% 0% 0% 100%
 spectral-norm 
Go 6g 8g26.3226.321,568413  0% 0% 0% 100%
C++ GNU g++11.2911.291,1681278  1% 11% 0% 100%
 fannkuch 
Go 6g 8g119.70119.69760510  0% 0% 0% 100%
C++ GNU g++51.1551.151,2841186  0% 0% 0% 100%
 reverse-complement 
Go 6g 8g2.102.10160,668543  0% 0% 1% 100%
C++ GNU g++0.840.88243,8402275  0% 1% 0% 100%
 mandelbrot 
Go 6g 8g73.4473.4731,536700  0% 0% 0% 100%
C++ GNU g++24.2824.2931,400858  0% 0% 0% 100%
 fasta 
Go 6g 8g7.247.247681043  0% 0% 0% 100%
C++ GNU g++2.262.269721470  0% 0% 0% 100%
 regex-dna 
Go 6g 8g401.65401.67635,924624  0% 0% 0% 100%
C++ GNU g++13.2413.2496,8481759  0% 0% 0% 100%
 k-nucleotide 
Go 6g 8g298.34300.57379,484856  0% 0% 0% 100%
C++ GNU g++7.287.3050,5083416  0% 0% 0% 100%
 pidigits 
Go 6g 8gMake Error
C++ GNU g++0.090.09?682  0% 0% 0% 100%

 Step 4 : Are there other Go 6g 8g programs for these benchmarks?

Remember - those are just the fastest Go 6g 8g and C++ GNU g++ programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Go 6g 8g.

Maybe one of those other Go 6g 8g programs is fastest on a different OS/machine.

 Step 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest Go 6g 8g and C++ GNU g++ programs measured on this OS/machine. Check if there are faster implementations of these benchmark programs for other programming languages.

Maybe one of those other programs is fastest on a different OS/machine.

 Go 6g 8g : types just are - Go is an experiment 

tip release.2010-01-05 4530:3887d4d81bca
release.2010-01-05 4530:3887d4d81bca

Home Page: Go - a systems programming language

Download: Installing Go

Revised BSD license

  Home   Flawed   Fastest   License   Help