We want to see if headless Chromium is a viable solution for rendering books of various sizes.
Generate PDFs of books with the following number of pages (approximately):
- 10
- 25
- 100
- 1,000
- 2,500
- 5,000
- 10,000
And measure the following for each book:
- CPU usage;
- Memory usage;
- Time spent.
Make sure to render each type of book multiple times and take the average of measurements.
A/C
- Settle on a Python wrapper for headless Chromium and document the decision;
- Create a simple Python service that takes a URL of a page and generates a PDF from the contents of that URL; share the source code in this task!
- Upload the measurements from above; Don't forget to include your environment setup too.
- Upload the resulted PDFs here.