Skip to content

Files

Latest commit

 

History

History
21 lines (13 loc) · 533 Bytes

Performance-ConcurrentMonotonicTime.md

File metadata and controls

21 lines (13 loc) · 533 Bytes

Pattern: Missing use of Process.clock_gettime(Process::CLOCK_MONOTONIC)

Issue: -

Description

Identifies places where Concurrent.monotonic_time can be replaced by Process.clock_gettime(Process::CLOCK_MONOTONIC).

Examples

# bad
Concurrent.monotonic_time

# good
Process.clock_gettime(Process::CLOCK_MONOTONIC)

Further Reading