Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
SVGElementHandleBench.cpp File Reference

DOM wrapper and public traversal benchmarks for the lifetime model. More...

#include <benchmark/benchmark.h>
#include <algorithm>
#include <optional>
#include <string>
#include <vector>
#include "donner/base/Length.h"
#include "donner/svg/SVGDocument.h"
#include "donner/svg/SVGElement.h"
#include "donner/svg/SVGRectElement.h"
#include "donner/svg/SVGSVGElement.h"
Include dependency graph for SVGElementHandleBench.cpp:

Functions

 BENCHMARK_MAIN ()

Detailed Description

DOM wrapper and public traversal benchmarks for the lifetime model.

Usage:

bazel run -c opt //donner/benchmarks:svg_element_handle_bench -- \
--benchmark_min_time=0.5s