Thursday, September 14, 2006

Managed Code and Unmanaged Code issue for Text Search

A friend of mine Stephane Rodriguez wrote an article long time ago that i have
been tested with Visual Studio 2005 and here are the corresponding results for C++ and C#
based on my actual CPU so just consider the speed ratio...

C++

lduration for alg(0) test suite : 50 msecs
lduration for alg(1) test suite : 140 msecs
lduration for alg(2) test suite : 160 msecs
lduration for alg(3) test suite : 91 msecs

C# using .Net Framework 2

total duration was 140 milliseconds

Original article here

http://www.arstdesign.com/articles/fastsearch.html

No comments: