Closed
Bug 650382
Opened 13 years ago
Closed 13 years ago
Update endurance results dashboard to use pre-calculated values for min/max/average
Categories
(Mozilla QA Graveyard :: Mozmill Result Dashboard, defect)
Mozilla QA Graveyard
Mozmill Result Dashboard
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: davehunt, Assigned: davehunt)
References
Details
Attachments
(1 file, 3 obsolete files)
7.36 KB,
patch
|
whimboo
:
review+
|
Details | Diff | Splinter Review |
Use the new pre-calculated values stored in the report rather than working this out on the client-side.
Assignee | ||
Comment 1•13 years ago
|
||
Assignee: nobody → dave.hunt
Attachment #526405 -
Flags: review?(anthony.s.hughes)
Attachment #526405 -
Flags: review?(anthony.s.hughes) → review+
Assignee | ||
Updated•13 years ago
|
Attachment #526405 -
Flags: review?(hskupin)
Comment 2•13 years ago
|
||
Comment on attachment 526405 [details] [diff] [review] Use pre-calculated values from report. v1 >- minAllocatedMemory : min(testAllocatedMemoryResults), >- maxAllocatedMemory : max(testAllocatedMemoryResults), >- averageAllocatedMemory : Math.round(average(testAllocatedMemoryResults)), >- minMappedMemory : min(testMappedMemoryResults), >- maxMappedMemory : max(testMappedMemoryResults), >- averageMappedMemory : Math.round(average(testMappedMemoryResults)) Please also remove the declaration for those array variables which hold the data. Otherwise looks fine.
Attachment #526405 -
Flags: review?(hskupin) → review-
Assignee | ||
Comment 3•13 years ago
|
||
(In reply to comment #2) > Comment on attachment 526405 [details] [diff] [review] [review] > Use pre-calculated values from report. v1 > > >- minAllocatedMemory : min(testAllocatedMemoryResults), > >- maxAllocatedMemory : max(testAllocatedMemoryResults), > >- averageAllocatedMemory : Math.round(average(testAllocatedMemoryResults)), > >- minMappedMemory : min(testMappedMemoryResults), > >- maxMappedMemory : max(testMappedMemoryResults), > >- averageMappedMemory : Math.round(average(testMappedMemoryResults)) > > Please also remove the declaration for those array variables which hold the > data. Otherwise looks fine. Thanks for spotting that, it should be a bit cleaner now.
Attachment #526405 -
Attachment is obsolete: true
Attachment #529956 -
Flags: review?(hskupin)
Comment 4•13 years ago
|
||
Comment on attachment 529956 [details] [diff] [review] Use pre-calculated values from report. v1.1 I think it's fine now. Lets wait for the other patches to get checked-in.
Attachment #529956 -
Flags: review?(hskupin) → review+
A Pivotal Tracker story has been created for this Bug: https://www.pivotaltracker.com/story/show/13565931
Assignee | ||
Comment 8•13 years ago
|
||
Updated to support reports that don't include the pre-calculated stats. Metrics will be output as "--" on this older reports.
Attachment #529956 -
Attachment is obsolete: true
Attachment #535672 -
Flags: review?(hskupin)
Comment 9•13 years ago
|
||
Comment on attachment 535672 [details] [diff] [review] Use pre-calculated values from report. v2.0 >+ value.min_allocated_memory = (value.stats && value.stats.allocated) ? Math.round(value.stats.allocated.min * BYTE_TO_MEGABYTE) : METRIC_UNAVAILABLE; For old reports which do not pre-calculate the metrics there will be no stats property. Why can't we simply check it once at the beginning? That way we wouldn't have to run the same check again and again. Why do you have an extra check for stats.allocated?
Assignee | ||
Comment 10•13 years ago
|
||
I'm checking for stats.allocated because results from Firefox 6+ will have the explicit and resident values, and not allocated or mapped.
Comment 11•13 years ago
|
||
I was hoping that you cover that in the patch on bug 657508, so we do not mix those different features. It would also make problems if we would have to back-out this specific patch.
Assignee | ||
Comment 12•13 years ago
|
||
(In reply to comment #11) > I was hoping that you cover that in the patch on bug 657508, so we do not > mix those different features. It would also make problems if we would have > to back-out this specific patch. Updated patch with suggestions.
Attachment #535672 -
Attachment is obsolete: true
Attachment #535672 -
Flags: review?(hskupin)
Attachment #536309 -
Flags: review?(hskupin)
Comment 13•13 years ago
|
||
Comment on attachment 536309 [details] [diff] [review] Use pre-calculated values from report. v2.1 Looks good. Go ahead and land it.
Attachment #536309 -
Flags: review?(hskupin) → review+
Assignee | ||
Comment 14•13 years ago
|
||
Landed as: https://github.com/whimboo/mozmill-dashboard/commit/bac9de248fad62d96a648a5a3dbf71e8f74c98ed
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•