mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 11:48:32 +00:00
Process command line reading took up 50% (!) of all of SystemMonitor's work. However, a process's command line per definition never changes, so we can read it once and carry it over. Also, if we couldn't read a process's command line once, it is close to impossible that we'll ever be able to read it in the future. Therefore, skip reading such command lines again as well. This commit also converts the command line itself to use String, while we're at it.
9.7 KiB
9.7 KiB