sibblingz/HTML5-Game-Benchmarks — pull request #1 by borismus (2012-03-17 00:20:02+00:00)
Title: Comparator script.

A script to compare two sets of running this benchmark.

~/Projects/HTML5-Game-Benchmarks/server > ./compare.py safari.json mobilesafari-iphone4.json

A: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.53.11 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10
B: Mozilla/5.0 (iPhone; CPU iPhone OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B176 Safari/7534.48.3
---------
canvasDrawImagePartialClearAlign (translate) is 78x faster
canvasDrawImagePartialClear (rotate) is 51x faster
canvasDrawImagePartialClear (translate) is 39x faster
canvasDrawImagePartialClear (scale) is 54x faster
css2dImg (rotate) is 74x faster
css2dImg (translate) is 12x faster
css2dImg (scale) is 29x faster
canvasDrawImageFullClearAlign (translate) is 41x faster
css2dBackground (rotate) is 77x faster
css2dBackground (translate) is 12x faster
css2dBackground (scale) is 31x faster
css3dImg (rotate) is 4.9x faster
css3dImg (translate) is 3.5x faster
css3dImg (scale) is 4.2x faster
css3dBackground (rotate) is 9.4x faster
css3dBackground (translate) is 7.0x faster
css3dBackground (scale) is 9.3x faster
canvasDrawImageFullClear (rotate) is 28x faster
canvasDrawImageFullClear (translate) is 25x faster
canvasDrawImageFullClear (scale) is 76x faster