apple-m1-pro_macos_clang21.0_45ff4d4
Time per double (lower is better)
| Method | Time (ns) | Speedup |
|---|---|---|
| zmij | 6.45 | |
| xjb64 | 6.99 | |
| yy | 24.63 | |
| dragonbox | 28.95 | |
| fmt | 36.84 | |
| uscale | 45.86 | |
| ryu | 46.07 | |
| to_chars | 51.35 | |
| schubfach | 53.62 | |
| double-conversion | 87.43 | |
| sprintf | 744.72 | |
| ostringstream | 885.30 |
Click any row to use it as the speedup baseline.
Times include a fixed loop-overhead floor of 0.95 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.