Running the latest, a native binary gives more than 2x speedup:
# first you have to allow all the unsigned binaries to run
$ xattr -dr com.apple.quarantine pypy-c-jit-106295-5dd3b18303e2-macos_arm64/bin/*
# then we get 3.5s:
$ time pypy-c-jit-106295-5dd3b18303e2-macos_arm64/bin/pypy nbody.py 10000000
-0.169075164
-0.169077842
real 0m3.522s
user 0m3.468s
sys 0m0.045s
llimllib|3 years ago
nerdponx|3 years ago
llimllib|3 years ago
(I could be wrong)
edit: oh, huh I think you're right that it's running here on rosetta:
Wonder if there's a way to run a native version?edit 2: there are nightlies here: https://buildbot.pypy.org/nightly/py3.9/
Running the latest, a native binary gives more than 2x speedup:
pypy continues to impress!unknown|3 years ago
[deleted]