Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow at /proc #859

Open
madprops opened this issue Mar 16, 2024 · 4 comments
Open

Slow at /proc #859

madprops opened this issue Mar 16, 2024 · 4 comments

Comments

@madprops
Copy link

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"

@Canop
Copy link
Owner

Canop commented Mar 16, 2024

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 ?

@madprops
Copy link
Author

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.

@Canop
Copy link
Owner

Canop commented Mar 16, 2024

Is ls -al /proc slow too ?

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

@madprops
Copy link
Author

madprops commented Mar 16, 2024

ls -al /proc completes in around 224ms.

broot.log shows:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants