Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
除了从底层文件读取/写入之外,XADisk 还能做什么?这如何转化为读/写吞吐量的百分比(大约)?
取决于大小,如果大,则在打开 xaFileOutputStream 时将标志“heavyWrite”设置为 true。
测试 500 个大小为 1MB 的文件。以下是所花费的时间,平均超过 10 次执行......
Java IO - 37.5 seconds Java NIO - 24.8 seconds XADisk - 30.3 seconds