----------------------------
Haskell warray

time ./test_warray_h
True
1.14user 0.01system 0:01.21elapsed 95%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (4major+11244minor)pagefaults 0swaps
time ./test_warray_h
True
1.14user 0.01system 0:01.16elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+11248minor)pagefaults 0swaps
time ./test_warray_h
True
1.15user 0.00system 0:01.16elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+11249minor)pagefaults 0swaps
----------------------------
OCaml warray

time ./test_warray_c
True
0.60user 0.00system 0:00.62elapsed 96%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (1major+3385minor)pagefaults 0swaps
time ./test_warray_c
True
0.59user 0.00system 0:00.61elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+3386minor)pagefaults 0swaps
time ./test_warray_c
True
0.60user 0.00system 0:00.61elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+3386minor)pagefaults 0swaps
----------------------------
Guru warray

time ./test_warray_g
True
0.40user 0.00system 0:00.42elapsed 97%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (1major+5226minor)pagefaults 0swaps
time ./test_warray_g
True
0.41user 0.00system 0:00.42elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+5226minor)pagefaults 0swaps
time ./test_warray_g
True
0.41user 0.00system 0:00.42elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+5227minor)pagefaults 0swaps
----------------------------
----------------------------
Haskell queue

time ./test_queue_h < war-and-peace.txt
eBooks.

real	0m1.132s
user	0m0.889s
sys	0m0.060s
time ./test_queue_h < war-and-peace.txt
eBooks.

real	0m1.055s
user	0m0.913s
sys	0m0.041s
time ./test_queue_h < war-and-peace.txt
eBooks.

real	0m1.055s
user	0m0.879s
sys	0m0.063s
----------------------------
OCaml queue

time ./test_queue_c < war-and-peace.txt
eBooks.


real	0m0.665s
user	0m0.394s
sys	0m0.036s
time ./test_queue_c < war-and-peace.txt
eBooks.


real	0m0.656s
user	0m0.400s
sys	0m0.055s
time ./test_queue_c < war-and-peace.txt
eBooks.


real	0m0.663s
user	0m0.396s
sys	0m0.042s
----------------------------
Guru queue

time ./test_queue_g < war-and-peace.txt
eBooks.

real	0m0.599s
user	0m0.353s
sys	0m0.047s
time ./test_queue_g < war-and-peace.txt
eBooks.

real	0m0.591s
user	0m0.350s
sys	0m0.037s
time ./test_queue_g < war-and-peace.txt
eBooks.

real	0m0.596s
user	0m0.355s
sys	0m0.034s
----------------------------
-----------------------------
Haskell warray no GC

time ./test_warray_h +RTS -A500m -H500m -smyout.txt -RTS
True
0.45user 0.02system 0:00.49elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+18655minor)pagefaults 0swaps
time ./test_warray_h +RTS -A500m -H500m -smyout.txt -RTS
True
0.46user 0.02system 0:00.49elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+18654minor)pagefaults 0swaps
time ./test_warray_h +RTS -A500m -H500m -smyout.txt -RTS
True
0.46user 0.02system 0:00.49elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+18654minor)pagefaults 0swaps
-----------------------------
Haskell queue no GC

time ./test_queue_h +RTS -A500m -H500m -smyout.txt -RTS < war-and-peace.txt
eBooks.

real	0m0.526s
user	0m0.271s
sys	0m0.138s
time ./test_queue_h +RTS -A500m -H500m -smyout.txt -RTS < war-and-peace.txt
eBooks.

real	0m0.529s
user	0m0.297s
sys	0m0.116s
time ./test_queue_h +RTS -A500m -H500m -smyout.txt -RTS < war-and-peace.txt
eBooks.

real	0m0.525s
user	0m0.283s
sys	0m0.127s
-----------------------------
OCaml warray no GC

bash -c "export OCAMLRUNPARAM='s=500M,h=500M,v=0x1ff'; time ./test_warray_c"
Initial minor heap size: 1048576k bytes
Initial major heap size: 2048000k bytes
Initial space overhead: 80%
Initial max overhead: 500%
Initial heap increment: 496k bytes
Initial allocation policy: 0
True

real	0m0.534s
user	0m0.519s
sys	0m0.008s
bash -c "export OCAMLRUNPARAM='s=500M,h=500M,v=0x1ff'; time ./test_warray_c"
Initial minor heap size: 1048576k bytes
Initial major heap size: 2048000k bytes
Initial space overhead: 80%
Initial max overhead: 500%
Initial heap increment: 496k bytes
Initial allocation policy: 0
True

real	0m0.535s
user	0m0.521s
sys	0m0.007s
bash -c "export OCAMLRUNPARAM='s=500M,h=500M,v=0x1ff'; time ./test_warray_c"
Initial minor heap size: 1048576k bytes
Initial major heap size: 2048000k bytes
Initial space overhead: 80%
Initial max overhead: 500%
Initial heap increment: 496k bytes
Initial allocation policy: 0
True

real	0m0.535s
user	0m0.519s
sys	0m0.010s
----------------------------
OCaml queue no GC

bash -c "export OCAMLRUNPARAM='s=500M,h=500M,v=0x1ff'; time ./test_queue_c < war-and-peace.txt"
Initial minor heap size: 1048576k bytes
Initial major heap size: 2048000k bytes
Initial space overhead: 80%
Initial max overhead: 500%
Initial heap increment: 496k bytes
Initial allocation policy: 0
eBooks.


real	0m0.362s
user	0m0.108s
sys	0m0.033s
bash -c "export OCAMLRUNPARAM='s=500M,h=500M,v=0x1ff'; time ./test_queue_c < war-and-peace.txt"
Initial minor heap size: 1048576k bytes
Initial major heap size: 2048000k bytes
Initial space overhead: 80%
Initial max overhead: 500%
Initial heap increment: 496k bytes
Initial allocation policy: 0
eBooks.


real	0m0.381s
user	0m0.116s
sys	0m0.019s
bash -c "export OCAMLRUNPARAM='s=500M,h=500M,v=0x1ff'; time ./test_queue_c < war-and-peace.txt"
Initial minor heap size: 1048576k bytes
Initial major heap size: 2048000k bytes
Initial space overhead: 80%
Initial max overhead: 500%
Initial heap increment: 496k bytes
Initial allocation policy: 0
eBooks.


real	0m0.362s
user	0m0.126s
sys	0m0.024s
----------------------------
