iPhone/iPod文件系统速度

Jus*_*cle 3 filesystems iphone profiling

有没有人有分析iPhone/iPod文件系统的硬数据?我对阅读比写作更感兴趣.

我正在考虑进行一些测试,但我想我会检查一下是否有人更聪明和/或时间更充裕.

具体来说,我对许多小文件与较少大文件之间的速度差异以及各代iP*设备之间的差异感兴趣.

另一个问题是读取文件的ZIP压缩是否值得权衡解压缩,或者数据大小是否存在"收支平衡"点.

Jon*_*ess 5

来自NSBlog,写了我的Mike Ash:

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
Run Code Online (Sandbox Code Playgroud)

以下是网址:http://www.mikeash.com/?page = pyblog / performance-comparisons-of-common-operations-iphone-edition.html