Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wonder how this compares to the speed of zsh's globbing, which is what I've mostly switched to using instead of find.


zsh globs are about a factor of 5 slower (for this example):

    > time fd -sIe jpg > /dev/null
    1,24s user 0,77s system 758% cpu 0,265 total
    
    > time ls ~/**/*.jpg > /dev/null
    0,53s user 0,97s system 98% cpu 1,518 total




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: