[poppler] RFC: patch: parallel testing
adamreichold at myopera.com
Mon Dec 3 22:45:00 PST 2012
-----BEGIN PGP SIGNED MESSAGE-----
I currently try to get myself acquainted with Poppler's regression
testing framework. Because my system has a rather low single-threaded
performance, I tried to implement parallel testing using Python's
Even though poppler-regtest currently uses two processes per test
file, rendering even and odd pages respectively, the test files
themselves are still handled sequentially and both process are joined
for each test file. This will yield suboptimal system utilization even
for a small three-core system like mine.
Using the "-t/--threads N" option in the patched poppler-regtest will
spawn N worker threads that handle all tests they can get from a
single queue for all known tests, allowing to heavily utilize also
large system if using a large set of test cases. But even for my
three-core system, this brought down the time to create references for
the complete test suite using the Splash backend from 4,5 hours to
IMHO, the necessary changes seem quite small especially since a lot of
them are connected to indentation handling. What are your thoughts on
the utility and implementation of this?
Best regards, Adam.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 11449 bytes
Desc: not available
More information about the poppler