FlorianBruckner opened a new issue, #5555: URL: https://github.com/apache/netbeans/issues/5555
### Apache NetBeans version Apache NetBeans 16 ### What happened I am on a MacBook Pro, the latest x86 one. But this has been an issue for me for years, also on previous MBP models and with all versions of NetBeans back to at least 8.2. At times the infamous "kernel_task" kicks in. This usually indicates that the machine is too hot. For years I have learned to live with this issue never really made the connection that NetBeans, in any version, actually contributes to this significantly, but it is not obvious. When monitoring the CPU, while NetBeans can consume quite some CPU cycles, it has never been that of an outlier compared to other processed. I recently added a nice tool that shows various system metrics: cpu usage, temperatures but also power consumption details. What you should know beforehand is that, in order to get a bit more runtime out of my mac before it got too warm, I modified the system to always use the iGPU. But you could observe the same behavior with the discrete GPU built into the machine. The metric to watch for is the GPU power consumption. Without nebeans being open, power consumption on the GPU is about two watts: <img width="271" alt="image" src="https://user-images.githubusercontent.com/2104853/221095722-445cbd15-5e51-4bd6-bc1d-611055a25c91.png"> When Netbeans is doing "something", GPU power consumption raises to up to 20 watts: <img width="278" alt="image" src="https://user-images.githubusercontent.com/2104853/221095913-5e1ef735-09b9-43de-bb8f-5d80fb224835.png"> I believe to have tracked it down to the status component - when this is showing activity, GPU power consumption jumps to 20W:  Minimizing the Netbeans window and power consumption drops to the baseline again. Just having another window on top of Netbeans doesn't change power consumption. Just as an observation, back in the days when Netbeans could run with either Java6 or Java8 (this must have been 7.2), performance of Netbeans (especially graphics) have been excellent with Java6, but seriously degraded with Java8, especially on large displays. It may be related, but not necessarily. ### How to reproduce On your mac: (1) install stats (2) configure it to show temperatures and power consumption (3) Start netbeans (4) observe power consumption of GPU (5) Let Netbeans do something, like running an application (6) observe power consumption of GPU ### Did this work correctly in an earlier version? Apache NetBeans 12.6 or earlier ### Operating System OSX ### JDK java 8, 11, 17 (all amazon corretto) ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else _No response_ ### Are you willing to submit a pull request? Yes ### Code of Conduct Yes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
