You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sjakobi I updated the clock repo PR with my analysis of GHC vs clock.
streamly is no longer using the clock package, it has its own clock implementation, though the code works in the same way as in the clock package. So it should have similar performance. I am not sure if we can use a more efficient way to collect the system call results. If we cannot do that we can use the GHC API when available.
I think we should add the getTime benchmarks to streamly as well to see where we stand with regard to performance of the getTime API in streamly. Sometimes we are much worse due to a missing INLINE or some other stupid mistake.
http://hackage.haskell.org/package/base-4.12.0.0/docs/GHC-Clock.html#v:getMonotonicTimeNSec
corsis/clock#56 indicates that it is quite a bit faster than
getTime Monotonic
– at least on Linux.The text was updated successfully, but these errors were encountered: