-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Micro benchmark fixes #12178
Micro benchmark fixes #12178
Conversation
Hey there @adamsitnik! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
@@ -67,20 +53,4 @@ static bool Run() | |||
} | |||
return success; | |||
} | |||
|
|||
// NOTE: the built-in ConsoleLogger throws PlatformNotSupportedException | |||
class Logger : ILogger |
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.
Was there a fix in BDN for the logger? My memory is that some System.Console
API threw a PlatformNotSupported
exception on Android. I don't remember if I sent a PR for it.
If you ran this on Android and it worked, we're good. I think it threw immediately when benchmarks started.
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.
Ok, I see the logger fix, looks good:
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
Fixes issues reported offline by @fanyang-mono , requires a BenchmarkDotNet update (dotnet/BenchmarkDotNet#2231)