Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1856)

Issue 11198043: Reduce excessive databinding updates

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by bcsaller
Modified:
10 years, 9 months ago
Reviewers:
jeff.pihach, gary.poster, mp+174319
Visibility:
Public.

Description

Reduce excessive databinding updates This greatly lowers the cost of having a large (600+) units in the inspector. Past an initial rendering hit the system performs to over 2k units in local testing. https://code.launchpad.net/~bcsaller/juju-gui/excessive-updates/+merge/174319 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Reduce excessive databinding updates #

Total comments: 10

Patch Set 3 : Reduce excessive databinding updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -39 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M app/store/env/simulator.js View 2 chunks +0 lines, -2 lines 0 comments Download
M app/templates/view-container.handlebars View 1 chunk +0 lines, -3 lines 0 comments Download
M app/views/databinding.js View 1 2 5 chunks +31 lines, -5 lines 0 comments Download
M app/views/environment.js View 1 1 chunk +1 line, -1 line 0 comments Download
M app/views/service.js View 1 1 chunk +0 lines, -11 lines 0 comments Download
M app/views/view-container.js View 1 1 chunk +2 lines, -1 line 0 comments Download
M test/test_databinding.js View 11 chunks +11 lines, -11 lines 0 comments Download
M test/test_inspector_constraints.js View 1 1 chunk +3 lines, -2 lines 0 comments Download
M test/test_inspector_overview.js View 1 chunk +3 lines, -2 lines 0 comments Download
M test/test_inspector_settings.js View 1 1 chunk +1 line, -1 line 0 comments Download
M test/test_view_container.js View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7
bcsaller
Please take a look.
10 years, 9 months ago (2013-07-12 01:19:28 UTC) #1
bcsaller
Please take a look.
10 years, 9 months ago (2013-07-12 01:47:06 UTC) #2
jeff.pihach
Great work as always LGTM! QA is good! https://codereview.appspot.com/11198043/diff/4001/app/store/env/simulator.js File app/store/env/simulator.js (left): https://codereview.appspot.com/11198043/diff/4001/app/store/env/simulator.js#oldcode487 app/store/env/simulator.js:487: console.log('Simulator ...
10 years, 9 months ago (2013-07-12 06:07:37 UTC) #3
gary.poster
LGTM with comments and a test or two of the new aggregation code. Thank you. ...
10 years, 9 months ago (2013-07-12 11:24:54 UTC) #4
benjamin.saller
On 2013/07/12 11:24:54, gary.poster wrote: > LGTM with comments and a test or two of ...
10 years, 9 months ago (2013-07-12 14:46:18 UTC) #5
benjamin.saller
Thanks for the reviews. My current leaning is to keep the pattern in place as ...
10 years, 9 months ago (2013-07-12 14:48:11 UTC) #6
bcsaller
10 years, 9 months ago (2013-07-12 14:52:31 UTC) #7
*** Submitted:

Reduce excessive databinding updates

This greatly lowers the cost of having a large (600+) units in the 
inspector. Past an initial rendering hit the system performs to over 2k 
units in local testing.

R=jeff.pihach, gary.poster, benjamin.saller
CC=
https://codereview.appspot.com/11198043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b