开发者

VB.Net IO performance

开发者 https://www.devze.com 2022-12-29 23:35 出处:网络
Having read this page, I can\'t believe that VB.Net has such a terrible performance when it comes to I/O.

Having read this page, I can't believe that VB.Net has such a terrible performance when it comes to I/O.

Is this still true today? How does the .Net Framewo开发者_运维知识库rk 2.0 perform in terms of I/O (that's the version I'm targeting)?


Beware of shoddy benchmarks without peer review. The file I/O benchmark code uses the old VB6 compatibility I/O functions, PrintLine() and LineInput(). Yes, they are not cheap. The bench mark also doesn't attempt to do anything to measure real I/O performance, it doesn't flush the file system cache. Somewhat understandable perhaps, that would measure the speed of the disk and every language would perform the same, within 0.1% or so.


The only thing that article is proof of is that the author didn't know how to write good VB.Net code.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号