[webkit-reviews] review granted: [Bug 100024] Add a microbenchmark for Hindi (complex-text) line-layout : [Attachment 170015] the JS API changed out from under me

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 26 18:18:18 PDT 2012


Ryosuke Niwa <rniwa at webkit.org> has granted Eric Seidel <eric at webkit.org>'s
request for review:
Bug 100024: Add a microbenchmark for Hindi (complex-text) line-layout
https://bugs.webkit.org/show_bug.cgi?id=100024

Attachment 170015: the JS API changed out from under me
https://bugs.webkit.org/attachment.cgi?id=170015&action=review

------- Additional Comments from Ryosuke Niwa <rniwa at webkit.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=170015&action=review


> PerformanceTests/Layout/hindi-line-layout.html:36
> +	   function test() {
> +	       style.display = "block";
> +	       style.width = "280px";
> +	       target.offsetLeft;
> +	       style.width = "300px";
> +	       target.offsetLeft;
> +	       style.width = "290px";
> +	       target.offsetLeft;
> +	       style.display = "none";
> +	   }

You can use anonymous function in the call to measureRunsPerSecond instead of
defining a function since it’s not used elsewhere.


More information about the webkit-reviews mailing list