|
|
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.
|
Baseline micro-benchmark for the structured-editing design doc. More...
#include <benchmark/benchmark.h>#include <string>#include <string_view>#include "donner/base/Length.h"#include "donner/base/ParseWarningSink.h"#include "donner/base/Path.h"#include "donner/base/Transform.h"#include "donner/base/xml/XMLParser.h"#include "donner/base/xml/XMLTokenizer.h"#include "donner/svg/SVGDocument.h"#include "donner/svg/SVGGeometryElement.h"#include "donner/svg/SVGGraphicsElement.h"#include "donner/svg/parser/SVGParser.h"Functions | |
| BENCHMARK_MAIN () | |
Baseline micro-benchmark for the structured-editing design doc.
Measures the performance of operations that the structured-editing M5/M6 incremental fast path is designed to replace. The numbers from this harness ground every "needs measurement" row in the Performance table of docs/design_docs/0049-structured_text_editing.md.
All benchmarks use representative SVG inputs - not contrived worst-cases
Usage: