Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
The reftrick: shell dump
Erlang R15B02 (erts-5.9.2) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:false]
Eshell V5.9.2 (abort with ^G)
1> c(reftrick).
{ok,reftrick}
2> spawn(fun() -> reftrick:plain() end).
<0.38.0>
time(reftrick): 3.410ms recv1
time(reftrick): 704.826ms recv2
3> spawn(fun() -> reftrick:plain() end).
<0.40.0>
time(reftrick): 1.259ms recv1
time(reftrick): 510.597ms recv2
4> spawn(fun() -> reftrick:plain() end).
<0.42.0>
time(reftrick): 2.266ms recv1
time(reftrick): 510.552ms recv2
5> spawn(fun() -> reftrick:ref() end).
<0.44.0>
time(reftrick): 2.978ms recv1
time(reftrick): 10.626ms recv2
6> spawn(fun() -> reftrick:ref() end).
<0.46.0>
time(reftrick): 1.567ms recv1
time(reftrick): 10.608ms recv2
7> spawn(fun() -> reftrick:ref() end).
<0.48.0>
time(reftrick): 1.904ms recv1
time(reftrick): 12.557ms recv2
8>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment