我看过许多文章/博客说与传统的Java IO相比,Java NIO是一个更好的解决方案.
但今天我的一位同事向我展示了这个博客http://mailinator.blogspot.com/2008/02/kill-myth-please-nio-is-not-faster-than.html.我想知道Java社区中是否有人做过与Java NIO性能相关的这种基准测试.
java nio
java ×1
nio ×1