1. 14 Jul, 2011 2 commits
  2. 13 Jul, 2011 29 commits
  3. 12 Jul, 2011 9 commits
    • Andrew Gerrand's avatar
      doc: gofix io2010 demo programs · ba91dac3
      Andrew Gerrand authored
      R=golang-dev, gri, r, agl
      CC=golang-dev
      https://golang.org/cl/4696046
      ba91dac3
    • Wei Guangjing's avatar
      debug/pe: fixes ImportedSymbols for Win64. · f340b3de
      Wei Guangjing authored
      R=golang-dev, alex.brainman
      CC=golang-dev
      https://golang.org/cl/4639086
      f340b3de
    • Robert Hencke's avatar
      gc: make size of struct{} and [0]byte 0 bytes · 67edf9cb
      Robert Hencke authored
      Fixes #1949.
      
      R=iant, rsc
      CC=golang-dev
      https://golang.org/cl/4634124
      67edf9cb
    • Dmitriy Vyukov's avatar
      runtime: eliminate false sharing during stack growth · 86e7323b
      Dmitriy Vyukov authored
      Remove static variable from runtime·oldstack().
      Benchmark results on HP Z600 (2 x Xeon E5620, 8 HT cores, 2.40GHz)
      are as follows (with CL 4657091 applied):
      benchmark                                        old ns/op    new ns/op    delta
      BenchmarkStackGrowth                               1183.00      1180.00   -0.25%
      BenchmarkStackGrowth-2                             1249.00      1211.00   -3.04%
      BenchmarkStackGrowth-4                              954.00       805.00  -15.62%
      BenchmarkStackGrowth-8                              701.00       683.00   -2.57%
      BenchmarkStackGrowth-16                             465.00       415.00  -10.75%
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/4693042
      86e7323b
    • Russ Cox's avatar
      runtime: fix comment (lost in shuffle) · 88e0c051
      Russ Cox authored
      TBR=dvyukov
      CC=golang-dev
      https://golang.org/cl/4710041
      88e0c051
    • Dmitriy Vyukov's avatar
      runtime: eliminate contention during stack allocation · c9152a85
      Dmitriy Vyukov authored
      Standard-sized stack frames use plain malloc/free
      instead of centralized lock-protected FixAlloc.
      Benchmark results on HP Z600 (2 x Xeon E5620, 8 HT cores, 2.40GHz)
      are as follows:
      benchmark                                        old ns/op    new ns/op    delta
      BenchmarkStackGrowth                               1045.00       949.00   -9.19%
      BenchmarkStackGrowth-2                             3450.00       800.00  -76.81%
      BenchmarkStackGrowth-4                             5076.00       513.00  -89.89%
      BenchmarkStackGrowth-8                             7805.00       471.00  -93.97%
      BenchmarkStackGrowth-16                           11751.00       321.00  -97.27%
      
      R=golang-dev, rsc
      CC=golang-dev
      https://golang.org/cl/4657091
      c9152a85
    • Dmitriy Vyukov's avatar
      sync: improve RWMutex performance · daaf29cf
      Dmitriy Vyukov authored
      The new implementation features wait-free
      fast path for readers which significantly improves
      performance/scalability on read-mostly workloads.
      Benchmark results on HP Z600 (2 x Xeon E5620, 8 HT cores, 2.40GHz)
      are as follows:
      benchmark                              old ns/op    new ns/op    delta
      BenchmarkRWMutexUncontended               179.00        96.60  -46.03%
      BenchmarkRWMutexUncontended-2              89.10        49.10  -44.89%
      BenchmarkRWMutexUncontended-4              44.70        24.70  -44.74%
      BenchmarkRWMutexUncontended-8              23.30        12.90  -44.64%
      BenchmarkRWMutexUncontended-16             16.80         8.75  -47.92%
      BenchmarkRWMutexWrite100                   79.60        26.80  -66.33%
      BenchmarkRWMutexWrite100-2                305.00        33.00  -89.18%
      BenchmarkRWMutexWrite100-4                245.00       113.00  -53.88%
      BenchmarkRWMutexWrite100-8                330.00       147.00  -55.45%
      BenchmarkRWMutexWrite100-16               371.00       152.00  -59.03%
      BenchmarkRWMutexWrite10                    78.30        29.80  -61.94%
      BenchmarkRWMutexWrite10-2                 348.00       165.00  -52.59%
      BenchmarkRWMutexWrite10-4                 447.00       199.00  -55.48%
      BenchmarkRWMutexWrite10-8                 564.00       180.00  -68.09%
      BenchmarkRWMutexWrite10-16                492.00       192.00  -60.98%
      BenchmarkRWMutexWorkWrite100             1077.00      1037.00   -3.71%
      BenchmarkRWMutexWorkWrite100-2            659.00       596.00   -9.56%
      BenchmarkRWMutexWorkWrite100-4            509.00       361.00  -29.08%
      BenchmarkRWMutexWorkWrite100-8            603.00       351.00  -41.79%
      BenchmarkRWMutexWorkWrite100-16           750.00       607.00  -19.07%
      BenchmarkRWMutexWorkWrite10               990.00       951.00   -3.94%
      BenchmarkRWMutexWorkWrite10-2            1119.00      1070.00   -4.38%
      BenchmarkRWMutexWorkWrite10-4            1300.00      1199.00   -7.77%
      BenchmarkRWMutexWorkWrite10-8            1424.00      1291.00   -9.34%
      BenchmarkRWMutexWorkWrite10-16           1981.00      1786.00   -9.84%
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/4671051
      daaf29cf
    • Rob Pike's avatar
      effective go: tweak the words about semicolons, parens in control structures, · 4c631295
      Rob Pike authored
      and make and new.
      
      R=golang-dev, adg
      CC=golang-dev
      https://golang.org/cl/4699043
      4c631295
    • Adam Langley's avatar
      hash/crc32: add SSE4.2 support · 9f4c288c
      Adam Langley authored
      Using the CRC32 instruction speeds up the Castagnoli computation by
      about 20x on a modern Intel CPU.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/4650072
      9f4c288c