Comparing PCs

I am running some comparisons of various PCs (two desktops, two laptops). Specifically a Jupyter Notebook in VSCode with 474 code cells: 14 simulations of MTK models (rigid models, PDEs), with plotting, one animation. So (for me) a realistic mix of code. All computers are set up with Julia Num Threads in VSCode; I don’t know if it still uses single core, though.

Kind of surprising: both desktops are slower if I re-run without restarting the notebook. The desktops have 64 GB RAM and 32 GB RAM (intel vs. AMD). The laptops have 32 GB RAM and 64 GB RAM (lunar lake vs. M5).

Apart from this, the performance of the MacBook is impressive. I will do some testing of the battery life of the MacBook vs. the Lenovo laptop with Lunar Lake.

  • Are the above results as one should expect?
  • Any ideas of why desktops appear to be faster when I restart the notebook? (Not restarting should save time by avoiding compilation; not restarting may leave “large” data structures?)

Apart from this, the laptops use default power settings. For the MacBook, I used “caffeinated” setting.

Looks vaguely reasonable.