[erlang-questions] OTP-18 os:timestamp 10 times slower on OSX compared to OTP-17

Pavel Martynenko pavelmart@REDACTED
Tue Jul 7 14:48:29 CEST 2015


Linux 2.6.26-2-686 (hardware)

Eshell V6.4  (abort with ^G)
1>
erlang:now/0                1012080
os:timestamp/0               779001

Eshell V7.0  (abort with ^G)
1>
erlang:now/0                1865773
erlang:timestamp/0          1856433
erlang:monotonic_time/0     1840571
erlang:system_time/0        1851965
erlang:time_offset/0          50446
erlang:unique_integer/0       44924
t:-test/0-fun-0-/0          1866288
os:timestamp/0               938257
os:system_time/0             896746

Looks better than on OSX. Still almost 2x times slower to "Determine Order
of Events With Time of the Event" as described in "Time and Time Correction
in Erlang".

-- 
Cheers,
Pavlo Martynenko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150707/0d1c5595/attachment.htm>


More information about the erlang-questions mailing list