1
0
mirror of https://github.com/golang/go synced 2024-11-18 09:14:43 -07:00
go/test
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
..
bench test/bench: use range in reverse-complement 2009-12-04 21:44:29 -08:00
bugs gc: handle _ = <-c in select. 2009-12-03 01:30:19 -08:00
chan last round: non-package code 2009-09-15 12:42:24 -07:00
fixedbugs gc: check for assignment to private fields during initialization 2009-12-03 22:09:58 -08:00
interface test/interface/receiver.go: expand to do dynamic 2009-11-14 19:28:13 -08:00
ken x[y:] for strings 2009-11-20 11:42:28 -08:00
nilptr drop output from nilptr tests; 2009-11-09 23:11:36 -08:00
64bit.go 386 shift bug; wasn't zero-extending 16- and 8-bit counts 2009-10-15 16:32:45 -07:00
235.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
args.go
arm-pass.txt make arm pass match what's working on real hardware 2009-11-14 20:08:22 -08:00
assign.go gc: check for assignment to private fields during initialization 2009-12-03 22:09:58 -08:00
bigalg.go unused imports 2009-09-17 10:27:04 -07:00
blank1.go write-only variable _ 2009-09-08 23:16:19 -07:00
blank.go 6g bug fixes: 2009-10-19 19:27:40 -07:00
chancap.go
char_lit.go
closedchan.go
closure.go
cmp1.go
cmp2.go
cmp3.go
cmp4.go
cmp5.go
complit.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
compos.go missing files; cleaned up g4 nothave output. 2009-09-24 13:38:18 -07:00
const1.go Cleaned up gccgo error messages require minor adjustment to 2009-11-05 16:04:45 -08:00
const2.go
const3.go
const.go
convert3.go
convert.go
convlit1.go
convlit.go
copy.go - flip in and out to exercise overlap check a little (could do better) 2009-11-18 22:26:36 -08:00
decl.go last round: non-package code 2009-09-15 12:42:24 -07:00
declbad.go last round: non-package code 2009-09-15 12:42:24 -07:00
defer.go
empty.go
env.go
errchk handle compiler crash better: 2009-10-09 16:44:40 -07:00
escape1.go
escape.go last round: non-package code 2009-09-15 12:42:24 -07:00
float_lit.go gc: fix up floating point NaN comparisons 2009-11-15 17:24:14 -08:00
floatcmp.go gc: fix up floating point NaN comparisons 2009-11-15 17:24:14 -08:00
for.go
func1.go
func2.go
func3.go
func4.go
func5.go add tests for the func()() case 2009-09-14 13:09:53 -07:00
func.go
gc1.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
gc.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
golden.out gc: handle _ = <-c in select. 2009-12-03 01:30:19 -08:00
hashmap.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
helloworld.go
hilbert.go
if1.go
if.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
import1.go
import.go
indirect1.go
indirect.go
initcomma.go
initialize.go last round: non-package code 2009-09-15 12:42:24 -07:00
initializerr.go
initsyscall.go unused imports 2009-09-17 10:27:04 -07:00
int_lit.go
intcvt.go
iota.go
literal.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
malloc1.go
mallocrand.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
mallocrep1.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
mallocrep.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
map.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
method1.go
method2.go
method3.go
method.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
nacl-pass.txt nacl - run tests under emulator. 2009-09-22 16:56:28 -07:00
named1.go gccgo does not distinguish "use" and "assign" in these error 2009-10-20 23:11:00 -07:00
named.go test: comparisons have type bool 2009-09-24 17:54:47 -07:00
nil.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
parentype.go undo 35108 (disallow parens around type in struct literal). 2009-09-29 21:21:14 -07:00
peano.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
printbig.go
range.go last round: non-package code 2009-09-15 12:42:24 -07:00
rename1.go Recognize gccgo error messages. 2009-10-26 16:06:46 -07:00
rename.go defining package block names must override 2009-09-09 01:01:39 -07:00
run Make tests run on systems missing time utility 2009-11-30 15:07:57 -08:00
run-arm fix arm test to actual return success/fail and expose runcgo 2009-10-05 21:51:34 -07:00
run-nacl make Native Client support build again, 2009-12-04 10:11:32 -08:00
runtime.go Recognize gccgo error message. 2009-11-02 10:12:40 -08:00
sieve.go
sigchld.go
simassign.go
stack.go
string_lit.go
stringrange.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
switch1.go
switch.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
test0.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
turing.go
typeswitch1.go update type switch to match spec. 2009-09-09 00:18:16 -07:00
typeswitch.go
utf.go
varinit.go
vectors.go Change to container/vector interface: 2009-11-24 13:43:18 -08:00