[libcxx-commits] [libcxx] [libcxx] Speed up xsgetn for always_noconv (PR #212010)

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jul 25 09:52:46 PDT 2026


aokblast wrote:

This largely decrease the runtime in #163073 

blast at blast-devserv ~/G/l/build-string-release (users/aokblast/libcxx/speedup_stdinbuf_xsgetn)> time cat /tmp/test.file | LD_LIBRARY_PATH=../build-crt/lib ./bin/llvm-strings > /dev/null

________________________________________________________
Executed in    4.20 secs    fish           external
   usr time    4.13 secs    1.56 millis    4.13 secs
   sys time    0.24 secs    0.14 millis    0.24 secs

blast at blast-devserv ~/G/l/build-string-release (users/aokblast/libcxx/speedup_stdinbuf_xsgetn)> time cat /tmp/test.file |  ./bin/llvm-strings > /dev/null

________________________________________________________
Executed in    9.99 secs    fish           external
   usr time   10.01 secs    0.00 micros   10.01 secs
   sys time    0.18 secs    0.00 micros    0.18 secs

https://github.com/llvm/llvm-project/pull/212010


More information about the libcxx-commits mailing list