laser height_test
1920ร1080 px
MacBook Air (M1, 2020)
Chip: M1
Memory: 16GB
vs.
MacBook Air (Retina, 13-inch, 2019)
Processor: 1.6GHz Dual Intel Core i5
Memory: 8GB 2133 MHz LPDDR3
Graphics: Intel UHD Graphics 617 1536MB
clang++ -std=c++17 -Wc++17-extensions -fobjc-arc -O3 -framework Cocoa ./main.mm -o ./main
Radius is 32 px
Increasing the radius does not change the process speed.
M1: 0.003sec
Intel: 0.015sec
M1: 0.004sec
Intel: 0.018sec
M1: 0.005sec
Intel: 0.03sec
M1: 0.007sec
Intel: 0.035sec