-
Notifications
You must be signed in to change notification settings - Fork 389
Revert "Merge pull request #276 from petli/memory-mapped-hit-counts" #322
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
Conversation
8ed8807
to
72b212d
Compare
72b212d
to
c71b7d8
Compare
Codecov Report
@@ Coverage Diff @@
## master #322 +/- ##
==========================================
- Coverage 87.53% 86.57% -0.96%
==========================================
Files 16 16
Lines 2045 2011 -34
==========================================
- Hits 1790 1741 -49
- Misses 255 270 +15 |
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #322 +/- ##
==========================================
- Coverage 87.53% 86.57% -0.96%
==========================================
Files 16 16
Lines 2045 2011 -34
==========================================
- Hits 1790 1741 -49
- Misses 255 270 +15 |
{ | ||
var t = new Thread(HitIndex); | ||
t.Start(i); | ||
t.Join(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should be kept, because not waiting for the test threads to finish running makes the test unreliable. Then the Skip on the test can probably be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe better track with issue and fix with a PR after merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I generally prefer to do a full revert if possible, and then re-apply the part(s) that are still desired, but I wouldn't be opposed to either approach.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, that is better. Optionally, the code this test is testing is no longer in the code base after changing to Interlocked.Increment in RecordHit so it could be removed altogether.
This reverts commit 0d285b1
Reasoning: #276 (comment)
cc @petli @sharwell @tonerdo