Files
OCRmyPDF/ocrmypdf
James R. Barlow dea8fcfb5b Optimize page splitting by multiprocessing
Previously page splitting occurred in a single process because it was
not believed to affect performance much. It turned out to be an expensive
operation.

It now scales better with large page sizes although this has a negative
effect on small files.

Overall time changes as follows:

7 page file, 9.02s -> 9.56s
731 page file, 213s -> 97s

WITH --tesseract-timeout 0 --output-type pdf --skip-text

i.e. you don't get a 2.2x speed gain when OCR is available.

Squashed a commit to ix test suite failure on --rotate-pages
Squashed a commit to remove debug code
2018-03-23 13:07:51 -07:00
..
2018-02-24 12:49:36 -08:00
2017-11-01 01:49:51 -07:00
2018-03-13 11:04:34 -07:00
2018-03-23 13:07:51 -07:00
2017-05-19 16:17:07 -07:00