logoalt Hacker News

saagarjhayesterday at 2:32 PM2 repliesview on HN

macOS profiling tools completely blow Linux’s perf out of the water. It’s not even close.


Replies

throw234232t3yesterday at 2:43 PM

https://blog.bugsiki.dev/posts/apple-pmu/

> I quickly found out that Apple Instruments doesn’t support fetching more than 10 counters, sometimes 8, and sometimes less. I was constantly getting errors like '<SOME_COUNTER>' conflicts with a previously added event. The maximum that I could get is 10 counters. So, the first takeaway was that there is a limit to how many counters I can fetch, and another is that counters are, in some way, incompatible with each other. Why and how they’re incompatible is a good question.

Also: https://hmijailblog.blogspot.com/2015/09/using-intels-perfor...

show 2 replies
krioryesterday at 2:37 PM

You are saying that like perf is Linux only profiling tool.

show 1 reply