Bug 82321 - Add a perf test which updates the value of an already declared CSS property.
Summary: Add a perf test which updates the value of an already declared CSS property.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexis Menard (darktears)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-27 04:43 PDT by Alexis Menard (darktears)
Modified: 2012-03-27 04:57 PDT (History)
1 user (show)

See Also:


Attachments
Patch (3.08 KB, patch)
2012-03-27 04:45 PDT, Alexis Menard (darktears)
no flags Details | Formatted Diff | Diff
Patch for landing (3.19 KB, patch)
2012-03-27 04:50 PDT, Alexis Menard (darktears)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Menard (darktears) 2012-03-27 04:43:17 PDT
Add a perf test when updating the value of an already declared CSS property.
Comment 1 Alexis Menard (darktears) 2012-03-27 04:45:14 PDT
Created attachment 134025 [details]
Patch
Comment 2 Andreas Kling 2012-03-27 04:48:43 PDT
Comment on attachment 134025 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=134025&action=review

r=me

> PerformanceTests/CSS/CSSPropertyUpdateValue.html:77
> +PerfTestRunner.run(function() {
> +    for (key in properties)
> +        div.style[key] = properties[key];
> +}, 10000);

Would be nice with a comment noting that the first pass is discarded from the results, since otherwise it looks like one of the passes will add, not update, properties.
Comment 3 Alexis Menard (darktears) 2012-03-27 04:50:27 PDT
Created attachment 134026 [details]
Patch for landing
Comment 4 Alexis Menard (darktears) 2012-03-27 04:57:12 PDT
Comment on attachment 134026 [details]
Patch for landing

Clearing flags on attachment: 134026

Committed r112253: <http://trac.webkit.org/changeset/112253>
Comment 5 Alexis Menard (darktears) 2012-03-27 04:57:28 PDT
All reviewed patches have been landed.  Closing bug.