- 15 Aug, 2013 13 commits
-
-
Mikio Hara authored
Fixes #5199. Benchmark results on freebsd/amd64 (virtual machine): benchmark old ns/op new ns/op delta BenchmarkTCP4OneShot-2 184566 187164 +1.41% BenchmarkTCP4OneShotTimeout-2 215558 187722 -12.91% BenchmarkTCP4Persistent-2 59686 41294 -30.81% BenchmarkTCP4PersistentTimeout-2 60692 39974 -34.14% BenchmarkTCP6OneShot-2 226595 223688 -1.28% BenchmarkTCP6OneShotTimeout-2 253144 225161 -11.05% BenchmarkTCP6Persistent-2 69157 55605 -19.60% BenchmarkTCP6PersistentTimeout-2 70426 53805 -23.60% BenchmarkTCP4ConcurrentReadWrite-2 53878 56087 +4.10% BenchmarkTCP6ConcurrentReadWrite-2 66538 68190 +2.48% benchmark old allocs new allocs delta BenchmarkTCP4OneShot-2 39 36 -7.69% BenchmarkTCP4OneShotTimeout-2 42 36 -14.29% BenchmarkTCP4Persistent-2 1 0 -100.00% BenchmarkTCP4PersistentTimeout-2 1 0 -100.00% BenchmarkTCP6OneShot-2 41 36 -12.20% BenchmarkTCP6OneShotTimeout-2 43 36 -16.28% BenchmarkTCP6Persistent-2 1 0 -100.00% BenchmarkTCP6PersistentTimeout-2 1 0 -100.00% BenchmarkTCP4ConcurrentReadWrite-2 0 0 n/a% BenchmarkTCP6ConcurrentReadWrite-2 0 0 n/a% benchmark old bytes new bytes delta BenchmarkTCP4OneShot-2 3084 2544 -17.51% BenchmarkTCP4OneShotTimeout-2 3129 2519 -19.50% BenchmarkTCP4Persistent-2 30 0 -100.00% BenchmarkTCP4PersistentTimeout-2 31 0 -100.00% BenchmarkTCP6OneShot-2 3297 2660 -19.32% BenchmarkTCP6OneShotTimeout-2 3306 2655 -19.69% BenchmarkTCP6Persistent-2 31 0 -100.00% BenchmarkTCP6PersistentTimeout-2 29 0 -100.00% BenchmarkTCP4ConcurrentReadWrite-2 2 0 -100.00% BenchmarkTCP6ConcurrentReadWrite-2 7 0 -100.00% R=dvyukov, minux.ma, dave, bradfitz, alex.brainman CC=golang-dev https://golang.org/cl/8264043
-
Dmitriy Vyukov authored
runtime.gcwaiting checks are not needed anymore R=golang-dev, khr CC=golang-dev https://golang.org/cl/12934043
-
Dmitriy Vyukov authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/12986043
-
Rémy Oudompheng authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12960043
-
Mikio Hara authored
This CL rearranges the call order for raw networking primitives like the following; - For dialers that open active connections, pollDesc.Init will be called before syscall.Connect. - For stream listeners that open passive stream connections, pollDesc.Init will be called just after syscall.Listen. - For datagram listeners that open datagram connections, pollDesc.Init will be called just after syscall.Bind. This is in preparation for runtime-integrated network pollster for BSD variants. Update #5199 R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/12730043
-
Rob Pike authored
I tried to make it absolutely correct but there are too many conflicting definitions for the official list of time zones. Since when we're parsing we know when to expect a time zone and we know what they look like if not exactly what the definitive set is, we compromise. We accept any three-character sequence of upper case letters, possibly followed by a capital T (all four-letter zones end in T). There is one crazy special case (ChST) and the possibility of a signed hour offset for GMT. Fixes #3790 I hope forever, but I doubt that very much. R=golang-dev, adg CC=golang-dev https://golang.org/cl/12969043
-
Brad Fitzpatrick authored
Took 76 seconds or so before. By avoiding flate and crc32 on 4GB of data, it's now only 12 seconds. Still a slow test, but not painful to run anymore when you forget -short. R=golang-dev, adg CC=golang-dev https://golang.org/cl/12950043
-
Brad Fitzpatrick authored
R=golang-dev, kevlar, rsc, adg, r CC=golang-dev https://golang.org/cl/12962043
-
Rob Pike authored
Fixes #3622 R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/12971043
-
Rob Pike authored
One sentence says they're ignored, another says they take part. Fix the first. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/12741046
-
Alex Brainman authored
whatever "end-to-end" means here R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/12898044
-
Rob Pike authored
Was checking for nil map; must check for empty map instead. Fixes #6065 Before: go test -cover # testmain /var/folders/00/013l0000h01000cxqpysvccm0004fc/T/go-build233480051/_/Users/r/issue/_test/_testmain.go:11: imported and not used: "_/Users/r/issue" FAIL _/Users/r/issue [build failed] Now: go test -cover testing: warning: no tests to run PASS coverage: 0.0% of statements ok _/Users/r/issue 0.021s R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12916043
-
Rob Pike authored
Update #3790 Handle time zones like GMT-8. The more general time zone-matching problem is not yet resolved. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/12922043
-
- 14 Aug, 2013 27 commits
-
-
David Symonds authored
Fixes #6042. R=adg CC=golang-dev https://golang.org/cl/12923043
-
Dominik Honnef authored
R=golang-dev, adonovan, bradfitz CC=golang-dev https://golang.org/cl/12721043
-
Russ Cox authored
Remove custom support for time.Time. No new tests: the tests for the time.Time special case now test the general case. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12751045
-
Carl Shapiro authored
The baseline architecture had been left to the GCC configured default which can be more accomodating than the rest of the Go toolchain. This prevented instructions used by the 5g compiler, like BLX, from being used in GCC compiled assembler code. R=golang-dev, dave, rsc, elias.naur, cshapiro CC=golang-dev https://golang.org/cl/12954043
-
Andrew Gerrand authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12957044
-
Brad Fitzpatrick authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/12953043
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12884044
-
Elias Naur authored
CL 12741044 added an extra iself condition to an if statement that already contained it. Remove it. R=rsc CC=golang-dev https://golang.org/cl/12949043
-
Dmitriy Vyukov authored
It doughtily misses all possible corner cases. In particular on machines with <1GHz processors, SetBlockProfileRate(1) disables profiling. Fixes #6114. R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/12936043
-
Mikio Hara authored
Also does less buffer allocation in case of TCP fallback. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12925043
-
Mikio Hara authored
R=golang-dev, dvyukov, dave CC=golang-dev https://golang.org/cl/12766044
-
Russ Cox authored
Will submit once I can fill in the CL XXX number. R=golang-dev, r CC=golang-dev https://golang.org/cl/12912044
-
Rémy Oudompheng authored
R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/12842043
-
Russ Cox authored
See golang.org/s/go12xml for design. Repeat of CL 12603044, which was submitted accidentally and then rolled back. Fixes #2771. Fixes #4169. Fixes #5975. Fixes #6125. R=golang-dev CC=golang-dev https://golang.org/cl/12919043
-
Russ Cox authored
See golang.org/s/go12xml for design. R=golang-dev, dominik.honnef, dan.kortschak CC=golang-dev https://golang.org/cl/12556043
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12703043
-
Russ Cox authored
Originally the requirement was f(x) where f's argument is exactly x's type. CL 11858043 relaxed the requirement in a non-standard way: f's argument must be exactly x's type or interface{}. If we're going to relax the requirement, it should be done in a way consistent with the rest of Go. This CL allows f's argument to have any type for which x is assignable; that's the same requirement the compiler would impose if compiling f(x) directly. Fixes #5368. R=dvyukov, bradfitz, pieter CC=golang-dev https://golang.org/cl/12895043
-
Russ Cox authored
TBR=elias.naur CC=golang-dev https://golang.org/cl/12943043
-
Dmitriy Vyukov authored
R=golang-dev CC=golang-dev https://golang.org/cl/12941043
-
Dmitriy Vyukov authored
Fixes #5584. R=golang-dev, chaishushan, alex.brainman CC=golang-dev https://golang.org/cl/12720043
-
Dmitriy Vyukov authored
It timeouts on freebsd builders: http://build.golang.org/log/3d8169e13bff912bebf6fd3c54b34ad2d29a7221 but there are always runnable goroutines, which suggests that it's slowly progressing. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12939043
-
Elias Naur authored
The ARM external linking CL used BLX instructions in gcc assembler. Replace with BL to retain support on older ARM processors. R=rsc CC=golang-dev https://golang.org/cl/12938043
-
Dmitriy Vyukov authored
1. Do less iterations in short mode 2. Bound number of times SetDeadline is executed R=golang-dev, rsc CC=golang-dev https://golang.org/cl/12937043
-
Elias Naur authored
The ARM external linking CL left missed changes to sys_freebsd_arm.s and sys_netbsd_arm.s already done to sys_linux_arm.s. R=rsc CC=golang-dev https://golang.org/cl/12842044
-
Russ Cox authored
The TLS block on Darwin is not the same as on ELF. TBR=elias.naur CC=golang-dev https://golang.org/cl/12741044
-
Elias Naur authored
The shared library changes broke the windows build because __attribute__ ((visibility ("hidden"))) is not supported in windows gcc. This change removes the attribute, as it is only needed when building shared libraries. R=rsc CC=golang-dev https://golang.org/cl/12829044
-
Matt Joiner authored
Fixes an issue where prepared statements that outlive many connections become expensive to invoke. Fixes #6081 R=golang-dev CC=bradfitz, golang-dev https://golang.org/cl/12646044
-