Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ notifications:
webhooks: http://basho-engbot.herokuapp.com/travis?key=9b0dc343d8addd889d7a8d64c9b8b48dd22370aa
email: eng@basho.com
otp_release:
- 18.2.1
- 17.5
- R15B01
- R15B
- R14B04
Expand Down
4 changes: 2 additions & 2 deletions src/js_benchmark.erl
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ run() ->
%% @private
time_calls(Ctx, Count) ->
io:format("Starting: ~p~n", [Count]),
Start = erlang:now(),
Start = os:timestamp(),
do_calls(Ctx, Count),
timer:now_diff(erlang:now(), Start) / Count.
timer:now_diff(os:timestamp(), Start) / Count.

%% @private
do_calls(_Ctx, 0) ->
Expand Down