Project

General

Profile

Actions

Task #2503

open

Optimize usage of steady_clock::now()

Added by Alex Afanasyev almost 10 years ago. Updated over 9 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Core
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

now() operation is relatively expensive and there are multiple usages of it in the forwarding pipelines and strategies. I don't know yet how, but we should consider optimizing it in some way.

The simplest way I can think of is to use a global variable that is set inside the monotonic_deadline_timer (or inside the global scheduler).

Actions

Also available in: Atom PDF