6 ms·
How about converting this viewer through Emscripten using asm.js. Would be interesting to see performance comparison with pdf.js :)
by v413 12y ago
How about converting this viewer through Emscripten using asm.js. Would be interesting to see performance comparison with pdf.js :)
- espadrine 12y agoEspecially on Firefox. The product would be asm.js… On the other hand, there might be an initial compilation pause when starting to load the PDF.
- pcwalton 12y agoCaching of the compiled asm.js code is implemented: https://blog.mozilla.org/luke/2014/01/14/asm-js-aot-compilation-and-startup-performance/ https://blog.mozilla.org/luke/2014/01/14/asm-js-aot-compilat...
- fulafel 12y agoYes. And you could leave out support for PDF-embedded JS for this purpouse.