Switched to stopwatch
This commit is contained in:
parent
cc0c6bc1e9
commit
aa7ce69eb8
@ -36,8 +36,4 @@ runTimeEff = interpret $ \env -> \case
|
||||
CurrentTimeT ->
|
||||
encode_YmdHMS (SubsecondPrecisionFixed 4) w3c . timeToDatetime
|
||||
<$> liftIO now
|
||||
BenchFunction f -> do
|
||||
s <- liftIO now
|
||||
!d <- localSeqUnlift env $ \unlift -> unlift f
|
||||
e <- liftIO now
|
||||
pure (C.width $ s ... e, d)
|
||||
BenchFunction f -> localSeqUnliftIO env $ \run -> stopwatch . run $ f
|
||||
|
||||
Loading…
Reference in New Issue
Block a user