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

Unified Diff: dashboard/dashboard/elements/speed-releasing-table-test.html

Issue 2662633002: Paring down the table to only include important values. (Closed)
Patch Set: Editing wording on /create_health_report Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dashboard/dashboard/elements/speed-releasing-table.html ('k') | dashboard/dashboard/models/table_config.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dashboard/dashboard/elements/speed-releasing-table-test.html
diff --git a/dashboard/dashboard/elements/speed-releasing-table-test.html b/dashboard/dashboard/elements/speed-releasing-table-test.html
index 18a955e17551eddfa7273b99e629630a8fa631e8..b167238a05f5695726b25ea630669895c2d043b0 100644
--- a/dashboard/dashboard/elements/speed-releasing-table-test.html
+++ b/dashboard/dashboard/elements/speed-releasing-table-test.html
@@ -27,129 +27,59 @@ tr.b.unittest.testSuite(function() {
'123':
{
'master/bot': {
- 'test/test_count': 10,
- 'test/test_max': 10001,
'test/test_avg': 10001,
- 'test/test_std': 10001,
- 'test/test1_count': 20,
- 'test/test1_max': 50021,
'test/test1_avg': 50001,
- 'test/test1_std': 50001,
- 'test2/test3_count': 10,
- 'test2/test3_max': 20041,
'test2/test3_avg': 20001,
- 'test2/test3_std': 20001,
- 'test2/test4_count': 15,
- 'test2/test4_max': 40002,
'test2/test4_avg': 40002,
- 'test2/test4_std': 40002,
- 'test2/test5_count': 20,
- 'test2/test5_max': 40002,
'test2/test5_avg': 40002,
- 'test2/test5_std': 40002,
},
'master2/bot2': {
- 'test/test_count': 10,
- 'test/test_max': 30001,
'test/test_avg': 30001,
- 'test/test_std': 30001,
- 'test/test1_count': 20,
- 'test/test1_max': 60001,
'test/test1_avg': 60001,
- 'test/test1_std': 60001,
- 'test2/test3_count': 10,
- 'test2/test3_max': 40001,
'test2/test3_avg': 40001,
- 'test2/test3_std': 40001,
- 'test2/test4_count': 15,
- 'test2/test4_max': 40002,
'test2/test4_avg': 40002,
- 'test2/test4_std': 40002,
- 'test2/test5_count': 20,
- 'test2/test5_max': 40002,
'test2/test5_avg': 40002,
- 'test2/test5_std': 40002,
}
},
'456':
{
'master/bot': {
- 'test/test_count': 10,
- 'test/test_max': 10002,
'test/test_avg': 10002,
- 'test/test_std': 10002,
- 'test/test1_count': 20,
- 'test/test1_max': 50502,
'test/test1_avg': 50402,
- 'test/test1_std': 50002,
- 'test2/test3_count': 10,
- 'test2/test3_max': 20002,
'test2/test3_avg': 20002,
- 'test2/test3_std': 20002,
- 'test2/test4_count': 15,
- 'test2/test4_max': 40002,
'test2/test4_avg': 40002,
- 'test2/test4_std': 40002,
- 'test2/test5_count': 20,
- 'test2/test5_max': 40002,
'test2/test5_avg': 40002,
- 'test2/test5_std': 40002,
},
'master2/bot2': {
- 'test/test_count': 10,
- 'test/test_max': 30002,
'test/test_avg': 30012,
- 'test/test_std': 30002,
- 'test/test1_count': 20,
- 'test/test1_max': 60502,
'test/test1_avg': 60222,
- 'test/test1_std': 60002,
- 'test2/test3_count': 10,
- 'test2/test3_max': 40052,
'test2/test3_avg': 40007,
- 'test2/test3_std': 59002,
- 'test2/test4_count': 15,
- 'test2/test4_max': 40342,
'test2/test4_avg': 40052,
- 'test2/test4_std': 80002,
- 'test2/test5_count': 20,
- 'test2/test5_max': 418902,
'test2/test5_avg': 40012,
- 'test2/test5_std': 40002,
}
}
,
};
var testLayout = {
- 'test/test_*': ['foreground', 'Pretty Name'],
- 'test/test1_*': ['foreground', 'Prettier Name'],
- 'test2/test3_*': ['foreground', 'Prettiester Name'],
- 'test2/test4_*': ['background', 'Prettiestest Name'],
- 'test2/test5_*': ['background', 'Prettiestestest Name'],
+ 'test/test_avg': ['foreground', 'Pretty Name'],
+ 'test/test1_avg': ['foreground', 'Prettier Name'],
+ 'test2/test3_avg': ['foreground', 'Prettiester Name'],
+ 'test2/test4_avg': ['background', 'Prettiestest Name'],
+ 'test2/test5_avg': ['background', 'Prettiestestest Name'],
};
var unitMap = {
'test/test_avg': 'timeStampInMs',
- 'test/test_max': 'timeStampInMs',
- 'test/test_std': 'timeStampInMs',
'test/test1_avg': 'sizeInBytes',
- 'test/test1_max': 'sizeInBytes',
- 'test/test1_std': 'sizeInBytes',
'test2/test3_avg': 'powerInWatts',
- 'test2/test3_max': 'powerInWatts',
- 'test2/test3_std': 'powerInWatts',
'test2/test4_avg': 'count',
- 'test2/test4_max': 'count',
- 'test2/test4_std': 'count',
'test2/test5_avg': 'sizeInBytes',
- 'test2/test5_max': 'sizeInBytes',
- 'test2/test5_std': 'sizeInBytes',
};
var categories = {
@@ -162,8 +92,8 @@ tr.b.unittest.testSuite(function() {
test('instantiation', function() {
var mockResponse = {
'table_bots': ['master/bot', 'master2/bot2'],
- 'table_tests': ['test/test_*', 'test/test1_*', 'test2/test3_*',
- 'test2/test4_*', 'test2/test5_*'],
+ 'table_tests': ['test/test_avg', 'test/test1_avg', 'test2/test3_avg',
+ 'test2/test4_avg', 'test2/test5_avg'],
'table_layout': testLayout,
'name': 'fakeTable',
'values': testData,
« no previous file with comments | « dashboard/dashboard/elements/speed-releasing-table.html ('k') | dashboard/dashboard/models/table_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698