Skip to content
Laurent Bourges edited this page Jan 24, 2015 · 4 revisions

This pages gathers latest benchmarks of jnumbers methods compared to standard JDK equivalent ones:

https://raw.githubusercontent.com/bourgesl/jnumbers/master/benchmark.log

  • NumberParser.getDouble(CharSequence) :

1 threads, Tavg = 258 585,40 ns/op (σ = 0,00 ns/op), Total ops = 116017

8 threads, Tavg = 539 633,99 ns/op (σ = 1 887,63 ns/op), Total ops = 444925

  • Double.parseDouble(String) :

1 threads, Tavg = 1 457 173,06 ns/op (σ = 0,00 ns/op), Total ops = 20588

8 threads, Tavg = 2 788 251,81 ns/op (σ = 9 074,03 ns/op), Total ops = 86068

Clone this wiki locally