pyhf 0.7.0 slower than v0.5.4 #2076
-
Hello! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
Please use the latest release,
I haven't had time to look at your actual code yet, but in general if you want to understand where you're running into slowdowns with code you should profile it. if you're not familiar with using profilers here's an example that demonstrates how to use |
Beta Was this translation helpful? Give feedback.
-
As I understand, since v0.6.0 pyhf uses iminuit v2x and it works slower, than minuit v1.x in pyhf v0.5.4. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
I used an another workspace with more stats and got the following results by adjusting my scripts.
I think there were some mistakes in scripts or workspace and I corrected it. And now I guess that this liitle slowing down of latest pyhf version is not significant. Scipy optimizer doesnt calculate errors, thereby its faster (I guess).