Awk Back to the Win32 Shootout
Back to dada's perl lab

[The Original Shootout]   [NEWS]   [FAQ]   [Methodology]   [Platform Details]   [Acknowledgements]   [Scorecard]  
Awk
Tested Versionmawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan
Home Pagehttp://www.math.fu-berlin.de/~leitner/mawk/
Downloadftp://ftp.fu-berlin.de/pub/unix/languages/mawk/
View All Source Code For Awk

(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: 25 Avg Rank: 22 Avg Rank: 8 Log
CPU Rank Mem Rank LOC Rank
Ackermann's Function ackermann.mawk 3.99 33 1912 25 10 10 log
Array Access ary3.mawk 34.91 36 2156 23 10 4 log
Count Lines/Words/Chars wc.mawk 0.54 6 1592 21 6 4 log
Fibonacci Numbers fibo.mawk 6.28 32 1596 29 9 17 log
Hash (Associative Array) Access hash.mawk 1.32 16 6128 13 9 3 log
Hashes, Part II hash2.mawk 9.54 25 2604 12 9 2 log
Heapsort heapsort.mawk 7.63 29 6104 29 43 4 log
Hello World hello.mawk 6.18 26 1568 30 1 4 log
Matrix Multiplication matrix.mawk 107.42 38 1744 22 33 7 log
Nested Loops nestedloop.mawk 16.86 38 1592 30 11 4 log
Random Number Generator random.mawk 2.01 27 1620 27 14 9 log
Regular Expression Matching regexmatch.mawk 3.32 3 1592 7 32 11 log
Reverse a File reversefile.mawk 1.80 18 14176 23 5 7 log
Sieve of Erathostenes sieve.mawk 87.58 41 1916 27 17 10 log
Spell Checker spellcheck.mawk 2.28 14 3812 11 11 8 log
Statistical Moments moments.mawk 8.86 30 7220 23 66 28 log
String Concatenation strcat.mawk 38.35 34 2288 23 7 10 log
Sum a Column of Integers sumcol.mawk 1.53 12 1580 22 3 3 log
Word Frequency Count wordfreq.mawk 2.28 8 2064 14 18 4 log
Tests Not Implemented For This Language:
Method Calls, Echo Client/Server, Exception Mechanisms, List Operations, Object Instantiation, Producer/Consumer Threads


Back to the Win32 Shootout
Back to dada's perl lab
Send comments or suggestions to dada@perl.it