|
|
Visual C++ |
Back to the Win32 Shootout Back to dada's perl lab |
| Visual C++ | |
|---|---|
| Tested Version | Visual Studio 6.0 (Compiler Version 12.00.8168) |
| Home Page | http://msdn.microsoft.com/vstudio/ |
| Download | http://msdn.microsoft.com/vstudio/ |
| View All Source Code For Visual C++ | |
|
(Ranks in Red in the
table below are those which fall below the average Rank for this language
over all tests. The corresponding programs could possibly benefit from further optimization.) |
||||||||
| Test | Source Code | Avg Rank: 7 | Avg Rank: 6 | Avg Rank: 28 | Log | |||
|---|---|---|---|---|---|---|---|---|
| CPU | Rank | Mem | Rank | LOC | Rank | |||
| Ackermann's Function | ackermann.vc++ | 0.04 | 1 | 540 | 3 | 13 | 24 | log |
| Array Access | ary3.vc++ | 0.06 | 2 | 572 | 5 | 18 | 25 | log |
| Count Lines/Words/Chars | wc.vc++ | 2.72 | 22 | 512 | 5 | 28 | 27 | log |
| Exception Mechanisms | except.vc++ | 1.86 | 15 | 532 | 5 | 55 | 26 | log |
| Fibonacci Numbers | fibo.vc++ | 0.19 | 3 | 512 | 5 | 14 | 32 | log |
| Hash (Associative Array) Access | hash.vc++ | F | (F) * | F | (F) * | 26 | 35 | log |
| Hashes, Part II | hash2.vc++ | F | (F) * | F | (F) * | 27 | 23 | log |
| Heapsort | heapsort.vc++ | 0.11 | 1 | 1148 | 7 | 58 | 32 | log |
| Hello World | hello.vc++ | 1.12 | 2 | 492 | 3 | 6 | 43 | log |
| List Operations | lists.vc++ | F | (F) * | F | (F) * | 32 | 11 | log |
| Matrix Multiplication | matrix.vc++ | 0.07 | 1 | 512 | 3 | 52 | 33 | log |
| Method Calls | methcall.vc++ | 0.04 | 2 | 492 | 3 | 51 | 19 | log |
| Nested Loops | nestedloop.vc++ | 0.01 | 1 | 512 | 5 | 16 | 15 | log |
| Random Number Generator | random.vc++ | 0.10 | 3 | 516 | 4 | 22 | 30 | log |
| Regular Expression Matching | regexmatch.vc++ | F | (F) * | F | (F) * | 54 | 19 | log |
| Reverse a File | reversefile.vc++ | 2.30 | 21 | 14132 | 22 | 18 | 23 | log |
| Sieve of Erathostenes | sieve.vc++ | 0.16 | 1 | 524 | 5 | 24 | 30 | log |
| Statistical Moments | moments.vc++ | 0.47 | 5 | 1568 | 3 | 65 | 26 | log |
| String Concatenation | strcat.vc++ | 11.23 | 31 | 1268 | 13 | 11 | 24 | log |
| Sum a Column of Integers | sumcol.vc++ | 0.88 | 7 | 520 | 5 | 14 | 40 | log |
| *Test Implemented but not measured (timeout or error). | ||||||||
| Tests Not Implemented For This Language: Echo Client/Server, Spell Checker, Word Frequency Count, Object Instantiation, Producer/Consumer Threads | ||||||||
|
Back to the Win32 Shootout Back to dada's perl lab |
Send comments or suggestions to dada@perl.it |