benchmarking: Separated the compressed and uncompressed writing calls to avoid
confusing profiler.