pdf.js/src
Jonas Jenwald d33c763dd5 Re-factor resetting of StatTimer instances to fix completely broken benchmarking (PR 9245 follow-up)
It turns out that PR 9245 unfortunately broke benchmarking completely, sorry about that!

The bug is that we were attempting to reset the current instance of `StatTimer`, instead of creating a new one as was previously done. By resetting the current instance, the `StatTimer` data fetched in `test/driver.js` is now wiped out since it points to the *same* underlying object.
This re-use of a `StatTimer` instance was asked for during review, and unfortunately I didn't test this thoroughly enough before submitting the final version of the PR.[1]

---

[1] Note that while I did test the benchmarking scripts with that PR *before* initially submitting it, I did however forget to do that after addressing the review comments which might explain why this problem went unnoticed.
2018-01-25 19:46:03 +01:00
..
core Implement Huffman coding in JBIG2 2018-01-23 17:04:07 +02:00
display Re-factor resetting of StatTimer instances to fix completely broken benchmarking (PR 9245 follow-up) 2018-01-25 19:46:03 +01:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
shared Restore the btoa/atob polyfills for Node.js 2018-01-13 01:31:05 +01:00
doc_helper.js Enable the --report-unused-disable-directives ESLint command line option 2017-10-15 13:45:12 +02:00
license_header_libre.js PDFjs now compatible with Librejs 2017-12-19 15:13:50 +05:30
license_header.js Replace copyright headers; changes UMD to CommonJS. 2017-02-08 16:35:58 -06:00
pdf.js Limit PDFFetchStream to http(s) in the Chrome extension 2018-01-14 00:34:46 +01:00
pdf.worker.entry.js Enable the --report-unused-disable-directives ESLint command line option 2017-10-15 13:45:12 +02:00
pdf.worker.js Adds Streams API support for networking task of PDF.js project. 2017-07-28 02:32:30 +05:30
worker_loader.js Moves global scope out of shared/util. 2017-08-22 18:20:52 -05:00