Member-only story

M1 is slower and less efficient than 2014 Core i7 in pandas processing ?

So M1 Mac is blazing fast and yet cold, right ?

Naoki Satoh
3 min readMar 30, 2022
Photo by Evan Gebhart on Unsplash

Seriously, I was shocked. really shocked.

It was yesterday, I have written one python script to process Covid-19 statisutics (open data)of the Netherlands.

It’s just simple pandas script, Nothing funcy, to make trend graphs of death tall, hospital admission, and IC (Intensive Cure unit) admittion by Covid-19 in the country.

When I started the script on my main machine (2020 M1 Macbook Air), using Jupyter notebook, it took for ages to complete the task with rainbow cursor several times. It took up nearly 7GB of memory (according to activity monitor) and it stuck even 30mins after the script is completed.

I restarted the machine and rerun the program. This time, it has done in reasonable time but memory pressure is yellow and the memory taken by python process is never released (so pressure is keeping on yellow).

Just out of curiousity, I copied the notebook to my old 11inch Macbook air (2014, Core i7), using same data from Dutch opendata and run it.

It’s done the task as quick as M1, with no memory pressure. While M1 macbook air tells me memory pressure is yellow, i7 macbook air tells me it’s…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Naoki Satoh
Naoki Satoh

Written by Naoki Satoh

オランダ在住 セキュリティエンジニア。専門はIT監査、IT統制、リスク。よわよわPythonista。コンサドーレ札幌サポ。タッチラグビー。語学マニア。マストドン mstdn.jp/@naokyneko Pixel7 Instagram www.instagram.com/naokisatoh_nl

No responses yet

Write a response