programming:general:phpvspythonvsperl
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
programming:general:phpvspythonvsperl [2008/02/04 16:50] – crustymonkey | programming:general:phpvspythonvsperl [2008/02/05 16:39] – crustymonkey | ||
---|---|---|---|
Line 367: | Line 367: | ||
===== Just For Fun... ===== | ===== Just For Fun... ===== | ||
...one of my co-workers whipped up this C code which uses '' | ...one of my co-workers whipped up this C code which uses '' | ||
+ | |||
Line 400: | Line 401: | ||
re[i] = pcre_compile(pat[i], | re[i] = pcre_compile(pat[i], | ||
if (!re[i]) { | if (!re[i]) { | ||
- | errx(1, " | + | errx(1, " |
err_offset, pat[i], err_txt); | err_offset, pat[i], err_txt); | ||
} | } | ||
Line 442: | Line 443: | ||
$ cc -Wall -o pcretest pcretest.c -I/ | $ cc -Wall -o pcretest pcretest.c -I/ | ||
</ | </ | ||
+ | |||
Line 450: | Line 452: | ||
=== The Sun Box === | === The Sun Box === | ||
| ^ Real ^ User ^ Sys ^ | | ^ Real ^ User ^ Sys ^ | ||
- | ^ Test 1 | | + | ^ Test 1 | |
- | ^ Test 2 | | + | ^ Test 2 | |
- | ^ Test 3 | | + | ^ Test 3 | |
- | ^ Test 4 | | + | ^ Test 4 | |
- | ^ Test 5 | | + | ^ Test 5 | |
+ | === The Laptop === | ||
+ | |||
+ | | ^ Real ^ User ^ Sys ^ | ||
+ | ^ Test 1 | 13.14s | ||
+ | ^ Test 2 | 13.08s | ||
+ | ^ Test 3 | 13.09s | ||
+ | ^ Test 4 | 13.21s | ||
+ | ^ Test 5 | **13.07s** | ||
===== Conclusion ===== | ===== Conclusion ===== |
programming/general/phpvspythonvsperl.txt · Last modified: 2008/04/14 13:55 by crustymonkey