- 02 May, 2012 7 commits
-
-
Luuk van Dijk authored
R=rsc CC=golang-dev https://golang.org/cl/6128051
-
Dmitriy Vyukov authored
+move zeroization out of the heap mutex R=golang-dev, iant, rsc CC=golang-dev https://golang.org/cl/6094050
-
Alex Brainman authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6136054
-
Anthony Martin authored
R=golang-dev, r, bradfitz, r CC=golang-dev https://golang.org/cl/6117062
-
Anthony Martin authored
R=rsc, iant, iant, seed CC=golang-dev https://golang.org/cl/5608059
-
Rob Pike authored
R=dsymonds CC=golang-dev https://golang.org/cl/6158043
-
Dave Cheney authored
BenchmarkEqual32 662 159 -75.98% BenchmarkEqual4K 76545 13719 -82.08% BenchmarkEqual4M 90136700 23588870 -73.83% BenchmarkEqual64M 2147483647 1419616000 -42.63% BenchmarkEqual32 48.32 201.15 4.16x BenchmarkEqual4K 53.51 298.56 5.58x BenchmarkEqual4M 46.53 177.81 3.82x BenchmarkEqual64M 27.12 47.27 1.74x R=golang-dev, qyzhai, minux.ma, rsc, iant, nigeltao CC=golang-dev https://golang.org/cl/6118049
-
- 01 May, 2012 7 commits
-
-
Ian Lance Taylor authored
Fixes #3371. R=rsc, bsiegert, r, mtj, iant CC=golang-dev https://golang.org/cl/6131060
-
David Symonds authored
R=r CC=golang-dev https://golang.org/cl/6136056
-
Nigel Tao authored
R=rsc, r CC=golang-dev https://golang.org/cl/6143043
-
David Symonds authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/6127066
-
David Symonds authored
Fixes #3566. R=rsc CC=golang-dev https://golang.org/cl/6139048
-
David Symonds authored
If we delay the mail sending, we can't send as the current user. If we don't fill in the time.Time fields, datastore.Put will fail because the zero time.Time value is out of its range. R=golang-dev, r CC=golang-dev https://golang.org/cl/6136053
-
Nigel Tao authored
The forwardCopy function could be re-written in asm, and the copyHuff method could probably be rolled into huffmanBlock and copyHist, but I'm leaving those changes for future CLs. compress/flate benchmarks: benchmark old ns/op new ns/op delta BenchmarkDecoderBestSpeed1K 385327 435140 +12.93% BenchmarkDecoderBestSpeed10K 1245190 1062112 -14.70% BenchmarkDecoderBestSpeed100K 8512365 5833680 -31.47% BenchmarkDecoderDefaultCompression1K 382225 421301 +10.22% BenchmarkDecoderDefaultCompression10K 867950 613890 -29.27% BenchmarkDecoderDefaultCompression100K 5658240 2466726 -56.40% BenchmarkDecoderBestCompression1K 383760 421634 +9.87% BenchmarkDecoderBestCompression10K 867743 614671 -29.16% BenchmarkDecoderBestCompression100K 5660160 2464996 -56.45% image/png benchmarks: benchmark old ns/op new ns/op delta BenchmarkDecodeGray 2540834 2389624 -5.95% BenchmarkDecodeNRGBAGradient 10052700 9534565 -5.15% BenchmarkDecodeNRGBAOpaque 8704710 8163430 -6.22% BenchmarkDecodePaletted 1458779 1325017 -9.17% BenchmarkDecodeRGB 7183606 6794668 -5.41% Wall time for Denis Cheremisov's PNG-decoding program given in https://groups.google.com/group/golang-nuts/browse_thread/thread/22aa8a05040fdd49 Before: 3.07s After: 2.32s Delta: -24% Before profile: Total: 304 samples 159 52.3% 52.3% 251 82.6% compress/flate.(*decompressor).huffmanBlock 58 19.1% 71.4% 76 25.0% compress/flate.(*decompressor).huffSym 32 10.5% 81.9% 32 10.5% hash/adler32.update 16 5.3% 87.2% 22 7.2% bufio.(*Reader).ReadByte 16 5.3% 92.4% 37 12.2% compress/flate.(*decompressor).moreBits 7 2.3% 94.7% 7 2.3% hash/crc32.update 7 2.3% 97.0% 7 2.3% runtime.memmove 5 1.6% 98.7% 5 1.6% scanblock 2 0.7% 99.3% 9 3.0% runtime.copy 1 0.3% 99.7% 1 0.3% compress/flate.(*huffmanDecoder).init After profile: Total: 230 samples 59 25.7% 25.7% 70 30.4% compress/flate.(*decompressor).huffSym 45 19.6% 45.2% 45 19.6% hash/adler32.update 35 15.2% 60.4% 35 15.2% compress/flate.forwardCopy 20 8.7% 69.1% 151 65.7% compress/flate.(*decompressor).huffmanBlock 16 7.0% 76.1% 24 10.4% compress/flate.(*decompressor).moreBits 15 6.5% 82.6% 15 6.5% runtime.memmove 11 4.8% 87.4% 50 21.7% compress/flate.(*decompressor).copyHist 7 3.0% 90.4% 7 3.0% hash/crc32.update 6 2.6% 93.0% 9 3.9% bufio.(*Reader).ReadByte 4 1.7% 94.8% 4 1.7% runtime.slicearray R=rsc, rogpeppe, dave CC=golang-dev, krasin https://golang.org/cl/6127064
-
- 30 Apr, 2012 7 commits
-
-
Robert Hencke authored
Fixes #3490. R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/6040046
-
Shenghou Ma authored
also gives clear error when bsdthread_register fails on Darwin Fixes #2992. R=rsc, krautz CC=golang-dev https://golang.org/cl/5966067
-
David Symonds authored
This will allow us to properly thread "R=..." mails at a later time. R=golang-dev, r CC=golang-dev https://golang.org/cl/6135053
-
David Symonds authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/6135052
-
David Symonds authored
R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/6128054
-
Brad Fitzpatrick authored
Fixes #3577 R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6137054
-
Brad Fitzpatrick authored
Re-submitting previously reverted change 160ec5506cb7. R=golang-dev, r, r CC=golang-dev https://golang.org/cl/6129052
-
- 29 Apr, 2012 1 commit
-
-
Dave Cheney authored
In CL 6127051, nigeltao suggested that further gains were possible by improving the performance of flate. This CL adds a set of benchmarks (based on compress/lzw) that can be used to judge any future improvements. R=nigeltao CC=golang-dev https://golang.org/cl/6128049
-
- 27 Apr, 2012 10 commits
-
-
David Symonds authored
Fix auth requirements for /gc endpoint too. R=golang-dev, r CC=golang-dev https://golang.org/cl/6133049
-
Brian Dellisanti authored
This closes any internal descriptors (pipes, etc) that Cmd.Start() had opened before it failed. Fixes #3468. R=golang-dev, iant, bradfitz CC=golang-dev https://golang.org/cl/5986044
-
Ian Lance Taylor authored
R=golang-dev, bsiegert, r CC=golang-dev https://golang.org/cl/6127056
-
David Symonds authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/6128044
-
Dave Cheney authored
In resolving 3507, the fix had to be applied individually to the four *Conn types, tcp, udp, rawip and unix, due to the duplicate code in each Conn type. This CL consolidates the common net.Conn methods that all four *Conn types implement into a base conn type. Pros: * The fix for 3507 would have only needed to be applied to one method. Further improvements, such as possibly removing the c.fd != nil check in c.ok(), would benefit from this CL. * Nearly 300 lines removed from the net package. * The public interface and documentation are not changed. * I think this is an excellent example of the power of embedding. Cons: * The net package is already distributed over many files, this CL adds another place to look. * The fix for 3507 was a total of 16 lines changed, this follow up CL could be considered to be an overreaction as new Conn types are unlikely to be added in the near future. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6098047
-
David Symonds authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/6131044
-
David Symonds authored
This is live at http://gocodereview.appspot.com/. R=golang-dev, r CC=golang-dev https://golang.org/cl/6134043
-
Nigel Tao authored
Paletted, RGBA. benchmark old ns/op new ns/op delta BenchmarkDecodeGray 3681144 2536049 -31.11% BenchmarkDecodeNRGBAGradient 12108660 10020650 -17.24% BenchmarkDecodeNRGBAOpaque 10699230 8677165 -18.90% BenchmarkDecodePaletted 2562806 1458798 -43.08% BenchmarkDecodeRGB 8468175 7180730 -15.20% benchmark old MB/s new MB/s speedup BenchmarkDecodeGray 17.80 25.84 1.45x BenchmarkDecodeNRGBAGradient 21.65 26.16 1.21x BenchmarkDecodeNRGBAOpaque 24.50 30.21 1.23x BenchmarkDecodePaletted 25.57 44.92 1.76x BenchmarkDecodeRGB 30.96 36.51 1.18x $ file $GOROOT/src/pkg/image/png/testdata/bench* benchGray.png: PNG image, 256 x 256, 8-bit grayscale, non-interlaced benchNRGBA-gradient.png: PNG image, 256 x 256, 8-bit/color RGBA, non-interlaced benchNRGBA-opaque.png: PNG image, 256 x 256, 8-bit/color RGBA, non-interlaced benchPaletted.png: PNG image, 256 x 256, 8-bit colormap, non-interlaced benchRGB.png: PNG image, 256 x 256, 8-bit/color RGB, non-interlaced R=r CC=golang-dev https://golang.org/cl/6127051
-
David Symonds authored
Both of these have replacements. R=golang-dev, r, rsc, r, adg CC=golang-dev https://golang.org/cl/5979046
-
Anthony Martin authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6117063
-
- 26 Apr, 2012 8 commits
-
-
Andrew Gerrand authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6117066
-
Andrew Gerrand authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6115056
-
Andrew Gerrand authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6125048
-
Andrew Gerrand authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6123055
-
Russ Cox authored
The new logic is "use go1 if it's there, otherwise no tag." Nothing needs to say "I require go1.0.1", and I want to preserve some flexibility in defining what tags mean. Right now (before go1.0.1) there is only one possible tag, "go1", and I'd like to keep it that way. R=golang-dev, bradfitz, r, adg CC=golang-dev https://golang.org/cl/6112060
-
Joel Sing authored
Now that Go will no longer work on OpenBSD versions prior to 5.1, remove the sysctl workaround that was needed for 5.0 and earlier. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6116050
-
Anthony Martin authored
1. Readdirnames was erroneously returning an empty slice on every invocation. 2. The logic for determining which files to close before exec was incorrect. If the set of files to be kept open (provided by the caller) did not include the files opened at startup, those files would be accidentally closed. I also cleaned up readdupdevice while I was in the vicinity. R=golang-dev, seed, rsc CC=golang-dev https://golang.org/cl/6016044
-
Anthony Martin authored
I also added some debugging code that's turned on with -xx. Fixes #3392. R=rsc, lvd CC=golang-dev https://golang.org/cl/5909058
-