EmergeTools / ETTrace

Easily and accurately profile iOS apps
https://www.emergetools.com/ettrace
MIT License
532 stars 20 forks source link

Do work in app off main thread #46

Closed michaeleisel closed 11 months ago

michaeleisel commented 1 year ago

If the main thread is busy with something, the result collection won't start until that task is done. E.g., if I have a loop:

while (true) {
  doSomething()
}

and I want to just collect a bunch of samples of it to see where doSomething() is spending its time, it won't be able to collect the results, it gets stuck.