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

Side by Side Diff: tools/telemetry/support/html_output/results-template.html

Issue 22763002: [Telemetry] Categorize memory vs. time metrics properly for page cycler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Telemetry Performance Test Results</title> 4 <title>Telemetry Performance Test Results</title>
5 <style type="text/css"> 5 <style type="text/css">
6 6
7 section { 7 section {
8 background: white; 8 background: white;
9 padding: 10px; 9 padding: 10px;
10 position: relative; 10 position: relative;
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 cachedUnit = unit; 204 cachedUnit = unit;
205 } 205 }
206 } 206 }
207 207
208 this.name = function () { return name + ':' + metric; } 208 this.name = function () { return name + ':' + metric; }
209 this.isImportant = isImportant; 209 this.isImportant = isImportant;
210 this.isMemoryTest = function () { 210 this.isMemoryTest = function () {
211 return (unit == 'kb' || 211 return (unit == 'kb' ||
212 unit == 'KB' || 212 unit == 'KB' ||
213 unit == 'MB' || 213 unit == 'MB' ||
214 unit == 'bytes'); 214 unit == 'bytes' ||
215 !metric.indexOf('V8.') ||
216 metric == 'processes');
215 } 217 }
216 this.addResult = function (newResult) { 218 this.addResult = function (newResult) {
217 testResults.push(newResult); 219 testResults.push(newResult);
218 cachedUnit = null; 220 cachedUnit = null;
219 cachedScalingFactor = null; 221 cachedScalingFactor = null;
220 } 222 }
221 this.results = function () { return testResults; } 223 this.results = function () { return testResults; }
222 this.scalingFactor = function() { 224 this.scalingFactor = function() {
223 computeScalingFactorIfNeeded(); 225 computeScalingFactorIfNeeded();
224 return cachedScalingFactor; 226 return cachedScalingFactor;
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 $(checkbox).trigger('change', $(this)); 589 $(checkbox).trigger('change', $(this));
588 }); 590 });
589 }); 591 });
590 } 592 }
591 593
592 </script> 594 </script>
593 <script id="results-json" type="application/json">%json_results%</script> 595 <script id="results-json" type="application/json">%json_results%</script>
594 <script id="units-json" type="application/json">%json_units%</script> 596 <script id="units-json" type="application/json">%json_units%</script>
595 </body> 597 </body>
596 </html> 598 </html>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698