Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2004)

Unified Diff: runtime/observatory/lib/src/elements/class_tree.html

Issue 839633004: Improve performance of table trees by around 3x (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/elements/class_tree.html
diff --git a/runtime/observatory/lib/src/elements/class_tree.html b/runtime/observatory/lib/src/elements/class_tree.html
index 96270d2dc5e52cea2a204fb3568969c40684950b..cbe79d18a2c5538385f33152d68e7f7bea8fe900 100644
--- a/runtime/observatory/lib/src/elements/class_tree.html
+++ b/runtime/observatory/lib/src/elements/class_tree.html
@@ -97,21 +97,12 @@
<div class="content-centered">
<h1>Class Hierarchy</h1>
<table id="tableTree" class="table">
- <thead>
+ <thead id="tableTreeHeader">
<tr>
<th>Class</th>
</tr>
</thead>
- <tbody>
- <tr template repeat="{{row in tree.rows }}">
- <td on-click="{{toggleExpanded}}"
- class="{{ coloring(row) }}"
- style="{{ padding(row) }}">
- <span id="expand" style="{{ row.expanderStyle }}">{{ row.expander }}</span>
- <class-ref ref="{{ row.cls }}"></class-ref>
- </td>
- </tr>
- </tbody>
+ <tbody id="tableTreeBody"></tbody>
</table>
</div>
</template>

Powered by Google App Engine
This is Rietveld 408576698