commit | ecde60adc5632c6b619d7ad2ef9aff990adde5c4 | [log] [tgz] |
---|---|---|
author | Quentin Smith <quentin@golang.org> | Wed Jan 11 18:14:14 2017 -0500 |
committer | Quentin Smith <quentin@golang.org> | Fri Jan 13 18:11:28 2017 +0000 |
tree | 43a0b441e444c08f7a188f7509b6d469dd5bce57 | |
parent | 72f847b997c6f9ee92d32508db10928bb3e1f672 [diff] |
storage: reuse transaction for uploads Reuse a single transaction for all INSERT statements for a single upload. This cuts about 50% of the runtime off an invocation of the tests with -cloud, and about 25% of the runtime off an /upload run on App Engine. Change-Id: I90068f60420cfb67ae693f18ed83b341c2e483bd Reviewed-on: https://go-review.googlesource.com/35069 Reviewed-by: Russ Cox <rsc@golang.org>