1. 17 Jul, 2013 4 commits
  2. 16 Jul, 2013 20 commits
  3. 15 Jul, 2013 8 commits
  4. 14 Jul, 2013 2 commits
  5. 13 Jul, 2013 3 commits
    • Russ Cox's avatar
      cmd/6l, cmd/8l: use one-byte XCHG forms when possible · aad4720b
      Russ Cox authored
      Pointed out by khr.
      
      R=ken2
      CC=golang-dev
      https://golang.org/cl/11145044
      aad4720b
    • Russ Cox's avatar
      encoding/json: add more tests for UTF-8 coercion · 4274d074
      Russ Cox authored
      Suggested by Rob in CL 11211045, but the mail arrived
      moments after hg submit completed.
      
      R=golang-dev, r
      CC=golang-dev
      https://golang.org/cl/11138045
      4274d074
    • Russ Cox's avatar
      cmd/go, testing: streamline direct use of test binaries · ccc45534
      Russ Cox authored
      Before:
      
              $ go test -c -cover fmt
              $ ./fmt.test -test.covermode=set
              PASS
              coverage: 65.1% of statements in strconv
              $
      
      After:
      
              $ go test -c -cover fmt
              $ ./fmt.test
              PASS
              coverage: 65.1% of statements in strconv
              $
      
      In addition to being cumbersome, the old flag didn't make sense:
      the cover mode cannot be changed after the binary has been built.
      
      Another useful effect of this CL is that if you happen to do
      
              $ go test -c -covermode=atomic fmt
      
      and then forget you did that and run benchmarks,
      the final line of the output (the coverage summary) reminds you
      that you are benchmarking with coverage enabled, which might
      not be what you want.
      
              $ ./fmt.test -test.bench .
              PASS
              BenchmarkSprintfEmpty	10000000	       217 ns/op
              BenchmarkSprintfString	 2000000	       755 ns/op
              BenchmarkSprintfInt	 2000000	       774 ns/op
              BenchmarkSprintfIntInt	 1000000	      1363 ns/op
              BenchmarkSprintfPrefixedInt	 1000000	      1501 ns/op
              BenchmarkSprintfFloat	 1000000	      1257 ns/op
              BenchmarkManyArgs	  500000	      5346 ns/op
              BenchmarkScanInts	    1000	   2562402 ns/op
              BenchmarkScanRecursiveInt	     500	   3189457 ns/op
              coverage: 91.4% of statements
              $
      
      As part of passing the new mode setting in via _testmain.go, merge
      the two registration mechanisms into one extensible mechanism
      (a struct).
      
      R=r
      CC=golang-dev
      https://golang.org/cl/11219043
      ccc45534
  6. 12 Jul, 2013 3 commits