Mozilla2:Trender: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Trender Benchmark ===
=== Render Benchmark ===
(Also known as Tgfx)


Trender is a new performance metric intended to evaluate page rendering speed as we work on moving to a Cairo world.  It calcualtes the average redraw time (wall clock) of a page using a new method in nsIDOMWindowUtils over a wide set of pages; various combinations of these results are then turned into one or more composite results.
Trender is a new performance metric intended to evaluate page rendering speed as we work on moving to a Cairo world.  It calcualtes the average redraw time (wall clock) of a page using a new method in nsIDOMWindowUtils over a wide set of pages; various combinations of these results are then turned into one or more composite results.
Line 6: Line 5:
The full Trender package cannot be made public due to potential copyright issues with the test content; however, the test harness and certain tests can be public.
The full Trender package cannot be made public due to potential copyright issues with the test content; however, the test harness and certain tests can be public.


Results are reported on [http://tinderbox.mozilla.org/showbuilds.cgi?tree=Firefox-Cairo the Firefox-Cairo tinderbox].
Results are reported on [http://tinderbox.mozilla.org/showbuilds.cgi?tree=Firefox the Firefox tinderbox].
 
==== What do Tr/Tgfx/Tsvg mean? ====
 
* ''Trender'' numbers are the real-world HTML results.
* ''Tgfx'' are the synthetic test results, designed to stress a particular aspect of gfx (e.g. transparency rendering or text rendering).
* ''Tsvg'' will be a svg-only number that measures SVG rendering performance, with the current SVG test pulled out of Tgfx.


==== Test Code ====
==== Test Code ====
Line 13: Line 18:


Single-page test bookmarklet: [http://blog.vlad1.com/archives/2005/10/28/74/]
Single-page test bookmarklet: [http://blog.vlad1.com/archives/2005/10/28/74/]
Trender, version 20060131 (inside firewall only): [http://fs/public/Users/vladimir/misc/Trender-20060131.zip]
==== Running ====
Open Trender.xml in the toplevel directory in the Trender zip file.  The test will start automatically.  Results will be displayed both in the browser and via dump().  You should enable JavaScript window resizing (it will resize to 1024x1024), and disable the info bars (for blocked popups and the like) for consistent results.  If you enable JS window closing, you can load Trender.xml#tinderbox=1 to have it close the window at the end; this is useful for running from the command line.


==== Test Contents ====
==== Test Contents ====


* Real-world HTML tests, and reference URLs (the actual page in the test is a static page)
* Real-world HTML tests, and reference URLs (Tr -- the actual page in the test is a static page)
** en-amazon1 -- [http://www.amazon.com/ http://www.amazon.com/]
** <s>en-amazon1 -- [http://www.amazon.com/ http://www.amazon.com/]</s>
** en-apple1 -- [http://store.apple.com/ http://store.apple.com/]
** en-apple1 -- [http://store.apple.com/ http://store.apple.com/]
** en-bbc1 -- [http://www.bbc.co.uk/ http://www.bbc.co.uk/]
** en-bbc1 -- [http://www.bbc.co.uk/ http://www.bbc.co.uk/]
Line 66: Line 77:
** thai-bbc
** thai-bbc


* Synthetic tests
* Synthetic tests (Tgfx)
** svg-gearflowers -- [http://www.kde-look.org/content/files/19524-gearflowers.svg.gz http://www.kde-look.org/content/files/19524-gearflowers.svg.gz]
** svg-gearflowers -- [http://www.kde-look.org/content/files/19524-gearflowers.svg.gz http://www.kde-look.org/content/files/19524-gearflowers.svg.gz]
** misc-trans -- [http://www.vlad1.com/~vladimir/trender/misc-trans.html http://www.vlad1.com/~vladimir/trender/misc-trans.html]
** misc-trans -- [http://www.vlad1.com/~vladimir/trender/misc-trans.html http://www.vlad1.com/~vladimir/trender/misc-trans.html]

Latest revision as of 18:01, 13 June 2007

Render Benchmark

Trender is a new performance metric intended to evaluate page rendering speed as we work on moving to a Cairo world. It calcualtes the average redraw time (wall clock) of a page using a new method in nsIDOMWindowUtils over a wide set of pages; various combinations of these results are then turned into one or more composite results.

The full Trender package cannot be made public due to potential copyright issues with the test content; however, the test harness and certain tests can be public.

Results are reported on the Firefox tinderbox.

What do Tr/Tgfx/Tsvg mean?

  • Trender numbers are the real-world HTML results.
  • Tgfx are the synthetic test results, designed to stress a particular aspect of gfx (e.g. transparency rendering or text rendering).
  • Tsvg will be a svg-only number that measures SVG rendering performance, with the current SVG test pulled out of Tgfx.

Test Code

Harness: [1]

Single-page test bookmarklet: [2]

Trender, version 20060131 (inside firewall only): [3]

Running

Open Trender.xml in the toplevel directory in the Trender zip file. The test will start automatically. Results will be displayed both in the browser and via dump(). You should enable JavaScript window resizing (it will resize to 1024x1024), and disable the info bars (for blocked popups and the like) for consistent results. If you enable JS window closing, you can load Trender.xml#tinderbox=1 to have it close the window at the end; this is useful for running from the command line.

Test Contents