zip-rs
criterion.rs
zip-rs | criterion.rs | |
---|---|---|
7 | 30 | |
740 | 4,232 | |
- | - | |
3.2 | 6.1 | |
13 days ago | 21 days ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
zip-rs
-
Alert for Social Engineering Takeovers of Open Source Projects
I recently had an xz moment with an unmaintained zip rust crate. I'm still not sure if it was legit or not: https://github.com/zip-rs/zip-old/issues/446
- Crate Is Unmaintained
-
Rust failed to unzip a zip file created on Windows 11.
Looks like the same (or similar) issue has been reported to the Zip GitHub page a while ago. Might not get resolved anytime soon
-
A Rust library for archives?
I would recommend tar or zip.
-
Is it possible to work on the contents of an enormous zip file without decompressing it?
Looks like you can https://github.com/zip-rs/zip/blob/bb230ef56adc13436d1fcdfaa489249d119c498f/examples/stdin_info.rs
-
High-Level Zip Library and Rust Libraries in General
Hey y'all. I wanted to create a rust program to zip / unzip a file. And found zip-rs which I was able to implement the zip function for.
-
Hey Rustaceans! Got an easy question? Ask here (36/2021)!
Thank you for answering. I did think it was strange that reading a file from the archive requires a mutable borrow, I did some digging on the crate's GitHub and it appears like the author has plans to fix this eventually. (https://github.com/zip-rs/zip/issues/147)
criterion.rs
-
How to benchmark in Rust with libtest bench
The three popular options for benchmarking in Rust are: libtest bench, Criterion, and Iai.
-
Divan: Fast and Simple Benchmarking for Rust
Holy crap. I was just writing a blog to complain about the state of Rust benchmarking and I think this might address most of my points. The biggest one is the ability to have benchmarks collocated within the library like tests which is the biggest annoyance.
It’s also nice to see that it can report multiple counters in parallel. I put up a similar feature[1] for criterion recently but I fear the project isn’t being maintained anymore…
Haven’t looked deeply into divan yet but the other requirements I have for criterion’s power is to run tests with statistical guarantees on the results, terminate quickly when statistical significance is reached (—quick), provide a comparison of the delta from a previous benchmark, and to run async code. Wonder how this stacks up.
[1] https://github.com/bheisler/criterion.rs/pull/722
-
how expensive is an operation?
criterion for benchmarks,
- Autometrics 0.4: Spot commits that introduce errors or slow down your application
- Performance-related question
-
How can I further optimize this file parser? (std, serde, diesel)
For an extra optimization, you might look into techniques like branchless code, turning array of structs into struct of arrays for better cache utilization/lowering branch mispredictions. There is many talks on YouTube how to actually measure and improve performance of native code. And for rust there is a criterion.rs for benchmarking.
- making a virtual machine in rust
-
How much does Rust's bounds checking cost?
https://github.com/bheisler/criterion.rs is good for tests like that. It will give you much more than a single number and handle things like outliers. This makes identifying noisy tests simpler.
-
Tips in using criterion to properly benchmark a database?
I have tried many ways but I think is not possible. I put it on https://github.com/bheisler/criterion.rs/issues/631.
-
Rust 1.64 Became 10-20% Faster On Windows
Criterion is still the gold standard.
Pros for Criterion over the stdlib: https://github.com/bheisler/criterion.rs#features
Downsides of Criterion: https://bheisler.github.io/criterion.rs/book/user_guide/know...
What are some alternatives?
tar-rs - Tar file reading/writing for Rust
hyperfine - A command-line benchmarking tool
bzip2-rs - libbz2 (bzip2 compression) bindings for Rust
sqlglot - Python SQL Parser and Transpiler
rust-lzma - A Rust crate that provides a simple interface for LZMA compression and decompression.
glassbench - A micro-benchmark framework to use with cargo bench
zip - A simple rust library for working with ZIP archives
tracing - Application level tracing for Rust.
flate2-rs - DEFLATE, gzip, and zlib bindings for Rust
sccache - Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.
brotli-rs - A Brotli implementation in pure and safe Rust
tungstenite-rs - Lightweight stream-based WebSocket implementation for Rust.