epyc-7c13_linux_gcc13.3_ee50fc8
Time per double (lower is better)
| Method | Time (ns) | Speedup |
|---|---|---|
| zmij | 14.03 | |
| xjb64 | 15.21 | |
| yy | 26.95 | |
| dragonbox | 30.88 | |
| uscale | 44.46 | |
| fmt | 45.29 | |
| schubfach | 47.04 | |
| ryu | 53.31 | |
| to_chars | 62.82 | |
| double-conversion | 101.10 | |
| sprintf | 477.33 | |
| ostringstream | 702.28 |
Click any row to use it as the speedup baseline.
Times include a fixed loop-overhead floor of 1.36 ns (measured with a no-op stand-in for dtoa).
ostringstream and sprintf omitted; they are an order of magnitude slower than the rest.
Time vs. digit count (log scale)
Hover or click a method to highlight its series.