aboutsummaryrefslogtreecommitdiffstats
path: root/qpdf/test_many_nulls.cc
AgeCommit message (Collapse)Author
2022-09-01Add a file with arrays with lots of nulls to the test suiteJay Berkenbilt
A bug was fixed between qpdf 8.4.2 and 9.0.0 regarding this type of file (see #305 and #311), but it was necessary to retest after some major refactoring work at the lexical and parsing layers. This lays the groundwork for including this in performance benchmarks and in the qpdf test suite rather than having to keep a large, non-redistributable file around. 20 arrays of 20K nulls is plenty for performance memory testing and doesn't take too long to run. Compared to qpdf 8.4.2, in qpdf 11.0.0, the file generated here uses 3% of the RAM and runs over 4 times faster.