1. 21 Jul, 2011 2 commits
  2. 20 Jul, 2011 16 commits
  3. 19 Jul, 2011 16 commits
  4. 18 Jul, 2011 6 commits
    • Hector Chu's avatar
      runtime: fix select pass 3 · 47e6042f
      Hector Chu authored
      Fixes #2075
      
      R=rsc, ken, r
      CC=golang-dev
      https://golang.org/cl/4748045
      47e6042f
    • Russ Cox's avatar
      runtime: track running goroutine count · bd776191
      Russ Cox authored
      Used to use mcpu+msyscall but that's
      problematic for packing into a single
      atomic word.  The running goroutine count
      (where running == Go code or syscall)
      can be maintained separately, always
      manipulated under lock.
      
      R=golang-dev, bradfitz
      CC=golang-dev
      https://golang.org/cl/4767041
      bd776191
    • Dmitriy Vyukov's avatar
      runtime: add per-M caches for MemStats · 27753ff1
      Dmitriy Vyukov authored
      Avoid touching centralized state during
      memory manager operations.
      
      R=mirtchovski
      CC=golang-dev, rsc
      https://golang.org/cl/4766042
      27753ff1
    • Dmitriy Vyukov's avatar
      runtime: add per-M caches for MemStats · 66d5c9b1
      Dmitriy Vyukov authored
      Avoid touching centralized state during
      memory manager opreations.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/4766042
      66d5c9b1
    • Ian Lance Taylor's avatar
      debug/proc: Remove. · 257df171
      Ian Lance Taylor authored
      The package was always GNU/Linux specific, and is no longer
      used by anything now that exp/ogle has been removed.
      
      R=golang-dev, rsc
      CC=golang-dev
      https://golang.org/cl/4757049
      257df171
    • Dmitriy Vyukov's avatar
      sync: add fast paths to WaitGroup · ee6e1a3f
      Dmitriy Vyukov authored
      benchmark                                        old ns/op    new ns/op    delta
      BenchmarkWaitGroupUncontended                        93.50        33.60  -64.06%
      BenchmarkWaitGroupUncontended-2                      44.30        16.90  -61.85%
      BenchmarkWaitGroupUncontended-4                      21.80         8.47  -61.15%
      BenchmarkWaitGroupUncontended-8                      12.10         4.86  -59.83%
      BenchmarkWaitGroupUncontended-16                      7.38         3.35  -54.61%
      BenchmarkWaitGroupAddDone                            58.40        33.70  -42.29%
      BenchmarkWaitGroupAddDone-2                         293.00        85.80  -70.72%
      BenchmarkWaitGroupAddDone-4                         243.00        51.10  -78.97%
      BenchmarkWaitGroupAddDone-8                         236.00        52.20  -77.88%
      BenchmarkWaitGroupAddDone-16                        215.00        43.30  -79.86%
      BenchmarkWaitGroupAddDoneWork                       826.00       794.00   -3.87%
      BenchmarkWaitGroupAddDoneWork-2                     450.00       424.00   -5.78%
      BenchmarkWaitGroupAddDoneWork-4                     277.00       220.00  -20.58%
      BenchmarkWaitGroupAddDoneWork-8                     440.00       116.00  -73.64%
      BenchmarkWaitGroupAddDoneWork-16                    569.00        66.50  -88.31%
      BenchmarkWaitGroupWait                               29.00         8.04  -72.28%
      BenchmarkWaitGroupWait-2                             74.10         4.15  -94.40%
      BenchmarkWaitGroupWait-4                            117.00         2.30  -98.03%
      BenchmarkWaitGroupWait-8                            111.00         1.31  -98.82%
      BenchmarkWaitGroupWait-16                           104.00         1.27  -98.78%
      BenchmarkWaitGroupWaitWork                          802.00       792.00   -1.25%
      BenchmarkWaitGroupWaitWork-2                        411.00       401.00   -2.43%
      BenchmarkWaitGroupWaitWork-4                        210.00       199.00   -5.24%
      BenchmarkWaitGroupWaitWork-8                        206.00       105.00  -49.03%
      BenchmarkWaitGroupWaitWork-16                       334.00        54.40  -83.71%
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/4672050
      ee6e1a3f