Canop / broot

A new way to see and navigate directory trees : https://dystroy.org/broot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slow at /proc

madprops opened this issue · comments

Not a bug report, but it might be interesting for you to know that opening /proc in my system takes several seconds, like 4 seconds. In case there's room for performance improvements there.

Using these default flags:

default_flags: "-gh --sort-by-type"

I can't reproduce that.

Can you tell me more about your system (OS, shell, specifics) and whether it's slow too if you use different launch arguments ?

Arch Linux, Fish shell, 64-bit. Using Alacritty, also tested on Tilix. ls -l | wc -l in /proc results in 21015. Same results with and without the default flags from the hjson file. Same result when using bash.

Is ls -al /proc slow too ?

Can you please show the debug log (I'm especially interested in the special paths part) ?

ls -al /proc completes in around 224ms.

broot.log shows:

    special_paths: {
        GlobConf {
            pattern: "/media",
        }: Shortcut(
            NoEnter,
        ),
    },