diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2013-08-13 14:48:08 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2013-08-13 14:48:08 -0700 |
| commit | c7d352c9412de57ac5c9f5d7895540336ebaab5c (patch) | |
| tree | 7a9d50b29cae1c80a7cd4254907eb4657e27c000 /src/pkg/database/sql/sql_test.go | |
| parent | c18af467fdec00d4369bc9b5a140ff1d043aab2e (diff) | |
| download | go-c7d352c9412de57ac5c9f5d7895540336ebaab5c.tar.xz | |
archive/zip: remove an allocation, speed up a test
Update #6138
TestOver65kFiles spends all its time garbage collecting.
Removing the 1.4 MB of allocations per each of the 65k
files brings this from 34 seconds to 0.23 seconds.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/12894043
Diffstat (limited to 'src/pkg/database/sql/sql_test.go')
0 files changed, 0 insertions, 0 deletions
