Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
GeodeCounters.h File Reference

Per-frame instrumentation counters for the Geode rendering backend. More...

#include <cstdint>
Include dependency graph for GeodeCounters.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::geode::GeodeCounters
 Steady-state resource-creation and submission counts for a single frame. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Detailed Description

Per-frame instrumentation counters for the Geode rendering backend.

The counters observe the steady-state hot paths of the Geode backend. They are the primary regression signal for its performance work: each optimization tightens one or more of these ceilings, and GeodePerf_tests.cc asserts them.

Counters are free of cost when disabled - hot-path sites check a nullable pointer, so a renderer constructed without counters pays one null-pointer compare per increment site.