-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mspms slow compared with ms #1652
Comments
Interesting, thanks @grahamgower. The first case is probably just overhead because msprime is doing more complicated things, but the second is a genuine perf regression all right. Looks like the time is all being spent in mutation generation. Sigh. |
Or perhaps writing the ms-format output? |
No, I just had a quick look at perf top and a lot of time was being spent in mutgen. No doubt there'll be a good chunk spent in the ms format output too. |
Darn. What do you run to see the perf, btw? |
Lots of time spent in the AVL trees, IIRC. I didn't look too hard though, just confirming that it wasn't Python overhead or something. |
I meant - what tool do you use to look at this? |
Ah, sorry. Linux perf: https://perf.wiki.kernel.org/index.php/Main_Page It's awesome. |
Here's a small three population example without recombination.
mspms
I thought maybe this was just because of the value of theta, so I bumped it up to
10000.0
, and now the results are even worse.The text was updated successfully, but these errors were encountered: