- 11 Jun, 2012 1 commit
-
-
Jean-Marc Eurin authored
Patching the buffer with the output from gofmt -d only works if the file already exists. If it doesn't, replace the content with the output of gofmt. R=sameer CC=golang-dev https://golang.org/cl/6302063
-
- 10 Jun, 2012 1 commit
-
-
Brad Fitzpatrick authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6300078
-
- 08 Jun, 2012 9 commits
-
-
Dave Cheney authored
linux/arm OMAP4 pandaboard benchmark old ns/op new ns/op delta BenchmarkBinaryTree17 68723297000 37026214000 -46.12% BenchmarkFannkuch11 34962402000 35958435000 +2.85% BenchmarkGobDecode 137298600 124182150 -9.55% BenchmarkGobEncode 60717160 60006700 -1.17% BenchmarkGzip 5647156000 5550873000 -1.70% BenchmarkGunzip 1196350000 1198670000 +0.19% BenchmarkJSONEncode 863012800 782898000 -9.28% BenchmarkJSONDecode 3312989000 2781800000 -16.03% BenchmarkMandelbrot200 45727540 45703120 -0.05% BenchmarkParse 74781800 59990840 -19.78% BenchmarkRevcomp 140043650 139462300 -0.42% BenchmarkTemplate 6467682000 5832153000 -9.83% benchmark old MB/s new MB/s speedup BenchmarkGobDecode 5.59 6.18 1.11x BenchmarkGobEncode 12.64 12.79 1.01x BenchmarkGzip 3.44 3.50 1.02x BenchmarkGunzip 16.22 16.19 1.00x BenchmarkJSONEncode 2.25 2.48 1.10x BenchmarkJSONDecode 0.59 0.70 1.19x BenchmarkParse 0.77 0.97 1.26x BenchmarkRevcomp 18.15 18.23 1.00x BenchmarkTemplate 0.30 0.33 1.10x darwin/386 core duo benchmark old ns/op new ns/op delta BenchmarkBinaryTree17 10591616577 9678245733 -8.62% BenchmarkFannkuch11 10758473315 10749303846 -0.09% BenchmarkGobDecode 34379785 34121250 -0.75% BenchmarkGobEncode 23523721 23475750 -0.20% BenchmarkGzip 2486191492 2446539568 -1.59% BenchmarkGunzip 444179328 444250293 +0.02% BenchmarkJSONEncode 221138507 219757826 -0.62% BenchmarkJSONDecode 1056034428 1048975133 -0.67% BenchmarkMandelbrot200 19862516 19868346 +0.03% BenchmarkRevcomp 3742610872 3724821662 -0.48% BenchmarkTemplate 960283112 944791517 -1.61% benchmark old MB/s new MB/s speedup BenchmarkGobDecode 22.33 22.49 1.01x BenchmarkGobEncode 32.63 32.69 1.00x BenchmarkGzip 7.80 7.93 1.02x BenchmarkGunzip 43.69 43.68 1.00x BenchmarkJSONEncode 8.77 8.83 1.01x BenchmarkJSONDecode 1.84 1.85 1.01x BenchmarkRevcomp 67.91 68.24 1.00x BenchmarkTemplate 2.02 2.05 1.01x R=rsc, 0xe2.0x9a.0x9b, mirtchovski CC=golang-dev, minux.ma https://golang.org/cl/6297047
-
Robert Griesemer authored
Will simplify implementation of binaryGCD. R=rsc, cswenson CC=golang-dev https://golang.org/cl/6299064
-
Russ Cox authored
This slipped in with the implementation of Getpid in CL 5909043. I'd exclude that CL entirely but it is tangled up in the Win32finddata changes. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/6297065
-
Russ Cox authored
TBR=bradfitz CC=golang-dev https://golang.org/cl/6303061
-
Russ Cox authored
Preserve old API by using correct struct in system call and then copying the results, as we did for SetsockoptLinger. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6307065
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6298063
-
Russ Cox authored
This new error is the only API change in the current draft of Go 1.0.2 CLs. I'd like to include the CL that introduced it, because it replaces a mysterious 'internal error' with a useful error message, but I don't want any API changes, so unexport the error constant for now. It can be re-exported for Go 1.1. R=golang-dev, r CC=golang-dev https://golang.org/cl/6294055
-
Nigel Tao authored
R=rsc CC=golang-dev https://golang.org/cl/6303053
-
Dave Cheney authored
Fixes #3708. The fix to allow 5{c,g,l} to compile under clang 3.1 broke cross compilation on darwin using the Apple default compiler on 10.7.3. This failure was introduced in 9b455eb64690. This has been tested by cross compiling on darwin/amd64 to linux/arm using * gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) * clang version 3.1 (branches/release_31) As well as on linux/arm using * gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) * Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0) * Debian clang version 3.1-4 (branches/release_31) (based on LLVM 3.1) R=consalus, rsc CC=golang-dev https://golang.org/cl/6307058
-
- 07 Jun, 2012 15 commits
-
-
Shenghou Ma authored
-lm must come after the source file, versions of gcc insist this strict order. On standard compliant systems, we no longer need malloc.h for malloc. Use pkg-config(1) to get correct glib cflags and libs. Fix compiler warning in threadring.c and k-nucleotide.c. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6198076
-
Shenghou Ma authored
Supported in ARMv5TE and above. Also corrected MULA disassembly listing. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6265045
-
Russ Cox authored
The type declarations were being generated using a range over a map, which meant that successive runs produced different orders. This will make sure successive runs produce the same files. Fixes #3707. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6300062
-
Russ Cox authored
This makes -S useful again. R=ken2 CC=golang-dev https://golang.org/cl/6302054
-
Russ Cox authored
Cannot take effective address of constant. Fixes #3670. R=ken2 CC=golang-dev https://golang.org/cl/6299055
-
Russ Cox authored
If there are mutually recursive functions, there is a cycle in the dependency graph, so the order is actually dependency order among the strongly connected components: mutually recursive functions get put into the same batch and analyzed together. (Until now the entire package was put in one batch.) The non-recursive case (single function, maybe with some closures inside) will be able to be more precise about inputs that escape only back to outputs, but that is not implemented yet. R=ken2 CC=golang-dev, lvd https://golang.org/cl/6304050
-
Russ Cox authored
CL 4313064 fixed its test case but did not address a general enough problem: type T1 struct { F *T2 } type T2 T1 type T3 T2 could still end up copying the definition of T1 for T2 before T1 was done being evaluated, or T3 before T2 was done. In order to propagate the updates correctly, record a copy of an incomplete type for re-execution once the type is completed. Roll back CL 4313064. Fixes #3709. R=ken2 CC=golang-dev, lstoakes https://golang.org/cl/6301059
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/6307050
-
Russ Cox authored
Fixes #3607. R=ken2 CC=golang-dev https://golang.org/cl/6296052
-
Russ Cox authored
Fixes #3593. R=ken2 CC=golang-dev, lvd https://golang.org/cl/6305061
-
Russ Cox authored
Fixes #3614. R=golang-dev, adg CC=golang-dev https://golang.org/cl/6306051
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/6302051
-
Nigel Tao authored
This is the mechanical part of the 2-part change that started with https://golang.org/cl/6305053/ R=rsc CC=andybalholm, golang-dev, r https://golang.org/cl/6295055
-
Nigel Tao authored
This is part 1 of a 2 part changelist. Part 2 contains the mechanical change to parse.go to compare atoms (ints) instead of strings. The overall effect of the two changes are: benchmark old ns/op new ns/op delta BenchmarkParser 4462274 4058254 -9.05% BenchmarkRawLevelTokenizer 913202 912917 -0.03% BenchmarkLowLevelTokenizer 1268626 1267836 -0.06% BenchmarkHighLevelTokenizer 1947305 1968944 +1.11% R=rsc CC=andybalholm, golang-dev, r https://golang.org/cl/6305053
-
Dave Cheney authored
As discussed in https://groups.google.com/d/msg/golang-dev/Na9XE6mcQyY/zbeBI7R-vnoJ Here is a static copy of the go/parser benchmark. I ended up using fancy encodings because the original parser.go had a number of `s scattered throughout which made it hard to embed the source directly. Curiously on my laptop this benchmark always scores roughly 10% higher than the standalone benchmark. This may be down to the generation of the fasta data set triggering the cpu governor to raise the cpu speed. However the benchmark is consistent with itself across multiple runs. R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/6305055
-
- 06 Jun, 2012 13 commits
-
-
Alex Brainman authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6305059
-
Nigel Tao authored
This completely covers the tags used by exp/html's parser. Before: 295 atoms; 1406 string bytes + 2048 tables = 3454 total data BenchmarkLookup 50000 59841 ns/op After: 322 atoms; 1508 string bytes + 2048 tables = 3556 total data BenchmarkLookup 50000 60159 ns/op R=r CC=golang-dev https://golang.org/cl/6296045
-
Andrew Gerrand authored
The datastore.Query methods once mutated the Query value, but now they return a derivative query, so the Hash= and ParentHash= filters were not being applied. R=golang-dev, bradfitz, dsymonds CC=golang-dev https://golang.org/cl/6300058
-
Fazlul Shahriar authored
R=golang-dev CC=golang-dev https://golang.org/cl/6280045
-
Jan Ziak authored
R=rsc CC=golang-dev https://golang.org/cl/6285047
-
Daniel Morsing authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6308046
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6307048
-
Markus Sonderegger authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6297044
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6303047
-
Russ Cox authored
The reordering speedup in CL 6245068 changed the semantics of %#v by delaying the clearing of some flags. Restore the old semantics and add a test. Fixes #3706. R=golang-dev, r CC=golang-dev https://golang.org/cl/6302048
-
Shenghou Ma authored
CL 6250075 removed AI_MASK mask on all BSD variants, however FreeBSD's AI_MASK does not include AI_V4MAPPED and AI_ALL, and its libc is strict about the ai_flags. This will fix the FreeBSD builder. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6305054
-
Shenghou Ma authored
Fixes #3699. R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/6272048
-
Joel Sing authored
On netbsd/386, tv_sec is a 64-bit integer for both timeval and timespec. Fix the time handling code so that it works correctly. R=golang-dev, rsc, m4dh4tt3r CC=golang-dev https://golang.org/cl/6256056
-
- 05 Jun, 2012 1 commit
-
-
Dave Cheney authored
This should be the last of them. R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/6297043
-