Code Monkey home page Code Monkey logo

Comments (6)

sharkdp avatar sharkdp commented on May 21, 2024

I'm not that familiar with VirtualBox. Do you know what makes these shared folders different? Do you run fd from within the VirtualBox?

from fd.

gitpy avatar gitpy commented on May 21, 2024

I forgot to mention that the host is a windows machine. Yes I ran fd inside VirtualBox but only inside shared folders the performance drops. They are pseudo-network redirectors (Windows Technology). My guess is, the way they get cached by the OS slows them down. Do you use a different access pattern then find?

from fd.

sharkdp avatar sharkdp commented on May 21, 2024

I'm not sure. How did you perform these benchmarks? In particular, if there is any kind of caching going on, did you run an initial "warm-up"?

from fd.

gitpy avatar gitpy commented on May 21, 2024

I ran the tests from the README with a warm-up and multiple runs.

I'm also testing on a bigger data set now, where the slowdown is only 2x. (8 seconds to 4 seconds)

When I find time I will test the walkdir crate itself to see if the behavior persists.

from fd.

sharkdp avatar sharkdp commented on May 21, 2024

Ok, thank you

from fd.

sharkdp avatar sharkdp commented on May 21, 2024

@gitpy I'm closing this for now, as (1) I'm not sure how to reproduce this and (2) the internals of fd have changed quite a lot since you opened this ticket: directories are now traversed in parallel.

If you are still interested, it'd be great if you could re-run your benchmark and see if this is still an issue. Feel free to re-open this ticket, if this is the case.

Anyways, thanks for your feedback!

from fd.

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.