diff --git a/.travis.yml b/.travis.yml index 5ba2269..ea5c5ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/src/js_benchmark.erl b/src/js_benchmark.erl index 5b92553..071e005 100644 --- a/src/js_benchmark.erl +++ b/src/js_benchmark.erl @@ -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) ->