Skip to content

Testing out efficient methods of creating PDFs from HTML documens

Notifications You must be signed in to change notification settings

bismark/html-to-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML to PDF Explorations

Inspired by Evadne Wu's Elixir London 2016 talk, I took the opportunity during a HelloSign hackathon to explore how to improve the overhead of using wkhtmltopdf with System.cmd.

I've created a simple C server using wkhtmltopdf's C bindings that accepts commands over stdin.

HtmlToPdf.run\0 performs a basic benchmark. On my 2 core 2.5 GHz i7 Macbook Pro, I see approximately 30%-40% speedup.

About

Testing out efficient methods of creating PDFs from HTML documens

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages