【问题标题】:iPhone/iPod filesystem speediPhone/iPod 文件系统速度
【发布时间】:2010-10-31 06:06:40
【问题描述】:

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

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

我特别感兴趣的是许多小文件与较少大文件之间的速度差异,以及各代 iP* 设备之间的差异。

另一个问题是读取文件的 ZIP 压缩是否值得以解压缩为代价,或者在多大的数据大小上存在“收支平衡”点。

【问题讨论】:

    标签: iphone filesystems profiling


    【解决方案1】:

    来自 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
    

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-08-25
      • 2018-06-21
      • 2016-10-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-07-03
      相关资源
      最近更新 更多