[all-commits] [llvm/llvm-project] c5949f: [libc++] Optimize ofstream::write (#123337)

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Wed Aug 27 05:50:58 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5949f74bf8cd6f7b5e0a94c49b80c78ca9d78cc
      https://github.com/llvm/llvm-project/commit/c5949f74bf8cd6f7b5e0a94c49b80c78ca9d78cc
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-08-27 (Wed, 27 Aug 2025)

  Changed paths:
    M libcxx/docs/ReleaseNotes/22.rst
    M libcxx/include/fstream
    A libcxx/test/benchmarks/streams/ofstream.bench.cpp
    M libcxx/test/libcxx/input.output/file.streams/fstreams/filebuf/traits_mismatch.verify.cpp
    M libcxx/test/libcxx/input.output/file.streams/fstreams/traits_mismatch.verify.cpp
    M libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp
    A libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/xsputn.pass.cpp

  Log Message:
  -----------
  [libc++] Optimize ofstream::write (#123337)

```
----------------------------
Benchmark       old      new
----------------------------
bm_write    1382 ns   521 ns
```



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