IPhone / iPod File System Speed

Does anyone have data from profiling the iPhone / iPod file system? I'm more interested in reading than writing.

I was thinking of doing a few tests, but I thought I'd check to see if anyone had made them smarter and / or more time-rich.

In particular, I'm interested in the speed difference between many small files and fewer large files, as well as the differences between different generations of iP * devices.

Another question is whether it is worth compressing ZIP files in files with reading decompressed files, or at what size data there is a breakeven point.

+3
source share
1 answer

From NSBlog, my Mike Ash wrote:

Name                        Iterations      Total time (sec)       Time per (ns)
Write 16-byte file (atomic)      10000               51.5             5153943.7
Write 16-byte file               10000               80.9             8089726.2
Read 16MB file                     100              137.6          1376092573.3
Write 16MB file (atomic)            30              143.8          4793527088.9
Write 16MB file                     30              151.2          5038515361.1

URL: http://www.mikeash.com/?page=pyblog/performance-comparisons-of-common-operations-iphone-edition.html

+5

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


All Articles