overplumbum/query-parse-bench — pull request #1 by seriyps (2013-05-16 20:13:01+00:00)
Title: Erlang version

```
----- gcc -O3 parse-strpos.c -o bin/parse-strpos.c.out && time ./bin/parse-strpos.c.out
0.29user 0.00system 0:00.29elapsed 99%CPU (0avgtext+0avgdata 352maxresident)k
0inputs+0outputs (0major+127minor)pagefaults 0swaps

----- go build parse-split.go && time ./parse-split
stat parse-split.go: no such file or directory
Command 'go build parse-split.go && time ./parse-split' returned non-zero exit status 1

----- go build parse-fair.go && time ./parse-fair
12.50user 0.00system 0:12.55elapsed 99%CPU (0avgtext+0avgdata 1240maxresident)k
0inputs+0outputs (0major+374minor)pagefaults 0swaps

----- time pypy -S parse-fair.py
6.26user 0.02system 0:06.31elapsed 99%CPU (0avgtext+0avgdata 19960maxresident)k
0inputs+0outputs (0major+5308minor)pagefaults 0swaps

----- time php parse-fair.php
10.21user 0.02system 0:10.58elapsed 96%CPU (0avgtext+0avgdata 5740maxresident)k
12696inputs+0outputs (55major+1500minor)pagefaults 0swaps

----- time perl parse-split.pl
17.21user 0.00system 0:17.26elapsed 99%CPU (0avgtext+0avgdata 1992maxresident)k
0inputs+0outputs (0major+556minor)pagefaults 0swaps

----- time python -S parse-fair.py
32.98user 0.00system 0:33.08elapsed 99%CPU (0avgtext+0avgdata 3152maxresident)k
0inputs+0outputs (0major+896minor)pagefaults 0swaps

----- time python3 -S parse-fair.py
46.35user 0.00system 0:46.49elapsed 99%CPU (0avgtext+0avgdata 4452maxresident)k
0inputs+0outputs (0major+1237minor)pagefaults 0swaps

----- erlc parse_fair.erl && time erl -s parse_fair -s init stop -noshell
12.97user 0.01system 0:14.02elapsed 92%CPU (0avgtext+0avgdata 6828maxresident)k
0inputs+0outputs (0major+3008minor)pagefaults 0swaps

----- time perl parse-fair.pl
80.82user 0.17system 1:21.35elapsed 99%CPU (0avgtext+0avgdata 3012maxresident)k
560inputs+0outputs (1major+812minor)pagefaults 0swaps
```