[solved] Agents.jl spending 3/4 of its time doing something before it even starts to compute?

Yeah, I don’t know either… Here’s two profile views one of which with 100 steps of my model one is 400:

As you can see it doesn’t matter how long I run the thing it’s always something like 25 % of the samples are in my code.

Now that I think about it, I’ve got 4 julia threads in my environment variable, so maybe it’s sampling all 4 threads, and of course 3/4 of them are not doing anything, because I’m not using threads in my code.

That must be it?