fun fact: retaining and releasing an NSObject takes ~30 nanoseconds on current gen Intel, and ~6.5 nanoseconds on an M1
…and ~14 nanoseconds on an M1 emulating an Intel
(The price we pay for this is that certain kinds of multithreading bugs can remain dormant on Intel but become symptomatic on M1. Use Thread Sanitizer to test your apps!)
this further improvement is because uncontended acquire-release atomics are about the same speed as regular load/store on A14
https://twitter.com/Catfish_Man/status/1326238434235568128
https://blog.metaobject.com/2020/11/m1-memory-and-performance.html?m=1
M1 chips are very fast. Full decode of AV1 sample Chimera in 1080p using dav1d:
(Numbers are SingleThread; 4 Frame Threads with 4 Tiles Threads; and finally 8 Frame Threads with 4 Tiles Threads)
Oh, and the M1 running the x86 code gives 168fps with 4+4 threads. Around half-speed, which is very impressive for emulation.
https://twitter.com/videolan/status/1329403827309715456
https://info.crunchydata.com/blog/postgresql-benchmarks-apple-arm-m1-macbook-pro-2020
Got Minecraft running on a MacBook Air running on Apple Silicon without Rosetta, I got MultiMC running with a build of Qt and then built LWJGL and dependencies for arm64. The JDK being used is the Azul Zulu JDK built for macOS arm64.
Performance is unbelievable. I'm getting well over 200fps average on a regular sized windows and ~100fps at 4k on an external display!
The laptop has no fans but doesn't even begin to get hot enough to cause any sort of throttling. Looking forwards to the official Minecraft port as this was mostly straightforward.
https://old.reddit.com/r/Minecraft/comments/jxzilu/minecraft_on_apple_silicon/
https://github.com/react-native-community/discussions-and-proposals/issues/295
It‘s only affect iOS apps though
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.