Our great sponsors
-
fast_io
Discontinued C++20 Concepts IO library which is 10x faster than stdio and iostream (by tearosccebe)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
concat and concatln function generates std::string. https://github.com/tearosccebe/fast_io/blob/master/benchmark/0002.file_io_tsc/time/iobuf_file_concatln.cc
https://github.com/tearosccebe/dtoa-benchmark/blob/master/src/fast_io_scientific.cpp on your buffer
I've tried again with your latest changes and decided to use https://github.com/martinus/nanobench for a better benchmark and got the following output:
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- Much Faster than std::string, fmt::format, std::to_chars, std::time and more?
- Nanobench: Fast, single-header microbenchmarking functionality for C++
- What style guide to use with clang-format?
- how do you properly benchmark?
- I don’t know which container to use (and at this point I’m too afraid to ask)