Skip to content

Instantly share code, notes, and snippets.

@jorendorff
Created August 31, 2016 21:44
Show Gist options
  • Save jorendorff/9916c56ccbd445299b6ca81427ad0674 to your computer and use it in GitHub Desktop.
Save jorendorff/9916c56ccbd445299b6ca81427ad0674 to your computer and use it in GitHub Desktop.
~/dev/programming-erlang$ erl
Erlang/OTP 19 [erts-8.0] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V8.0 (abort with ^G)
1> timer:tc(loop, loop_test, [100, 10000]).
spawning processes...
starting test...
done!
{348645,ok}
2> timer:tc(loop, loop_test, [100, 10000]).
spawning processes...
starting test...
done!
{344680,ok}
3> timer:tc(loop, loop_test, [100, 10000]).
spawning processes...
starting test...
done!
{1075261,ok}
4> timer:tc(loop, loop_test, [100, 10000]).
spawning processes...
starting test...
done!
{1051737,ok}
5> timer:tc(loop, loop_test, [100, 10000]).
spawning processes...
starting test...
done!
{1058205,ok}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment