apple-m1-pro_macos_clang21.0_359383b
Time per double (lower is better)
| Method | Time (ns) | Speedup |
|---|---|---|
| zmij | 6.51 | |
| xjb64 | 6.92 | |
| yy | 13.38 | |
| dragonbox | 20.92 | |
| fmt | 22.13 | |
| schubfach | 25.06 | |
| uscale | 28.50 | |
| ryu | 36.92 | |
| to_chars | 41.77 | |
| double-conversion | 84.70 | |
| sprintf | 730.38 | |
| ostringstream | 871.91 |
Click any row to use it as the speedup baseline.
Times include a fixed loop-overhead floor of 0.94 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.