Changeset 99879 in webkit


Ignore:
Timestamp:
Nov 10, 2011 10:39:39 AM (12 years ago)
Author:
adamk@chromium.org
Message:

[MutationObservers] Microbenchmarks for appendChild, removeChild, and innerHTML
https://bugs.webkit.org/show_bug.cgi?id=71939

Reviewed by Ojan Vafai.

These benchmarks time both the DOM mutations themselves and the time taken
to call the MutationCallback. This measurement is achieved by
executing the code entirely within the MutationCallback itself.

  • Mutation/append-child-deep.html: Added. Covers appendChild in a 200-node-deep tree with subtree observation.
  • Mutation/append-child.html: Added. Covers appendChild in a flat tree.
  • Mutation/inner-html.html: Added. Covers innerHTML adding and removing many nodes at a time.
  • Mutation/remove-child-deep.html: Added. Covers removeChild in a 200-node-deep tree with subtree observation.
  • Mutation/remove-child.html: Added. Covers removeChild in a flat tree.
Location:
trunk/PerformanceTests
Files:
6 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PerformanceTests/ChangeLog

    r98412 r99879  
     12011-11-09  Adam Klein  <adamk@chromium.org>
     2
     3        [MutationObservers] Microbenchmarks for appendChild, removeChild, and innerHTML
     4        https://bugs.webkit.org/show_bug.cgi?id=71939
     5
     6        Reviewed by Ojan Vafai.
     7
     8        These benchmarks time both the DOM mutations themselves and the time taken
     9        to call the MutationCallback. This measurement is achieved by
     10        executing the code entirely within the MutationCallback itself.
     11
     12        * Mutation/append-child-deep.html: Added. Covers appendChild in a 200-node-deep tree with subtree observation.
     13        * Mutation/append-child.html: Added. Covers appendChild in a flat tree.
     14        * Mutation/inner-html.html: Added. Covers innerHTML adding and removing many nodes at a time.
     15        * Mutation/remove-child-deep.html: Added. Covers removeChild in a 200-node-deep tree with subtree observation.
     16        * Mutation/remove-child.html: Added. Covers removeChild in a flat tree.
     17
    1182011-10-25  Adam Barth  <abarth@webkit.org>
    219
Note: See TracChangeset for help on using the changeset viewer.