-
Notifications
You must be signed in to change notification settings - Fork 30k
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
benchmark: Repair the fs/readfile benchmark #7818
Conversation
Signed-off-by: Sorin Baltateanu <sorin.baltateanu@intel.com>
I'm unable to recreate the exception on macos and I'm not sure if introducing a timer here is the best approach. Pinging @mscdex for his thoughts... |
I remember having seen that error too, but it should be fixed after 8bb59fd landed. Though this fix may be better. |
c133999
to
83c7a88
Compare
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 stil seems to make sense to me.
PR-URL: #7818 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Landed in d9b0e4c |
I'm confused as to why this was merged when there was already a |
PR-URL: #7818 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Checklist
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
Description of change
The readfile benchmark of fs type was throwing an exception because the benchmark tried to read the file after it got unlinked at the end of the run.
Signed-off-by: Sorin Baltateanu sorin.baltateanu@intel.com