-
Notifications
You must be signed in to change notification settings - Fork 38
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
Leverage parallel capabilities #142
Conversation
Sweet Did you see some performance wins? |
Codecov Report
@@ Coverage Diff @@
## main #142 +/- ##
==========================================
+ Coverage 52.98% 53.12% +0.13%
==========================================
Files 24 24
Lines 4756 4757 +1
Branches 1548 1553 +5
==========================================
+ Hits 2520 2527 +7
+ Misses 1687 1675 -12
- Partials 549 555 +6
Continue to review full report at Codecov.
|
Seems that it broke some BFS tests:
|
i ran some benchmarks and this branch is slightly slower then main and both are faster then gnu find
|
slower, even on directories with plenty of files? |
730550 files to be exact |
Spinning rust, or SSD. I could see how on the former, parallel operations
could end up just fighting over head seeks.
Mark
…On Fri, Feb 4, 2022 at 2:24 PM Tsotne Nazarashvili ***@***.***> wrote:
730550 files to be exact
—
Reply to this email directly, view it on GitHub
<#142 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC3MQF7GOHRUG5WPX76ABZ3UZPOQZANCNFSM5NRBOYTQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
i am testing on SSD |
ok, so, is there an advantage merging this ? (besides the fun of it ? :) |
no. in current state this branch is slightly more complex and slightly less efficient version so there is no point in merging it. if you can give any advice on possible problems/solutions and/or what to investigate etc. to actually improve performance using parallelism i can try to do it. if not we can close this PR i guess |
I believe there's no performance benefit because with You could try the |
not sure if this does what it should be doing but tests are passing
fixes #112