new Duration()
{ started : Date , finished : Date , slowThreshold : <Number/ms> }
The duration of a particular test.
Methods
-
isSlow()
@Duration => Void → Boolean
-
Whether this duration should be considered slow.
-
time()
@Duration => Void → Number
-
The total time of this duration in milliseconds.
-
toString()
@Duration => Void → String
-
The textual representation of this duration.