Source

odeci / erlang / test / timing

Full commit
core i3, 2.1 GHz, 1 thread

count: 10000 numbers

w - warm up
g - generate
go - generate, ocaml
gd - generate, decimal
god - generate, ocaml, decimal
godc - generate, ocaml, decimal, compare
oe - outside of erlang. Means use of ocaml
t - byte compiled or native

0.0.1:
t	w	g	go	gd	god	godc
b	1	6	30		33	33
b	1	6	31	6	34	34
b	1	6	31	7	33	33

0.0.2:
t	w	oe	godc
b	1	21	33
b	1	22	34
b	1	22	34
n	1	4.5	16

count=100k
t	w	g	go	gd	godc(oe)
n	1	22	108	30	131 (47)