apple-m5-max_macos_clang21.0_ab145b9
Time per double (lower is better)
| Method | Time (ns) | Speedup |
|---|---|---|
| zmij | 3.93 | |
| xjb64 | 4.17 | |
| yy | 16.61 | |
| dragonbox | 20.26 | |
| fmt | 24.40 | |
| uscale | 28.83 | |
| ryu | 30.45 | |
| to_chars | 34.23 | |
| schubfach | 34.58 | |
| double-conversion | 50.90 | |
| sprintf | 399.75 | |
| ostringstream | 471.70 |
Click any row to use it as the speedup baseline.
Times include a fixed loop-overhead floor of 0.65 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.