- 15 Dec, 2011 23 commits
-
-
Rob Pike authored
%g down to two mallocs from four. Also a mild speedup. fmt_test.BenchmarkSprintfFloat 3016 2703 -10.38% Fixes #2557. R=rsc CC=golang-dev https://golang.org/cl/5491054
-
Brad Fitzpatrick authored
Before/after, best of 3: json.BenchmarkCodeEncoder 10 183495300 ns/op 10.58 MB/s -> json.BenchmarkCodeEncoder 10 133025100 ns/op 14.59 MB/s But don't get too excited about this. These benchmarks, while stable at any point of time, fluctuate wildly with any line of code added or removed anywhere in the path due to stack splitting issues. It's currently much faster, though, and this is the API that doesn't allocate so should always be faster in theory. R=golang-dev, dsymonds, rsc, r, gri CC=golang-dev https://golang.org/cl/5411052
-
Russ Cox authored
The plan is to make 'go test' replace gotest entirely, so it cannot refer to gotest's godoc. Instead, copy gotest's documentation in as three different help messages: 'go help test', 'go help testflag', and 'go help testfunc'. R=r CC=golang-dev https://golang.org/cl/5491048
-
Robert Griesemer authored
Several places mentioned tokens spanning "multiple lines" which is not a well-defined term in the spec; newline is. R=golang-dev, rsc, r CC=golang-dev https://golang.org/cl/5490046
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/5495049
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5490047
-
Brad Fitzpatrick authored
Also, fix package name in error messages. Fixes #2453 R=rsc CC=golang-dev https://golang.org/cl/5483088
-
Brad Fitzpatrick authored
Not a fix yet (help wanted), but part of Issue 2331 R=rsc CC=golang-dev https://golang.org/cl/5490043
-
Russ Cox authored
It is probably a mistake to have these here at all - os is supposed to be portable - but this only fixes the build issue. R=golang-dev, r, r, iant CC=golang-dev https://golang.org/cl/5487073
-
Russ Cox authored
I have included a few important microbenchmarks, but the overall intent is to have mostly end-to-end benchmarks timing real world operations. The jsondata.go file is a summary of agl's activity in various open source repositories. It gets used as test data for many of the benchmarks. Everything links into one binary (even the test data) so that it is easy to run the benchmarks on many computers: there is just one file to copy around. R=golang-dev, r, bradfitz, adg, r CC=golang-dev https://golang.org/cl/5484071
-
Christopher Nielsen authored
R=golang-dev, jsing CC=golang-dev https://golang.org/cl/5482068
-
Luuk van Dijk authored
R=rsc CC=golang-dev https://golang.org/cl/5487077
-
Luuk van Dijk authored
Fixes #2563 R=rsc CC=golang-dev https://golang.org/cl/5495047
-
Luuk van Dijk authored
This avoids degraded performance caused by extra labels emitted by inlining (breaking strconv ftoa alloc count unittest) and is better in any case. R=rsc CC=golang-dev https://golang.org/cl/5483071
-
Roger Peppe authored
R=rsc CC=golang-dev https://golang.org/cl/5465044
-
Dave Cheney authored
Also, rename ServerConfig.PubKeyCallback to PublicKeyCallback. R=rsc, agl CC=golang-dev https://golang.org/cl/5477059
-
Russ Cox authored
For issue 680. R=ken2 CC=golang-dev https://golang.org/cl/5492046
-
Andrew Gerrand authored
Curses! R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5489048
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/5489046
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5494045
-
Rob Pike authored
This change guarantees that whether the line ending convention when the source is created includes carriage returns is irrelevant to the value of the string. See issue 680. The compilers do not yet implement this. R=golang-dev, adg, r, gri, rsc, iant CC=golang-dev https://golang.org/cl/5491043
-
Russ Cox authored
clean is gone; all the intermediate files are created in a temporary tree that is wiped when the command ends. Not using go/build's Script because it is not well aligned with this API. The various builder methods are copied from go/build and adapted. Probably once we delete goinstall we can delete the Script API too. R=rogpeppe, adg, adg CC=golang-dev https://golang.org/cl/5483069
-
Rob Pike authored
Fixes #2555. R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/5486076
-
- 14 Dec, 2011 17 commits
-
-
Andrew Balholm authored
Pass tests6.dat, test 26: foo<col> | <col> Also pass tests through test 35: <table><tr><div><td> R=nigeltao CC=golang-dev https://golang.org/cl/5482074
-
Rémy Oudompheng authored
R=rsc, iant CC=golang-dev, remy https://golang.org/cl/5485070
-
Anthony Martin authored
For real this time. :-) R=rsc, ken CC=golang-dev https://golang.org/cl/5486061
-
Vadim Vygonets authored
I realize I didn't send the tests in last time. Anyway, I added a test that knows too much about the package's internal structure, and I'm not sure whether it's the right thing to do. Vadik. R=bradfitz, rsc, go.peter.90 CC=golang-dev https://golang.org/cl/5450073
-
Vadim Vygonets authored
R=golang-dev, edsrzf, bradfitz, rsc CC=golang-dev https://golang.org/cl/5451087
-
Russ Cox authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5482073
-
Scott Lawrence authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5472043
-
Rob Pike authored
This redefinition means that the public signature of html/template does not refer to text/template. Fixes #2546. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5487083
-
Robert Hencke authored
Fixes https://golang.org/cl/5480060/#msg4 R=golang-dev, r CC=golang-dev https://golang.org/cl/5485051
-
Brad Fitzpatrick authored
We only want to attempt to un-gzip if there's a body (not in response to a HEAD) This was accidentally passing before, but revealed to be broken when c3c6e72d7cc went in. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5477093
-
Robert Griesemer authored
benchmark old ns/op new ns/op delta strconv_test.BenchmarkFormatInt 12198 12031 -1.37% strconv_test.BenchmarkAppendInt 9268 9153 -1.24% strconv_test.BenchmarkFormatUint 3538 3429 -3.08% strconv_test.BenchmarkAppendUint 3133 3062 -2.27% No performance difference for GOARCH=amd64. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5488089
-
Rob Pike authored
Fixes #2163. R=rsc CC=golang-dev https://golang.org/cl/5488068
-
Robert Griesemer authored
benchmark old ns/op new ns/op delta strconv_test.BenchmarkFormatInt 10038 8217 -18.14% strconv_test.BenchmarkAppendInt 6822 4969 -27.16% strconv_test.BenchmarkFormatUint 2811 1814 -35.47% strconv_test.BenchmarkAppendUint 2349 1360 -42.10% R=rsc CC=golang-dev https://golang.org/cl/5488083
-
Robert Griesemer authored
The obvious fix is breaking the build in non-obvious ways. Reverting while waiting for the correct fix, if any is needed. ««« original CL description net/http: fix bug in error checking Thanks to josef86@gmail.com for pointing this out. R=golang-dev, iant CC=golang-dev https://golang.org/cl/5477092 »»» R=iant CC=golang-dev https://golang.org/cl/5488085
-
Robert Griesemer authored
Thanks to josef86@gmail.com for pointing this out. R=golang-dev, iant CC=golang-dev https://golang.org/cl/5477092
-
Luuk van Dijk authored
Fixes #2451 R=rsc, bradfitz CC=golang-dev https://golang.org/cl/5372105
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5484073
-