Closed mkurkov closed 8 years ago
+1
+1
+1
What is preventing pulling this request? It's half of year for two lines fix which effect doesn't escape from one function. It's ridiculous.
@pichi Thanks for bumping this PR. There's no active development happening in erlang_js these days, and it keeps passing under radar while we are still stuck at OTP-16.
@mkurkov Can you rewrite it to use timer:tc/1
, which seems to be a little more to the point? Like so:
{Elapsed, _ } = timer:tc(fun do_calls/2, [Ctx, Count]),
Elapsed / Count.
@hmmr You are right. This is a way better solution. See #55
Will close this and get #55 merged. Thanks, and sorry for the delay in looking at the PR.
HI, here is simple fix to remove R18 warning about deprecated erlang:now().