Investigate switching to high-resolution timers on Windows
Author: bbannierCreated Sep 25, 2026Updated Sep 25, 2026
LabelsArea: Windows
We currently do not use high-resolution timers on Windows. This means that we typically only have a resolution of ~15ms which is relatively long for what Zeek could observe.
We should look into enabling high-resolution timers on Windows to have similar resolution as on other platforms. We need to be careful to not add a huge performance penalty, so all this should be validated with proper benchmarks.
This came up in #5920 which was about fixing a test comparing timestamps which was flaky on Windows due to limited resolution.
Source: zeek/zeek