When setting an environment variable gives you a 40x speedup
Today, we’d like to share some of our recent work on Sherlock that allowed a pretty significant speedup when listing files in directories with a lot of entries. And if you don’t do any of those checks, then the calls disappear, and now, boom 🚀:
From 13s with the default settings, to 0.3s with a small tweak, that’s a 40x speedup right there, for the cheap price of not having / or executable files colorized differently. But if you want all of your colors back, no worries, you can simply revert to the distribution defaults with:
But then, if you have directories with many many files, be sure to have some coffee handy while is doing its thing.
Source: news.sherlock.stanford.edu