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

Issue 6455088: Stat speed up via minimizing provider api usage.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by hazmat
Modified:
11 years, 8 months ago
Reviewers:
mp+118258
Visibility:
Public.

Description

Stat speed up via minimizing provider api usage. extracted the stat speed up from the provider api changes around get_machines in big-oh-stat-improv. branch is much smaller as a result and tackles the provider interaction improvement by itself. https://code.launchpad.net/~hazmat/juju/stat-potato/+merge/118258 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : Stat speed up via minimizing provider api usage. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -37 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M juju/control/status.py View 3 chunks +60 lines, -36 lines 0 comments Download
M juju/control/tests/test_status.py View 1 3 chunks +33 lines, -1 line 0 comments Download

Messages

Total messages: 4
hazmat
Please take a look.
11 years, 8 months ago (2012-08-05 00:27:10 UTC) #1
gz
Looks good. Some tests with a faked provider would be nice to assert that only ...
11 years, 8 months ago (2012-08-06 13:12:11 UTC) #2
hazmat
added an additional test varifying api calls to provider. https://codereview.appspot.com/6455088/diff/1/juju/control/status.py File juju/control/status.py (right): https://codereview.appspot.com/6455088/diff/1/juju/control/status.py#newcode545 juju/control/status.py:545: ...
11 years, 8 months ago (2012-08-09 09:20:33 UTC) #3
hazmat
11 years, 8 months ago (2012-08-09 11:01:45 UTC) #4
*** Submitted:

Stat speed up via minimizing provider api usage.

extracted the stat speed up from the provider api changes around get_machines in

big-oh-stat-improv. branch is much smaller as a result and tackles the 
provider interaction improvement by itself.

R=gz
CC=
https://codereview.appspot.com/6455088
Sign in to reply to this message.

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