]> git.parisson.com Git - pdf.js.git/commit
Make 'make test' factors faster.
authorKalervo Kujala <kkujala@>
Tue, 23 Aug 2011 20:21:15 +0000 (23:21 +0300)
committerKalervo Kujala <kkujala@>
Tue, 23 Aug 2011 20:21:15 +0000 (23:21 +0300)
commit3fa8bba48e3933c36bf60a43defefcc6fad26571
treefa14d9fee804ef4d0276dfd61718b6b1da5a39c1
parent73bb09bdada2c28e9f56fa93d0a9070a1810d052
Make 'make test' factors faster.

Profiling with firebug reveals that log and checkScrolling functions slow down
the 'make test' by factors.

Use insertAdjacentHtml in the log fucntion insteand of appending to
innerHTML. Also call checkScrolling function only when it is prudent to do
instead of unnecessarily in every log function call.
test/driver.js