mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-03 20:44:58 +00:00
Some of these currently take a very long time to parse. I set those to only run one loop in the run-benchmark make target. 4096 may be a fairly small buffer, and definitely make the problem worse than it otherwise would've been, but similar sizes exist in real code: * 2048 bytes in cpython Modules/pyexpat.c * 4096 bytes in skia SkXMLParser.cpp * BUFSIZ bytes (8192 on my machine) in expat/examples The files, too, are inspired by real-life examples: Android stores depth and gain maps as base64-encoded JPEGs inside the XMP data of other JPEGs. Sometimes as a text element, sometimes as an attribute value. I've seen attribute values slightly over 5 MiB in size. |
||
---|---|---|
.. | ||
largefiles | ||
README.txt |
This directory contains various collections of files used for test data. It currently contains the following collections: largefiles/ This contains some really large files; most are used for benchmarking various aspects of Expat's performance.