[HN Gopher] "Hugo runs twice as fast in Asahi Linux than macOS o...
       ___________________________________________________________________
        
       "Hugo runs twice as fast in Asahi Linux than macOS on the same M1
       Mac system"
        
       Author : simlevesque
       Score  : 28 points
       Date   : 2022-03-21 20:04 UTC (2 hours ago)
        
 (HTM) web link (old.reddit.com)
 (TXT) w3m dump (old.reddit.com)
        
       | pixl97 wrote:
       | This test is really too short to prove anything (less than half a
       | second). Needs 10x 100x data, or thousands of runs to figure out
       | if it's just the machines configuration/caching making the
       | difference.
        
       | nasretdinov wrote:
       | I am just guessing, but it's probably (surprisingly) because of
       | e.g slow directory traversal API in Go:
       | https://github.com/golang/go/issues/42027 . In my experience the
       | biggest slowdown is on a mac for whatever reason. And yes,
       | probably APFS itself is slower than ext4 which is honestly
       | expected.
        
       | monax wrote:
       | This could be easily explained by the fact that the M1 on battery
       | run at full speed on Linux because Linux doesn't implement the
       | proper power management. When the two are running on AC the
       | difference is only around 15% for my use case (compiling C
       | projects)
        
         | rowanG077 wrote:
         | 15% is still very huge. That is 1 or 2 generations of
         | processors. That basically means by running Linux instead of
         | OSX you have the performance of a to be M2+ chip.
        
       | wmf wrote:
       | macOS is known to be slow. If someone has Asahi running and wants
       | some karma, try running lmbench and post the results.
        
       ___________________________________________________________________
       (page generated 2022-03-21 23:02 UTC)