You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implements three levels of execution timing in nanoseconds:
- BundleReference.duration: Time spent evaluating the Rego AST for each
individual policy (excludes policy download/compilation time)
- AccessRecord.Duration.phases: Total execution time per authorization
phase (1=SYSTEM, 2=IDENTITY, 3=RESOURCE, 4=SCOPE)
- AccessRecord.Duration.overall: Total Authorize() execution time,
excluding the audit record transmission
Uses time.Now()/time.Since() for lightweight nanosecond-granularity
timing via Go monotonic clock.
Signed-off-by: Greg Haskins <greg@manetu.com>
0 commit comments