1
0
mirror of https://github.com/golang/go synced 2024-11-25 23:07:58 -07:00
go/test/bench
Evan Shaw 76cbbc8a95 big: Add Lsh and Value; convert pidigits to use big
This yields a pretty significant performance boost to pidigits and there are still some improvements to be made. Here are my numbers:

amd64 w/ bignum:
pidigits 10000
        gcc -O2 pidigits.c -lgmp        2.10u 0.00s 2.10r
        gc pidigits     22.92u 0.02s 22.97r
        gc_B pidigits   22.62u 0.00s 22.65r

amd64 w/ big:
pidigits 10000
        gcc -O2 pidigits.c -lgmp        2.09u 0.02s 2.11r
        gc pidigits     12.68u 0.04s 12.72r
        gc_B pidigits   12.71u 0.03s 12.75r

386 w/ bignum:
pidigits 10000
        gcc -O2 pidigits.c -lgmp        2.09u 0.00s 2.09r
        gc pidigits     44.30u 0.01s 44.35r
        gc_B pidigits   44.29u 0.03s 44.35r

386 w/ big:
pidigits 10000
        gcc -O2 pidigits.c -lgmp        2.10u 0.00s 2.10r
        gc pidigits     22.70u 0.06s 22.79r
        gc_B pidigits   22.80u 0.09s 22.91r

R=rsc, gri
CC=golang-dev
https://golang.org/cl/881050
2010-04-20 20:39:36 -07:00
..
binary-tree-freelist.go 1) Change default gofmt default settings for 2009-12-15 15:41:46 -08:00
binary-tree-freelist.txt run benchmarks in a relatively fast test mode, as part of run.bash/all.bash 2009-08-09 14:31:05 -07:00
binary-tree.c binary tree 2009-08-04 19:38:08 -07:00
binary-tree.go 1) Change default gofmt default settings for 2009-12-15 15:41:46 -08:00
binary-tree.txt binary tree 2009-08-04 19:38:08 -07:00
chameneosredux.c chameneos 2009-08-07 15:28:46 -07:00
chameneosredux.go strings: delete Runes, Bytes 2010-02-25 16:01:29 -08:00
chameneosredux.txt changes necessary to get the new chameneosredux onto shootout.alioth.debian.org . 2009-12-07 10:06:51 -08:00
clean.bash clean more 2009-10-03 10:38:03 -07:00
fannkuch.c fannkuch 2009-08-05 11:33:59 -07:00
fannkuch.go 1) Change default gofmt default settings for 2009-12-15 15:41:46 -08:00
fannkuch.txt fannkuch 2009-08-05 11:33:59 -07:00
fasta-1000.out run benchmarks in a relatively fast test mode, as part of run.bash/all.bash 2009-08-09 14:31:05 -07:00
fasta.c test/bench revisions; 2009-11-20 08:59:11 -08:00
fasta.go strings: delete Runes, Bytes 2010-02-25 16:01:29 -08:00
fasta.txt another benchmark: reverse-complement 2009-08-04 13:04:37 -07:00
k-nucleotide-parallel.go test/bench: add k-nucleotide-parallel 2010-04-05 22:32:36 -07:00
k-nucleotide-parallel.txt test/bench: add k-nucleotide-parallel 2010-04-05 22:32:36 -07:00
k-nucleotide.c k-nucleotide 2009-08-06 13:00:26 -07:00
k-nucleotide.go simplify various code using new map index rule 2010-03-30 10:51:11 -07:00
k-nucleotide.txt run benchmarks in a relatively fast test mode, as part of run.bash/all.bash 2009-08-09 14:31:05 -07:00
mandelbrot.c mandelbrot 2009-08-06 14:21:21 -07:00
mandelbrot.go 1) Change default gofmt default settings for 2009-12-15 15:41:46 -08:00
mandelbrot.txt mandelbrot 2009-08-06 14:21:21 -07:00
meteor-contest.c meteor-contest 2009-08-06 18:04:48 -07:00
meteor-contest.go strings: delete Runes, Bytes 2010-02-25 16:01:29 -08:00
meteor-contest.txt meteor-contest 2009-08-06 18:04:48 -07:00
nbody.c nbody benchmark 2009-08-04 14:27:46 -07:00
nbody.go 1) Change default gofmt default settings for 2009-12-15 15:41:46 -08:00
nbody.txt run benchmarks in a relatively fast test mode, as part of run.bash/all.bash 2009-08-09 14:31:05 -07:00
pidigits.c timings for pidigits 2009-08-06 18:27:15 -07:00
pidigits.go big: Add Lsh and Value; convert pidigits to use big 2010-04-20 20:39:36 -07:00
pidigits.txt timings for pidigits 2009-08-06 18:27:15 -07:00
regex-dna.c regex-dna 2009-08-05 13:03:46 -07:00
regex-dna.go strings: delete Runes, Bytes 2010-02-25 16:01:29 -08:00
regex-dna.txt run benchmarks in a relatively fast test mode, as part of run.bash/all.bash 2009-08-09 14:31:05 -07:00
reverse-complement.c another benchmark: reverse-complement 2009-08-04 13:04:37 -07:00
reverse-complement.go 1) Change default gofmt default settings for 2009-12-15 15:41:46 -08:00
reverse-complement.txt another benchmark: reverse-complement 2009-08-04 13:04:37 -07:00
spectral-norm-parallel.go 1) Change default gofmt default settings for 2009-12-15 15:41:46 -08:00
spectral-norm.c spectral-norm 2009-08-05 17:25:38 -07:00
spectral-norm.go 1) Change default gofmt default settings for 2009-12-15 15:41:46 -08:00
spectral-norm.txt spectral-norm 2009-08-05 17:25:38 -07:00
threadring.c threadring 2009-08-07 12:53:51 -07:00
threadring.go 1) Change default gofmt default settings for 2009-12-15 15:41:46 -08:00
threadring.txt run benchmarks in a relatively fast test mode, as part of run.bash/all.bash 2009-08-09 14:31:05 -07:00
timing.log update timing logs for benchmarks. 2010-01-06 19:36:28 -08:00
timing.sh test/bench: add k-nucleotide-parallel 2010-04-05 22:32:36 -07:00