News for hackers. Stuff that matters.
Re:Apple Silicon M1: A Developer's Perspective by dr_zoidberg on Sunday November 29, 2020 @06:20PM (#25249048)
Okay, I'm not finding any benchmark that supports the idea of a slowdown, so probably I remembered some rumour I read on twitter or reddit.

What I am finding now is that python is working more than fine on M1, be it through rosetta or native code, which is consistent with your experience.

Also to clear things a bit, I parsed your "3.6 -> 3.9" as meaning that you had moved from Py36 on intel to Py39 on apple, which is why I asked if maybe there were speedups or differences from moving to 3.9.

Re:Apple Silicon M1: A Developer's Perspective by X-Istence on Sunday November 29, 2020 @11:26PM (#25250733)
Ah, my apologies for not making that more clear. Currently all are running under Rosetta.

I was unable to get all the versions I needed compiled natively, which means for now I will use the non-native versions.

I have tested Py3.9 compiled for arm64, and one particular test suite went from 9 seconds to 6 seconds. Other test suites were not as dramatic, especially larger ones, where it might go down from 40 seconds to 36 seconds.

Still a speed improvement, but not as dramatic as the 2017 MacBook Pro i7 -> 2020 MacBook Pro M1.