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

Side by Side Diff: sky/benchmarks/framework/city-list.sky

Issue 1034953003: Remove flights example (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | sky/benchmarks/framework/flights-app.sky » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <sky>
2 <import src="/sky/benchmarks/resources/runner.sky" as="PerfRunner" />
3 <import src="/sky/examples/city-list/city-list.sky" as="citylist" />
4 <script>
5 var sky = document.querySelector("sky");
6 var element;
7
8 var CityListElement = citylist.CityListElement;
9
10 var runner = new PerfRunner({
11 setup: function() {
12 // Don't benchmark removal.
13 if (element)
14 element.remove();
15 },
16 iterations: 10,
17 unit: "ms",
18 });
19
20 runner.runAsync(function(done) {
21 element = new CityListElement();
22 sky.appendChild(element);
23 element.addEventListener('load', function() {
24 done();
25 });
26 });
27 </script>
28 </sky>
OLDNEW
« no previous file with comments | « no previous file | sky/benchmarks/framework/flights-app.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698