-
Notifications
You must be signed in to change notification settings - Fork 30.2k
Dart Analyzer performance is crippling my laptop #4384
Description
PID COMMAND %CPU TIME #TH #WQ #PORT MEM PURG CMPRS PGRP PPID STATE BOOSTS %CPU_ME %CPU_OTHRS UID FAULTS COW MSGSENT MSGRECV
9888 dart 54.6 15:18.07 7/2 0 67 202M+ 0B 3296M- 9335 9825 running *0[1] 0.00000 0.00000 501 61750923+ 360 520
That Dart process is the flutter deamon process.
It's also for some reason causing kernel_task to be above 150% of CPU usage (using more than one core) and then the rest of my machine is consumed by the dart process itself. I'm not sure what triggers so much kernel_task activity? Maybe due to using more RAM than the machine has?
This is a somewhat old laptop ('11 MacBook Air, 4GB RAM, 1.8ghz dual core). But I basically can't do anything else on the machine if I have Atom open and the analyzer server is running.
I don't think this is something we necessarily need to address for 1.0 (and I know lots of perf work is already going into the analyzer), but it's something to be aware of.
What makes this worse is that I have no option to tell the analyzer to calm down or to pause, I know that if I quit Atom I'm just causing it to run again from scratch, etc.