C++20 std::format is 2x slower than std::fstream?

This page summarizes the projects mentioned and recommended in the original post on /r/cpp_questions

Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. fast_io

    Discontinued C++20 Concepts IO library which is 10x faster than stdio and iostream (by tearosccebe)

    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

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. dtoa-benchmark

    Discontinued C++ double-to-string conversion benchmark

    https://github.com/tearosccebe/dtoa-benchmark/blob/master/src/fast_io_scientific.cpp on your buffer

  4. nanobench

    Simple, fast, accurate single-header microbenchmarking functionality for C++11/14/17/20

    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.

Suggest a related project

Related posts

  • Much Faster than std::string, fmt::format, std::to_chars, std::time and more?

    1 project | /r/cpp | 6 Oct 2022
  • Nanobench: Fast, single-header microbenchmarking functionality for C++

    1 project | news.ycombinator.com | 9 Nov 2021
  • What style guide to use with clang-format?

    2 projects | /r/cpp | 12 Oct 2021
  • how do you properly benchmark?

    2 projects | /r/cpp | 20 Feb 2023
  • I don’t know which container to use (and at this point I’m too afraid to ask)

    2 projects | /r/cpp | 3 Feb 2022

Did you know that C++ is
the 7th most popular programming language
based on number of references?