Skip to content

knjname/2020-07-23_PuppeteerFastPDFGenerationTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast PDF Generation Test Playground with Puppeteer

The facts as far as I investigated

  • document.body.innerHTML = ... is faster than page.setContent(...).
    • There is no difference between document.body.innerHTML and document.body.replaceWith(newBodyElement).
  • In the context of PDF generation, older version pupeteer 1.11.0 is pretty fast. The latest version 5.2.1 is very slow.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published