]> Cypherpunks repositories - gostls13.git/commit
strconv: use Run for some benchmarks
authorMarcel van Lohuizen <mpvl@golang.org>
Thu, 26 May 2016 10:10:28 +0000 (12:10 +0200)
committerMarcel van Lohuizen <mpvl@golang.org>
Thu, 2 Jun 2016 20:47:29 +0000 (20:47 +0000)
commit0f5697a81deab54f1673a48bd0ce613ebf1ddae6
treece79d17f4adc000f918cc4bd0b0f3a86c717050b
parent03abde49713b46366fa47a037040697c8fdad3bb
strconv: use Run for some benchmarks

This serves as an example of table-driven benchmarks which are analoguous to the common pattern for table-driven tests.

Change-Id: I47f94c121a7117dd1e4ba03b3f2f8bcb5da38063
Reviewed-on: https://go-review.googlesource.com/23470
Run-TryBot: Marcel van Lohuizen <mpvl@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/strconv/ftoa_test.go