I am using [NSFileManager attributesOfItemAtPath:error:]
function for fetching attributes of file.
But sometimes my application cpu is going upto 100%. I am using this function for 100k(approx.) files.
Sample of my application:
2128 -[NSFileManager attributesOfItemAtPath:error:]
2128 +[NSFileAttributes _attributesAtPath:partialReturn:filterResourceFork:error:]
2123 _attributesAtPath
2072 listxattr
29 realloc
18 realloc
11 szone_size
22 _attributesAtPath
5 _sysenter_trap
Can anyone please help me out?