OLD | NEW |
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 Loading... |
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 Loading... |
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> |
OLD | NEW |