DeskStats

kupan787

macrumors newbie
Original poster
Sep 17, 2014
7
3
California
Hello,

For a long time I have used an application on my laptop called iStat. It runs in a window on the desktop, and shows various stats (CPU, Memory, Network, etc). It has been abandoned for many years, and finally with the removal of 32bit apps, it will no longer run in Catalina.

I decided to try my hand at making a similar version of this app that would work with Catalina. I haven't done much Mac programming since the early days when I wrote FaxCenter (originally Cocoa eFax), so learning Swift has been new.

So I present, DeskStats.

I'm looking for any and all feedback. I fully expect this to have bugs, as I have really only tested this on my MacBook Pro. So I haven't thrown a bunch of different potential configurations at it. Actually, I'd be interested in knowing how it runs on a Mac Mini or iMac (something without a battery). Please bare with me as I try and work through them.

I'm also open to suggestions, or ways this could be improved.
 
Last edited:
  • Like
Reactions: ftbtx

HDFan

macrumors 68000
Jun 30, 2007
1,508
367
For a long time I have used an application on my laptop called iStat. It runs in a window on the desktop, and shows various stats (CPU, Memory, Network, etc). It has been abandoned for many years,
Huh? iStat menus is alive, well, and frequently updated.
 

kupan787

macrumors newbie
Original poster
Sep 17, 2014
7
3
California
Last edited:

Jessica Lares

macrumors G3
Oct 31, 2009
9,200
722
Near Dallas, Texas, USA
Ran it on my 2015 MBP under Mojave. Looks good so far, nice work on the preferences. Only thing I have to mention is that without touching the default settings to start with it was using 120% of the CPU, but moving the slider and back now has it using ~8% (will go much lower when you decrease the update frequency).

Attached a screenshot.
 

Attachments

kupan787

macrumors newbie
Original poster
Sep 17, 2014
7
3
California
Ran it on my 2015 MBP under Mojave. Looks good so far, nice work on the preferences. Only thing I have to mention is that without touching the default settings to start with it was using 120% of the CPU, but moving the slider and back now has it using ~8% (will go much lower when you decrease the update frequency).

Attached a screenshot.
Thanks for the feedback. I’ll take a look at the defaults, and see if I can tune the CPU usage when it is just running updates.
 

kupan787

macrumors newbie
Original poster
Sep 17, 2014
7
3
California
Thanks for the feedback. I’ll take a look at the defaults, and see if I can tune the CPU usage when it is just running updates.
So I just pushed an update that fixes the default values. It was initially setting all of the timers to update every 0 seconds, or as fast as they possibly can. Not a good setting.

I also fixed a few other minor cosmetic bugs.

Right now, on my 2015 MacBook Pro 13", iStat Pro uses around 1% of the CPU while running according to Activity Monitor. iStat Revisited uses around 2% of the CPU while running with default values. I'll spend some time and see if I can get this improved to be closer to the old iStat Pro.
 

kupan787

macrumors newbie
Original poster
Sep 17, 2014
7
3
California
Based on some feedback, I've renamed this to DeskStats. I'm in the process of getting everything renamed now.