- 06 Jun, 2012 8 commits
-
-
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 8 commits
-
-
Dave Cheney authored
This should be the last of them. R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/6297043
-
Dave Cheney authored
As discussed on golang-dev, reduce the size of the fasta dataset to make it possible to run the go1 benchmarks on small ARM systems. Also, remove the 25m suffix from fasta data and Revcomp. linux/arm: pandaboard OMAP4 BenchmarkBinaryTree17 1 70892426000 ns/op BenchmarkFannkuch11 1 35712066000 ns/op BenchmarkGobDecode 10 137146000 ns/op 5.60 MB/s BenchmarkGobEncode 50 64953000 ns/op 11.82 MB/s BenchmarkGzip 1 5675690000 ns/op 3.42 MB/s BenchmarkGunzip 1 1207001000 ns/op 16.08 MB/s BenchmarkJSONEncode 5 860424800 ns/op 2.26 MB/s BenchmarkJSONDecode 1 3321839000 ns/op 0.58 MB/s BenchmarkMandelbrot200 50 45893560 ns/op BenchmarkRevcomp 10 135220300 ns/op 18.80 MB/s BenchmarkTemplate 1 6385681000 ns/op 0.30 MB/s R=rsc, minux.ma, dsymonds CC=golang-dev https://golang.org/cl/6278048
-
Russ Cox authored
Thanks to Dave Cheney for the magic words "comm page". benchmark old ns/op new ns/op delta BenchmarkNow 197 33 -83.05% This should make profiling a little better on OS X. The raw time saved is unlikely to matter: what likely matters more is that it seems like OS X sends profiling signals on the way out of system calls more often than it should; avoiding the system call should increase the accuracy of cpu profiles. The 386 version would be similar but needs to do different math for CPU speeds less than 1 GHz. (Apparently Apple has never shipped a 64-bit CPU with such a slow clock.) R=golang-dev, bradfitz, dave, minux.ma, r CC=golang-dev https://golang.org/cl/6275056
-
Russ Cox authored
amd64 was done in CL 6275056. We don't attempt to handle machines with clock speeds less than 1 GHz. Those will fall back to the system call. benchmark old ns/op new ns/op delta BenchmarkNow 364 38 -89.53% R=golang-dev, r CC=golang-dev https://golang.org/cl/6307045
-
Dave Cheney authored
Using an int64 for a block size doesn't make sense on 32bit platforms but extracts a performance penalty dealing with double word quantities on Arm. linux/arm benchmark old ns/op new ns/op delta BenchmarkGobDecode 155401600 144589300 -6.96% BenchmarkGobEncode 72772220 62460940 -14.17% BenchmarkGzip 5822632 2604797 -55.26% BenchmarkGunzip 326321 151721 -53.51% benchmark old MB/s new MB/s speedup BenchmarkGobDecode 4.94 5.31 1.07x BenchmarkGobEncode 10.55 12.29 1.16x R=golang-dev, rsc, bradfitz CC=golang-dev https://golang.org/cl/6272047
-
Rémy Oudompheng authored
R=golang-dev, rsc CC=golang-dev, remy https://golang.org/cl/6281050
-
Nigel Tao authored
There already is a "Phase 6" a few lines above. R=rsc CC=golang-dev https://golang.org/cl/6270054
-
Rob Pike authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6272050
-
- 04 Jun, 2012 22 commits
-
-
Rémy Oudompheng authored
It is not necessary for the test to be effective and uses a lot of resources in the compiler. Memory usage is halved and compilation around 8x faster. R=golang-dev, r, rsc, r CC=golang-dev https://golang.org/cl/6290044
-
Robert Griesemer authored
Fixes #3635. R=rsc, r, iant, kevlar, iant CC=golang-dev https://golang.org/cl/6217045
-
Russ Cox authored
The original implementation of closures created the underlying top-level function during walk, which is fairly late in the compilation process and caused ordering-based complications due to earlier stages that had to be repeated any number of times. Create the underlying function during typecheck, much earlier, so that later stages can be run just once. The result is a simpler compilation sequence. R=ken2 CC=golang-dev https://golang.org/cl/6279049
-
Shenghou Ma authored
although the comment says it uses libc's getenv, without NOPLAN9DEFINES it actually uses p9getenv which strdups. R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/6285046
-
Russ Cox authored
The recent shuffle in parsing formats exposed probably unintentional behavior in time.Parse, namely that it was mostly ignoring ".99999" in the format, producing the following behavior: fmt.Println(time.Parse("03:04:05.999 MST", "12:00:00.888 PDT")) // error (.888 unexpected) fmt.Println(time.Parse("03:04:05.999", "12:00:00")) // error (input too short) fmt.Println(time.Parse("03:04:05.999 MST", "12:00:00 PDT")) // ok (extra bytes on input make it ok) http://play.golang.org/p/ESJ1UYXzq2 API CHANGE: This CL makes all three examples valid: ".999" can match an empty string or else a fractional second with at most nine digits. Fixes #3701. R=r, r CC=golang-dev https://golang.org/cl/6267045
-
Robert Griesemer authored
An attempt to profit from CL 6176043 (fix to superpolinomial runtime of karatsuba multiplication) and determine a better karatsuba threshold. The result indicates that 32 is still a reasonable value. Left the threshold as is (== 32), but made some minor changes to the calibrate code which are worthwhile saving (use of existing benchmarking code for better results, better use of package time). R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6260062
-
Marcel van Lohuizen authored
Regenerated tables using maketables. R=r, rsc CC=golang-dev https://golang.org/cl/6248067
-
Shenghou Ma authored
We can't depend on init() order, and certainly we don't want to register all future benchmarks that use jsonbytes or jsondata to init() in json_test.go, so we use a more general solution: make generation of jsonbytes and jsondata their own function so that the compiler will take care of the order. R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/6282046
-
Joel Sing authored
Fix botched cgo_netbsd.go merge and remove redundant +build directive. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6282048
-
Joel Sing authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6261056
-
Joel Sing authored
Split stdout/stderr into a separate file so that can be handled differently on some platforms. Both NetBSD and OpenBSD have defines for stdout/stderr that require some coercion in order for cgo to handle them correctly. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6247062
-
Benny Siegert authored
pipe2 is equivalent to pipe with flags set to 0. However, pipe2 was only added recently. Using pipe instead improves compatibility with NetBSD 5. R=jsing CC=golang-dev https://golang.org/cl/6268045
-
Brad Fitzpatrick authored
The new BenchmarkServer avoids profiling the client code by running it in a child process. R=rsc CC=golang-dev https://golang.org/cl/6260053
-
Andrew Gerrand authored
Fixes #3634. R=golang-dev, bsiegert, rsc CC=golang-dev https://golang.org/cl/6270047
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6273050
-
Ryan Barrett authored
specifically, adds a go-test element to compilation-error-regexp-alist[-alist]. Fixes #3629. R=golang-dev, rsc, sameer CC=golang-dev, jba https://golang.org/cl/6197091
-
Brad Fitzpatrick authored
The cleanup also makes it ~5% faster, but that's not the point of this CL. Optimizations can come in future CLs. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6286043
-
Brad Fitzpatrick authored
Removes code. No need for atoi helper. R=golang-dev, adg CC=golang-dev https://golang.org/cl/6285045
-
Nigel Tao authored
R=rsc CC=golang-dev https://golang.org/cl/6249071
-
Shenghou Ma authored
It's very unfortunate that the type of Data field of struct RawSockaddr is [14]uint8 on Linux/ARM instead of [14]int8 on all the others. btw, it should be [14]int8 according to my header files. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6275050
-
Brad Fitzpatrick authored
No need to fix case of "Host" string literal. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6278049
-
Mikio Hara authored
Make it possible to run test over symlinked GOROOT. R=golang-dev, r CC=golang-dev https://golang.org/cl/6268046
-
- 03 Jun, 2012 2 commits
-
-
Russ Cox authored
benchmark old ns/op new ns/op delta BenchmarkFormat 2495 937 -62.44% BenchmarkFormatNow 2308 889 -61.48% Update #3679. R=r CC=golang-dev https://golang.org/cl/6278047
-
Joel Sing authored
Move address info flags to per-platform files. This is needed to enable cgo on NetBSD (and later OpenBSD), as some of the currently used AI_* defines do not exist on these platforms. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6250075
-