expecto icon indicating copy to clipboard operation
expecto copied to clipboard

Running multiple benchmarks hangs

Open haf opened this issue 6 years ago • 3 comments

See https://github.com/dotnet/BenchmarkDotNet/issues/755 for details

Not sure on if this is in Expecto or in BenchmarkDotnet.

haf avatar May 14 '18 13:05 haf

Yes I guess this is not supported by BenchmarkDotNet.

Easiest global fix Expecto side is to lock the running of this. I can add this.

https://github.com/haf/expecto/blob/04f12c07e7d148c8a7204e7bc6badc73648c5f46/Expecto.BenchmarkDotNet/Expecto.BenchmarkDotNet.fs#L93

Workaround is to testSequenced these benchmarks.

AnthonyLloyd avatar May 14 '18 13:05 AnthonyLloyd

I don't think so; if you look towards the end of Program.fs you can see I'm running it sequenced already.

haf avatar May 14 '18 13:05 haf

Then I guess its an issue with BenchmarkDotNet. As long as we are really running sequenced and are cleaning up ok.

AnthonyLloyd avatar May 14 '18 13:05 AnthonyLloyd