go/test/bench
Russ Cox 864c6bcbc7 test/bench: use range in reverse-complement
1.9s	gcc reverse-complement.c

reverse-complement.go
4.5s / 3.5s	original, with/without bounds checks
3.5s / 3.3s	bounds check reduction
3.3s / 2.8s	smarter garbage collector
2.6s / 2.3s	assembler bytes.IndexByte
2.5s / 2.1s	even smarter garbage collector
2.3s / 2.1s	fix optimizer unnecessary spill bug
2.0s / 1.9s	change loop to range (this CL)

R=r
https://golang.org/cl/166072
2009-12-04 21:44:29 -08:00
..
binary-tree-freelist.go gofmt -r 'α[β:len(α)] -> α[β:]' -w test/bench 2009-11-20 13:11:42 -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 gofmt -r 'α[β:len(α)] -> α[β:]' -w test/bench 2009-11-20 13:11:42 -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 change command-line argument to be 2009-11-30 15:16:40 -08:00
chameneosredux.txt chameneos 2009-08-07 15:28:46 -07: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 gofmt -r 'α[β:len(α)] -> α[β:]' -w test/bench 2009-11-20 13:11:42 -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 gofmt -r 'α[β:len(α)] -> α[β:]' -w test/bench 2009-11-20 13:11:42 -08:00
fasta.txt another benchmark: reverse-complement 2009-08-04 13:04:37 -07:00
k-nucleotide.c k-nucleotide 2009-08-06 13:00:26 -07:00
k-nucleotide.go move ReadFile, WriteFile, and ReadDir into a separate io/ioutil package. 2009-12-02 22:02:14 -08: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 gofmt -r 'α[β:len(α)] -> α[β:]' -w test/bench 2009-11-20 13:11:42 -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 gofmt -r 'α[β:len(α)] -> α[β:]' -w test/bench 2009-11-20 13:11:42 -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 gofmt -r 'α[β:len(α)] -> α[β:]' -w test/bench 2009-11-20 13:11:42 -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 gofmt -r 'α[β:len(α)] -> α[β:]' -w test/bench 2009-11-20 13:11:42 -08: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 move ReadFile, WriteFile, and ReadDir into a separate io/ioutil package. 2009-12-02 22:02:14 -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 test/bench: use range in reverse-complement 2009-12-04 21:44:29 -08:00
reverse-complement.txt another benchmark: reverse-complement 2009-08-04 13:04:37 -07:00
spectral-norm-parallel.go gofmt -r 'α[β:len(α)] -> α[β:]' -w test/bench 2009-11-20 13:11:42 -08:00
spectral-norm.c spectral-norm 2009-08-05 17:25:38 -07:00
spectral-norm.go gofmt -r 'α[β:len(α)] -> α[β:]' -w test/bench 2009-11-20 13:11:42 -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 gofmt -r 'α[β:len(α)] -> α[β:]' -w test/bench 2009-11-20 13:11:42 -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 timing log update for new version of chameneos 2009-11-24 14:19:43 -08:00
timing.sh change command-line argument to be 2009-11-30 15:16:40 -08:00