exa
exa copied to clipboard
recursion is slow comparing with tree
the recursion speed of tree is around 0.5 seconds for my whole home dir
speed of tree
speed of exa
option : --tree
option : --recurse

there are also small gaps between like the recursion command
is there a way we can increase the speed
Hey there ! I'm not getting nearly as much differences on my side. Comparing tree v2.0.2 vs exa v0.10.1.
❯ tree | wc -l
289892
time tree
________________________________________________________
Executed in 5.95 secs fish external
usr time 2.46 secs 0.00 micros 2.46 secs
sys time 1.97 secs 835.00 micros 1.97 secs
time exa --tree
________________________________________________________
Executed in 6.49 secs fish external
usr time 3.11 secs 666.00 micros 3.11 secs
sys time 3.84 secs 209.00 micros 3.84 secs
time exa --recurse
________________________________________________________
Executed in 3.25 secs fish external
usr time 1.78 secs 634.00 micros 1.78 secs
sys time 1.24 secs 232.00 micros 1.24 secs
The same goes for a small structure. exa will be slower, but not by a huge margin
I am getting some large differences
tree
________________________________________________________
Executed in 1.54 secs fish external
usr time 826.26 millis 212.00 micros 826.05 millis
sys time 714.39 millis 81.00 micros 714.31 millis
exa --tree
________________________________________________________
Executed in 4.74 secs fish external
usr time 3.58 secs 237.00 micros 3.58 secs
sys time 7.95 secs 85.00 micros 7.95 secs
exa --recurse
________________________________________________________
Executed in 1.36 secs fish external
usr time 541.13 millis 0.00 micros 541.13 millis
sys time 811.52 millis 334.00 micros 811.19 millis