| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import '../log/log.dart'; | 5 import '../log/log.dart'; |
| 6 import 'page_writer.dart'; | 6 import 'page_writer.dart'; |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * A page writer that will produce the page containing statistics about an | 9 * A page writer that will produce the page containing statistics about an |
| 10 * instrumentation log. | 10 * instrumentation log. |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 sink.write('<tr><td class="int">'); | 251 sink.write('<tr><td class="int">'); |
| 252 sink.write(responseTimes[0]); | 252 sink.write(responseTimes[0]); |
| 253 sink.write('</td><td class="int">'); | 253 sink.write('</td><td class="int">'); |
| 254 sink.write(_mean(responseTimes)); | 254 sink.write(_mean(responseTimes)); |
| 255 sink.write('</td><td class="int">'); | 255 sink.write('</td><td class="int">'); |
| 256 sink.write(responseTimes[responseTimes.length - 1]); | 256 sink.write(responseTimes[responseTimes.length - 1]); |
| 257 sink.write('</td><td>'); | 257 sink.write('</td><td>'); |
| 258 sink.write(method); | 258 sink.write(method); |
| 259 sink.writeln('</td></tr>'); | 259 sink.writeln('</td></tr>'); |
| 260 } | 260 } |
| 261 ; | |
| 262 sink.writeln('</table>'); | 261 sink.writeln('</table>'); |
| 263 }); | 262 }); |
| 264 } | 263 } |
| 265 } | 264 } |
| 266 } | 265 } |
| OLD | NEW |