News for hackers. Stuff that matters.
Re:How fast is PDF.js? by azakai on Thursday May 08, 2014 @06:18PM (#7718061)
> A little OT, but since you're so good at profiling Firefox

Heh, I believe bgirard wrote the Firefox profiler. He's the best there is :)

Re:How fast is PDF.js? by acqq on Thursday May 08, 2014 @07:14PM (#7718312)
I'd say, he deserves a raise! Anyway, maybe you should really add the

http://www.nist.gov/el/nzertf/upload/NZERTF-Architectural-Pl...

to your test suites and consider it a worthy goal as it really represents a lot of documents typical for the users who produce complex plans. Have you tried it?

It's immediate in Adobe Reader (as in one second) and takes more minutes in pdf.js Firefox 29.

Re:How fast is PDF.js? by azakai on Thursday May 08, 2014 @08:17PM (#7718579)
Yeah, that one is kind of sluggish for me too. Usable, but not smooth.

I filed an issue on pdf.js here: https://github.com/mozilla/pdf.js/issues/4761

Re:How fast is PDF.js? by acqq on Thursday May 08, 2014 @09:21PM (#7718799)
Thanks! Finally, a Google search term that will give you a lot of slow PDFs:

     controller site:automationdirect.com filetype:pdf
based on a hint from Gracana's comment.

You have to try to actually see every page in any of the PDFs to get the idea of pain.