You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to determine the startup performance of my library (Portable.Xaml), but it seems there's no option to only run the benchmark a single time.
I've tried using Job.Dry.With(RunStrategy.ColdStart) in my Config, but it still is running the benchmark twice.
Investigating the issue, it appears that this line in the generated benchmark calls the Engine.Jitting() method, which calls the benchmark, before running the benchmark.
Is there a way to get around this that I'm not seeing? If not, I think a config option to omit the Jitting() phase would be extremely useful.
Thanks for any help!
The text was updated successfully, but these errors were encountered:
@cwensley, thanks for the report. The bug will be fixed in the next version of BenchmarkDotNet. @adamsitnik, I will fix it. I almost finished a new RunStrategy (which solves one-time Setup/Cleanup) problem. So, I will also disable jitting for ColdStart and the new strategy. Hopefully, will be done on holidays.
I am attempting to determine the startup performance of my library (Portable.Xaml), but it seems there's no option to only run the benchmark a single time.
I've tried using
Job.Dry.With(RunStrategy.ColdStart)
in my Config, but it still is running the benchmark twice.Investigating the issue, it appears that this line in the generated benchmark calls the Engine.Jitting() method, which calls the benchmark, before running the benchmark.
Is there a way to get around this that I'm not seeing? If not, I think a config option to omit the Jitting() phase would be extremely useful.
Thanks for any help!
The text was updated successfully, but these errors were encountered: