Merge lp://qastaging/~cjohnston/qa-dashboard/add-uss-tables into lp://qastaging/qa-dashboard

Proposed by Chris Johnston
Status: Work in progress
Proposed branch: lp://qastaging/~cjohnston/qa-dashboard/add-uss-tables
Merge into: lp://qastaging/qa-dashboard
Prerequisite: lp://qastaging/~cjohnston/qa-dashboard/fix-stacked-height
Diff against target: 514 lines (+328/-30)
8 files modified
memory/management/commands/agg_processes.py (+9/-0)
memory/management/commands/agg_results.py (+2/-1)
memory/management/commands/jenkins_pull_memory.py (+2/-0)
memory/migrations/0002_add_uss_results.py (+249/-0)
memory/models.py (+10/-5)
memory/tables.py (+26/-7)
memory/templates/memory/machine_details.html (+2/-2)
memory/views.py (+28/-15)
To merge this branch: bzr merge lp://qastaging/~cjohnston/qa-dashboard/add-uss-tables
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Needs Fixing
Joe Talbott Needs Fixing
Review via email: mp+167433@code.qastaging.launchpad.net

Commit message

Add USS results to memory detail tables.

Description of the change

Currently the memory details page shows two tables, one contains the PSS measurments for each process, the other the total PSS measurement. With the new PSS/USS stacked chart, it makes sense to add USS measurements to the process table.

To post a comment you must log in.
430. By Chris Johnston

Remove admin changes

431. By Chris Johnston

Which build are we looking at

Revision history for this message
Joe Talbott (joetalbott) wrote :

Rather than add uss fields to the result and metric models I think we should add new result instances with name = 'uss' for the USS values and new metric instances with name = 'uss' for those metrics. The models shouldn't need to be changed at all.

review: Needs Fixing
Revision history for this message
Andy Doan (doanac) wrote :

On 06/05/2013 09:10 AM, Joe Talbott wrote:
> Rather than add uss fields to the result and metric models I think we should add new result instances with name = 'uss' for the USS values and new metric instances with name = 'uss' for those metrics. The models shouldn't need to be changed at all.

Is that safe? ie uss/pss contribute to the same "result". So would
splitting them up still make it possible to correlate which USS and PSS
results were tied with each other?

Revision history for this message
Chris Johnston (cjohnston) wrote :

What Joe and I discussed was to add build number and then we could look
them up by build number.

Revision history for this message
Andy Doan (doanac) wrote :

On 06/06/2013 05:16 PM, Chris Johnston wrote:
> What Joe and I discussed was to add build number and then we could look
> them up by build number.
>
Is that going to be efficient? ie is this going to cause us to do things
in 2 queries we could otherwise do in 1?

Revision history for this message
Chris Johnston (cjohnston) wrote :

Probably

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:431
http://s-jenkins:8080/job/dashboard-ci/9/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins:8080/job/dashboard-ci/9/rebuild

review: Needs Fixing (continuous-integration)

Unmerged revisions

431. By Chris Johnston

Which build are we looking at

430. By Chris Johnston

Remove admin changes

429. By Chris Johnston

Fix pss/uss

428. By Chris Johnston

Fix stacked height

427. By Chris Johnston

Add uss to memory detail page

426. By Chris Johnston

stacked charts

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches