parametrize min_speedup, refactor main loop
add tests using erlang
cosmetic
test: perl sleep