Uh oh!
There was an error while loading. Please reload this page.
Add pypdf benchmark - #343
Conversation
| Adapted from pypdf's own benchmarks: | ||
| https://github.com/py-pdf/pypdf/blob/main/tests/bench.py |
There was a problem hiding this comment.
Assuming it makes sense to do so, could we contribute a change upstream to make their benchmarks compatible with pyperformance (and pull them in like we do for the pyston benchmarks), instead of landing a new benchmark here?
| Rotation, scaling, translation, content stream compression, text extraction | ||
| """ | ||
| content = (DATA_DIR / "libreoffice-writer-password.pdf").read_bytes() |
There was a problem hiding this comment.
FWIW, GitHub says this is an invalid PDF file, though I'm sure it's fine.
Also, it may be worth adding a note about where this file came from and what's in it, especially since it's a binary format.
There was a problem hiding this comment.
Yeah, that's a good point. It's a password-protected PDF file, which is probably why Github doesn't like it. I just grabbed what pypdf was using -- we could choose something more deliberately.
No description provided.