Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It says "not all", which I interpret as "some of it is not spent in the type checker". I'm also not sure the times Xcode displays in the screenshot are bound to be accurate.


Instruments is a sampling profiler; it's the ground truth w.r.t. where time is being spent.


I don’t know about Instruments‘ implementation, but sampling profilers are not renowned for their accuracy.


All profiling techniques have their drawbacks, but for a quick "where is the time being spent" analysis at multiple-second granularity, you're solidly in the territory where sampling profilers work really well.


Thanks for this insight!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: