by aniforprez · 4y ago · 0 comments
I just tested simple concatenation and bat is over 10x slower:
$ time cat 1GiB 1GiB 1GiB 1GiB >/dev/null
real 0m0.414s
user 0m0.014s
sys 0m0.400s
$ time bat 1GiB 1GiB 1GiB 1GiB >/dev/null
real 0m4.257s
user 0m1.659s
sys 0m2.594s
Seems like a lot of these "modern" replacements lose what the original simpler utils do well.Seems like a recurring thing[0] with the modern alternatives.