8000 (Performance) Remove unnecessary I/O syscalls for FileTasks by da2x · Pull Request #393 · ruby/rake · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

(Performance) Remove unnecessary I/O syscalls for FileTasks #393

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

Merged
merged 2 commits into from
Mar 25, 2022

Conversation

da2x
Copy link
Contributor
@da2x da2x commented Sep 16, 2021

I’m assuming that no benchmarking will be required for the claim “fewer I/O syscall means better performance”.

This may only seem like a trivial improvement for smaller projects. However, I’m dealing with about 22 000 files, and removing this one these two system calls cut my no-changes build time by 14,8 % 12,4 % on a fast M.2 SSD.