When I click Run > Run with performance tool > shark, the program runs, but nothing else happens. Btw, I'm running this on the latest mac os
Asked
Active
Viewed 1,048 times
2 Answers
2
Shark hasn't been updated in nearly three years. Use Instruments to profile your program. The Time Profiler instrument helps you find the slow spots in your code. The version of Instruments that ships with Xcode 4.2 includes the Event Profiler and Counters instruments, which are a replacement for Shark's low-level profiling capabilities.

Swift Dev Journal
- 19,282
- 4
- 56
- 66
0
For finding ways to speed up your code, random pausing works in any language or OS.
For a quick demo of how it works, there's a PDF slideshow here.

Community
- 1
- 1

Mike Dunlavey
- 40,059
- 14
- 91
- 135