Skip to main content

set_commit_phase_timing_enabled

Function set_commit_phase_timing_enabled 

Source
pub fn set_commit_phase_timing_enabled(enabled: bool) -> bool
Expand description

Enable or disable WAL commit phase timing for explicit profiling windows.

Normal commits still update correctness-critical WAL state and cheap frame counters, but they do not need to sample the wall clock for every phase unless a caller is collecting a hot-path profile or detailed WAL metrics.