mirror of
https://github.com/golang/go
synced 2024-11-21 15:44:44 -07:00
test/bench: update timings; moving to new machine.
Interesting comparisons between old and new machine, and relationship between gccgo and gc. R=golang-dev, rsc1 CC=golang-dev https://golang.org/cl/4430045
This commit is contained in:
parent
f80f97a351
commit
e3634aad9d
@ -674,3 +674,173 @@ threadring 50000000
|
||||
gcc -O2 threadring.c 30.50u 258.05s 325.72r
|
||||
gccgo -O2 threadring.go 92.87u 748.39s 728.46r
|
||||
gc threadring 38.03u 0.01s 38.04r
|
||||
|
||||
# Apr 15, 2011
|
||||
# Move to new machine, Intel Xeon E5520@2.27GHz.
|
||||
# (Was Opteron(tm) Processor 8214 HE)
|
||||
|
||||
fasta -n 25000000
|
||||
OLD:
|
||||
gcc -O2 fasta.c 3.39u 0.04s 3.42r
|
||||
gccgo -O2 fasta.go 3.52u 0.00s 3.52r
|
||||
gc fasta 3.63u 0.04s 3.67r
|
||||
gc_B fasta 3.66u 0.00s 3.66r
|
||||
NEW:
|
||||
gcc -O2 fasta.c 1.45u 0.02s 1.47r
|
||||
gccgo -O2 fasta.go 1.51u 0.01s 1.51r
|
||||
gc fasta 2.04u 0.00s 2.04r
|
||||
gc_B fasta 2.05u 0.00s 2.04r
|
||||
|
||||
reverse-complement < output-of-fasta-25000000
|
||||
OLD:
|
||||
gcc -O2 reverse-complement.c 1.87u 1.51s 7.02r
|
||||
gccgo -O2 reverse-complement.go 1.56u 0.54s 3.37r
|
||||
gc reverse-complement 1.73u 0.36s 2.08r
|
||||
gc_B reverse-complement 1.75u 0.37s 2.12r
|
||||
NEW:
|
||||
gcc -O2 reverse-complement.c 1.20u 0.47s 12.96r
|
||||
gccgo -O2 reverse-complement.go 0.88u 0.14s 1.01r
|
||||
gc reverse-complement 1.13u 0.17s 1.30r
|
||||
gc_B reverse-complement 1.11u 0.09s 1.20r
|
||||
|
||||
nbody -n 50000000
|
||||
OLD:
|
||||
gcc -O2 -lm nbody.c 21.90u 0.00s 21.92r
|
||||
gccgo -O2 nbody.go 23.12u 0.03s 23.19r
|
||||
gc nbody 29.07u 0.00s 29.07r
|
||||
gc_B nbody 31.84u 0.00s 31.85r
|
||||
NEW:
|
||||
gcc -O2 -lm nbody.c 13.01u 0.00s 13.03r
|
||||
gccgo -O2 nbody.go 13.35u 0.00s 13.37r
|
||||
gc nbody 21.78u 0.00s 21.82r
|
||||
gc_B nbody 21.72u 0.00s 21.76r
|
||||
|
||||
binary-tree 15 # too slow to use 20
|
||||
OLD:
|
||||
gcc -O2 binary-tree.c -lm 0.83u 0.02s 0.84r
|
||||
gccgo -O2 binary-tree.go 2.61u 0.02s 2.62r
|
||||
gccgo -O2 binary-tree-freelist.go 0.32u 0.01s 0.32r
|
||||
gc binary-tree 3.93u 0.04s 3.97r
|
||||
gc binary-tree-freelist 0.47u 0.03s 0.50r
|
||||
NEW:
|
||||
gcc -O2 binary-tree.c -lm 0.60u 0.00s 0.59r
|
||||
gccgo -O2 binary-tree.go 1.53u 0.00s 1.52r
|
||||
gccgo -O2 binary-tree-freelist.go 0.01u 0.00s 0.00r
|
||||
gc binary-tree 1.93u 0.02s 1.95r
|
||||
gc binary-tree-freelist 0.32u 0.01s 0.32r
|
||||
|
||||
fannkuch 12
|
||||
OLD:
|
||||
gcc -O2 fannkuch.c 57.64u 0.00s 57.64r
|
||||
gccgo -O2 fannkuch.go 65.56u 0.01s 65.65r
|
||||
gccgo -O2 fannkuch-parallel.go 179.12u 0.00s 49.82r
|
||||
gc fannkuch 126.39u 0.00s 126.39r
|
||||
gc fannkuch-parallel 172.49u 0.02s 45.44r
|
||||
gc_B fannkuch 89.30u 0.00s 89.28r
|
||||
NEW:
|
||||
gcc -O2 fannkuch.c 45.17u 0.00s 45.26r
|
||||
gccgo -O2 fannkuch.go 53.63u 0.00s 53.73r
|
||||
gccgo -O2 fannkuch-parallel.go 216.72u 0.00s 58.42r
|
||||
gc fannkuch 108.21u 0.00s 108.44r
|
||||
gc fannkuch-parallel 227.20u 0.00s 57.27r
|
||||
gc_B fannkuch 56.14u 0.00s 56.26r
|
||||
|
||||
regex-dna 100000
|
||||
OLD:
|
||||
gcc -O2 regex-dna.c -lpcre 0.77u 0.01s 0.78r
|
||||
gccgo -O2 regex-dna.go 10.15u 0.02s 10.23r
|
||||
gccgo -O2 regex-dna-parallel.go 33.81u 3.22s 11.62r
|
||||
gc regex-dna 6.52u 0.04s 6.56r
|
||||
gc regex-dna-parallel 6.84u 0.03s 2.70r
|
||||
gc_B regex-dna 6.83u 0.01s 6.84r
|
||||
NEW:
|
||||
gcc -O2 regex-dna.c -lpcre 0.47u 0.00s 0.47r
|
||||
gccgo -O2 regex-dna.go 6.00u 0.00s 6.00r
|
||||
gccgo -O2 regex-dna-parallel.go 44.54u 1.57s 6.51r
|
||||
gc regex-dna 5.41u 0.01s 5.42r
|
||||
gc regex-dna-parallel 5.62u 0.01s 2.20r
|
||||
gc_B regex-dna 5.50u 0.00s 5.50r
|
||||
|
||||
spectral-norm 5500
|
||||
OLD:
|
||||
gcc -O2 spectral-norm.c -lm 12.29u 0.00s 12.28r
|
||||
gccgo -O2 spectral-norm.go 11.56u 0.00s 11.55r
|
||||
gc spectral-norm 23.98u 0.00s 24.00r
|
||||
gc_B spectral-norm 24.62u 0.00s 24.65r
|
||||
NEW:
|
||||
gcc -O2 spectral-norm.c -lm 15.79u 0.00s 15.82r
|
||||
gccgo -O2 spectral-norm.go 15.32u 0.00s 15.35r
|
||||
gc spectral-norm 19.62u 0.01s 19.67r
|
||||
gc_B spectral-norm 19.62u 0.00s 19.66r
|
||||
|
||||
k-nucleotide 1000000
|
||||
OLD:
|
||||
gcc -O2 k-nucleotide.c 9.82u 0.06s 9.87r
|
||||
gccgo -O2 k-nucleotide.go 8.30u 0.02s 8.32r
|
||||
gccgo -O2 k-nucleotide-parallel.go 8.84u 0.05s 3.02r
|
||||
gc k-nucleotide 15.38u 0.07s 15.44r
|
||||
gc k-nucleotide-parallel 16.40u 0.03s 5.93r
|
||||
gc_B k-nucleotide 15.19u 0.05s 15.23r
|
||||
NEW:
|
||||
gcc -O2 -k-nucleotide.c 4.88u 0.03s 4.92r
|
||||
gccgo -O2 k-nucleotide.go 5.94u 0.01s 5.96r
|
||||
gccgo -O2 k-nucleotide-parallel.go 6.44u 0.03s 1.47r
|
||||
gc k-nucleotide 9.61u 0.01s 9.63r
|
||||
gc k-nucleotide-parallel 9.70u 0.00s 3.39r
|
||||
gc_B k-nucleotide 9.19u 0.03s 9.23r
|
||||
|
||||
mandelbrot 16000
|
||||
OLD:
|
||||
gcc -O2 mandelbrot.c 54.54u 0.00s 54.56r
|
||||
gccgo -O2 mandelbrot.go 59.63u 0.03s 59.67r
|
||||
gc mandelbrot 64.82u 0.00s 64.83r
|
||||
gc_B mandelbrot 64.84u 0.00s 64.91r
|
||||
NEW:
|
||||
gcc -O2 mandelbrot.c 36.07u 0.01s 36.15r
|
||||
gccgo -O2 mandelbrot.go 43.57u 0.00s 43.66r
|
||||
gc mandelbrot 60.66u 0.00s 60.79r
|
||||
gc_B mandelbrot 60.90u 0.00s 61.03r
|
||||
|
||||
meteor 2098
|
||||
OLD:
|
||||
gcc -O2 meteor-contest.c 0.11u 0.00s 0.10r
|
||||
gccgo -O2 meteor-contest.go 0.10u 0.01s 0.10r
|
||||
gc meteor-contest 0.18u 0.00s 0.17r
|
||||
gc_B meteor-contest 0.17u 0.00s 0.16r
|
||||
NEW:
|
||||
gcc -O2 meteor-contest.c 0.10u 0.00s 0.09r
|
||||
gccgo -O2 meteor-contest.go 0.10u 0.00s 0.09r
|
||||
gc meteor-contest 0.14u 0.00s 0.14r
|
||||
gc_B meteor-contest 0.13u 0.00s 0.13r
|
||||
|
||||
pidigits 10000
|
||||
OLD:
|
||||
gcc -O2 pidigits.c -lgmp 2.22u 0.00s 2.21r
|
||||
gccgo -O2 pidigits.go 13.39u 0.00s 13.40r
|
||||
gc pidigits 6.42u 0.04s 6.45r
|
||||
gc_B pidigits 6.45u 0.02s 6.47r
|
||||
NEW:
|
||||
gcc -O2 pidigits.c -lgmp 2.27u 0.00s 2.29r
|
||||
gccgo -O2 pidigits.go 9.21u 0.00s 9.22r
|
||||
gc pidigits 3.60u 0.00s 3.60r
|
||||
gc_B pidigits 3.56u 0.02s 3.58r
|
||||
|
||||
threadring 50000000
|
||||
OLD:
|
||||
gcc -O2 threadring.c -lpthread 34.51u 267.95s 336.12r
|
||||
gccgo -O2 threadring.go 103.51u 588.57s 627.16r
|
||||
gc threadring 54.68u 0.00s 54.73r
|
||||
NEW:
|
||||
gcc -O2 threadring.c 32.00u 259.39s 369.74r
|
||||
gccgo -O2 threadring.go 133.06u 546.02s 595.33r
|
||||
gc threadring 16.75u 0.02s 16.80r
|
||||
|
||||
chameneos 6000000
|
||||
OLD:
|
||||
gcc -O2 chameneosredux.c -lpthread 12.65u 31.02s 13.33r
|
||||
gccgo -O2 chameneosredux.go 47.04u 302.84s 252.29r
|
||||
gc chameneosredux 14.14u 0.00s 14.14r
|
||||
NEW:
|
||||
gcc -O2 chameneosredux.c -lpthread 8.05u 63.43s 11.16r
|
||||
gccgo -O2 chameneosredux.go 82.95u 304.37s 207.64r
|
||||
gc chameneosredux 9.42u 0.00s 9.43r
|
||||
|
Loading…
Reference in New Issue
Block a user