Is there an easy way to measure the FPS of my Mac app?

949 Views Asked by At

I'm working on a Mac app, and one of the NSTableViews seems to have a little lag when I scroll it, but I'm not sure if I'm just imagining it.

The Instruments manual has a section on how to measure the frame rate of an iOS app, but when I try it for my Cocoa app, Instruments.app says "This instrument does not support the macOS platform".

Is there any (relatively easy) way to measure the FPS of my table view when scrolling?

1

There are 1 best solutions below

0
On BEST ANSWER

I think what you are looking for is Quartz Debug. Go to https://developer.apple.com/download/more/, download Additional Tools for Xcode.

After you open Quartz Debug, Command + 3 will reveal a frame meter.