Mesh.CreateFromBrep doesn't like parallelism?

Hi guys,

I just found out about this, very strange.
When trying to create meshes from Breps, I was getting something like 2.7s using a single threaded execution, and more than double with multi threaded with Parallel.For() loop.

I have come across situations where multi threading produced meager advantages over one single thread, namely with small loops, but we are talking hundreds of Breps here and doubling the runtime can’t be multi threading overhead.

Any thoughts?

Looks like my PC was having a bad day. Now it is working as expected and I never touched it.

That sounds very unlikely… you should post your code and also perform several test cases on your behalf with different input sizes and geometry.

It’s impossible for a computer to have a bad like we humans do