[all-commits] [llvm/llvm-project] d54b1c: [libc++][format][1/3] Adds more benchmarks. (#101803)

Mark de Wever via All-commits all-commits at lists.llvm.org
Sun Oct 6 09:19:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d54b1cfa38a111796945fb91c4efb3effbc25649
      https://github.com/llvm/llvm-project/commit/d54b1cfa38a111796945fb91c4efb3effbc25649
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-10-06 (Sun, 06 Oct 2024)

  Changed paths:
    M libcxx/test/benchmarks/CMakeLists.txt
    M libcxx/test/benchmarks/format.bench.cpp
    A libcxx/test/benchmarks/format/write_double_comparison.bench.cpp
    A libcxx/test/benchmarks/format/write_int_comparison.bench.cpp
    A libcxx/test/benchmarks/format/write_string_comparison.bench.cpp

  Log Message:
  -----------
  [libc++][format][1/3] Adds more benchmarks. (#101803)

This patch is the start of a series to improve the speed of std::format,
std::format_to, std::format_to_n, and std::formatted_size.

This is mostly achieved by changing the __output_buffer class. This new
__output_buffer class also makes it easier to implement buffering for
P3107R5 "Permit an efficient implementation of std::print"



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list