/InstantTee

Rust implementation of the tee command using splice() and tee() Linux system calls. It is 4-5 times faster than GNU.

Primary LanguageRustMIT LicenseMIT

K-On! Tea GIF
Instant Tee

Because noone likes waiting for their Tee.

$ fcat /tmp/largefile | itee | pv -r > /dev/zero
[11.6GiB/s]
$ fcat /tmp/largefile | itee /dev/zero | pv -r > /dev/zero
[14.3GiB/s]
$ fcat /tmp/largefile | tee | pv -r > /dev/zero
[2.90GiB/s]
$ fcat /tmp/largefile | tee /dev/zero | pv -r > /dev/zero
[2.66GiB/s]

License

This project is licensed under the MIT license. See LICENSE for the full license text.