The Only M1 Benchmark That Matters
lars.ingebrigtsen.no
lars.ingebrigtsen.no
My most recent experience was with building GCC for cross-compiling. I had been doing work on Linux and spun up a cloud VM instance to do the compiling there with tons of CPU. Later, I wanted a Mac build environment set up, and when I compiled GCC on macOS with Clang, it was much faster to build. I went back to my Linux system and tried compiling GCC using Clang there, and got the same result.
Clang is fast. Just saying.
There was a big thread on it recently
The fact that you get this sort of battery life with high end desktop performance is incredible.
I can't wait to not have to leave my laptop plugged in all the time.
PS: That benchmark is impressive!
If you are not building for the same target (ie both building for arm or x86) using the same version of the compiler, it doesn't count. This is like opening libre office writer on one computer and MS word on another and calling the startup time a benchmark.
This makes me wonder if a comparison not using the same compiler really reveals enough of the story here.
https://twitter.com/hagmonk/status/1338965551775764481
and got similar looking improvements. I also benchmarked Leiningen startup times:
https://gist.github.com/hagmonk/ee5eaa8c07e245422ec384737cb4...
Basically, it's not uncommon to find things running 1.5x faster on M1. Even outside of benchmarks, everything is perceptibly - dare I say it - snappier.
"here's a new, have a nice day"
Compile times and upgradeability/reparability are not mutually exclusive.
It is not wrong to highlight the tradeoff. But people are allowed to decide "I want to give up reparability for nearly 5x faster compiles." Which is what the person got when comparing to the prior generation Macbook with the same compiler.
Sysadmin to a VAX farm in an earlier life -- this brought back some good memories, especially of what our server room sounded like when we pushed a new build... Thanks for that.
Also, I like compile-time benchmarks. They are meaningful to me.
Sidebar: I want to love the TrackPoint but I almost always hold stress in my neck as I use one. Am I alone?
rm `find lisp -name '*.elc'`
with find lisp -name '*.elc' -exec rm {} \;The version you're replacing is two processes. It may, with enough files, give an error about a command line length limit. However, it's one find and one rm. Your version spawns rm for every file found, basically like using xargs.
If you want the best of both worlds, try:
find lisp -name '*.elc' -delete(The original version will also fail to remove files with names containing spaces.)