mozilla/pdf.js — pull request #1067 by brendandahl (2012-01-12 00:55:46+00:00)
Title: Start of the benchmark recording framework.

The current stats that are hidden on the viewer weren't working well, but they were further broken when we started rendering the next page in advance.

This is the beginning of building a way to record benchmarks. I have more that will enable the test driver to record these benchmarks, but I haven't built a viewer for them yet.

Stats now appear by adding enableBench=true to the url much like disableWorker.

When enabled you should see something in the upper right of the viewer like this:

>Page 1 Page
Request 56ms
Font Loading 430ms
Rendering 179ms
Overall 858ms