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

Issue 802153004: Reuse the DOM in the <fps-counter>. (Closed)

Created:
5 years, 11 months ago by esprehn
Modified:
5 years, 11 months ago
Reviewers:
abarth-chromium
CC:
abarth-chromium, mojo-reviews_chromium.org, ojan
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Reuse the DOM in the <fps-counter>. Instead of storing primitive values which makes the data binding system throw away DOM each time we update each slot lets just use objects and shift + pop. This means very little data binding churn. R=abarth@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/1687ef80a52e0ed4589dc2a0f39b3b027bd35cd7

Patch Set 1 #

Patch Set 2 : Actually work + abarth review #

Patch Set 3 : const. #

Patch Set 4 : const. #

Patch Set 5 : const. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -21 lines) Patch
M sky/examples/fps-counter.sky View 3 chunks +26 lines, -21 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
abarth-chromium
lgtm
5 years, 11 months ago (2015-01-16 05:36:13 UTC) #2
abarth-chromium
do you want to replace the reduce with something more bit smashy?
5 years, 11 months ago (2015-01-16 05:37:04 UTC) #3
abarth-chromium
lgtm
5 years, 11 months ago (2015-01-16 06:00:23 UTC) #4
esprehn
5 years, 11 months ago (2015-01-16 06:02:40 UTC) #5
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
1687ef80a52e0ed4589dc2a0f39b3b027bd35cd7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698