Closed jmcnamara closed 1 month ago
As with all benchmarks, different scenarios will produce different results. It would be best to performance test your particular scenario with and without ryu
to see if it is worth enabling.
If you get positive (or negative) results please let me know.
Add a Cargo.toml feature to optionally use the ryu crate to speed up writing worksheet numeric data.
This has a positive effect when writing large numeric data sets. Specifically it has a benefit when writing more than 300,000 numeric data cells and when writing 5,000,000 numeric cells it can be 30% faster. See the table below.
The benchmark was run using the following program:
The benchmarking was run with hyperfine:
The change was only added to the worksheet number cell writing code since that is the only part of the inner loop where it would have a substantive effect.