You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm doing some benchmarks with a large (1.7GB) CSV file, and it seems that upgrading from rust 1.71 to 1.73 has caused a significant performance regression for lz4::Decoder.
I was able to reproduce this on Linux with Rust 1.73, and a similarly sized file. Here's the backtrace:
#1 0x00005630f3b86148 in <alloc::vec::Vec<u8,A> as std::io::copy::BufferedWriterSpec>::copy_from ()
#2 0x00005630f3b8712f in lz4::test::speed_bug ()
#3 0x00005630f3b802a9 in core::ops::function::FnOnce::call_once ()
#4 0x00005630f3bc3d5f in core::ops::function::FnOnce::call_once () at library/core/src/ops/function.rs:250
#5 test::__rust_begin_short_backtrace () at library/test/src/lib.rs:626
...```
It appears to be back to norma speed in Rust 1.75, so I guess it was fixed? I can't find an obvious rust issue that matches this phenotype, so 🤷 . Closing - please re-open if you have any more insights.
I'm doing some benchmarks with a large (1.7GB) CSV file, and it seems that upgrading from rust 1.71 to 1.73 has caused a significant performance regression for
lz4::Decoder
.Some results:
Rust 1.72
Rust 1.73
^ I killed the benchmark during decompression because it took over 11 minutes.
benchmark code
The text was updated successfully, but these errors were encountered: