]> Cypherpunks repositories - gostls13.git/commit
math/big: add benchmarks for big.Float String
authorAlberto Donizetti <alb.donizetti@gmail.com>
Mon, 17 Oct 2016 19:59:10 +0000 (21:59 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 18 Oct 2016 05:54:35 +0000 (05:54 +0000)
commitf6cdfc7987d9f3ee7380b3e6f52e433608f342c5
tree616a7bd6f28f85b6557201d78b341c7cffd31c5e
parent57666c3fe842c8a210b55e22514834ec724f945d
math/big: add benchmarks for big.Float String

In addition to the DecimalConversion benchmark, that exercises the
String method of the internal decimal type on a range of small shifts,
add a few benchmarks for the big.Float String method. They can be used
to obtain more realistic data on the real-world performance of
big.Float printing.

Change-Id: I7ada324e7603cb1ce7492ccaf3382db0096223ba
Reviewed-on: https://go-review.googlesource.com/31275
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/math/big/decimal_test.go