What are the units for Save Duration in the Save Master Data tool?

Xcode Instruments has a Core Data Saves tool. It can display “Save Duration” for each save master data. What units are used to maintain the duration? Without the humanoid delay time, I see readings from 67 to 6343.

Are these microseconds of counting, something related to processor cycles or a multiple of the tool sampling time?

+4
source share
1 answer

Save Duration: The duration of the save operation in microseconds.

For more information see Apple doc .

Also, if you enable the debugging feature for Core Data p>

-com.apple.CoreData.SQLDebug 1

You can also see the length of time in the console. In this case, they are expressed in seconds. To enable it, see Xcode4 and the basics: how to enable SQL debugging .

+6
source

Source: https://habr.com/ru/post/1433145/


All Articles