Giter Club home page Giter Club logo

Comments (4)

pascalkuthe avatar pascalkuthe commented on July 19, 2024 2

Our transversal is currently not parallel because we sort entries alphabetically.

Windows has super slow IO. Anytime I see people having issues with IO speed like this it's Windows (if you are on WSL its even worse still) on Linux/macos it's never an issue for projects of practical size (I work on massive legacy codebases).

We can likely offer an option to disable the sorting and allow parallel transversal. It's not too useful since it's only a secondary tie breaker as soon as you enter a query.

Caching the filesystem does not make sense. For small directories it's not necessary and for large directories the memory consumption is prohibitive (you wouldn't want to cache $HOME or /).

And .ignore does prevent entering directories if a glob matches a directory

from helix.

markstos avatar markstos commented on July 19, 2024 2

Can you provide a simpler reproduction case - a different similarly large project?

The Linux kernel is often used when people need a huge project to test with.

I just tried untar'ing this tarball of 85,000 files and then opening hx in the directory:

https://git.kernel.org/torvalds/t/linux-6.10-rc2.tar.gz

It opened instantly. On Linux.

from helix.

the-mikedavis avatar the-mikedavis commented on July 19, 2024

The log isn't irrelevant, this line might be insightful:

log::debug!("file_picker init {:?}", Instant::now().duration_since(now));

Can you provide a simpler reproduction case - a different similarly large project? Cloning unreal engine is convoluted

from helix.

RoloEdits avatar RoloEdits commented on July 19, 2024

@liquidev One thing you can try is the new dev drive (built on top of ReFS) windows 11 comes with (you didn't specify windows version, so assuming 11). I've noticed various I/O improvements myself. Your milage may vary.

link: https://learn.microsoft.com/en-us/windows/dev-drive/

from helix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.