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

Side by Side Diff: tools/telemetry/examples/telemetry_perf_test.py

Issue 319813004: [Telemetry] Update copyright header style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove stray change Created 6 years, 6 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 | « tools/telemetry/PRESUBMIT.py ('k') | tools/telemetry/telemetry/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import os 6 import os
7 import sys 7 import sys
8 import time 8 import time
9 9
10 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir)) 10 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir))
11 11
12 from telemetry.core import browser_finder 12 from telemetry.core import browser_finder
(...skipping 25 matching lines...) Expand all
38 38
39 print "%s: avg=%f; stdev=%f; min=%f; 75th percentile = %f" % ( 39 print "%s: avg=%f; stdev=%f; min=%f; 75th percentile = %f" % (
40 "Round trip time (seconds)", 40 "Round trip time (seconds)",
41 avg, stdev, min(times), percentile_75) 41 avg, stdev, min(times), percentile_75)
42 42
43 return 0 43 return 0
44 44
45 45
46 if __name__ == '__main__': 46 if __name__ == '__main__':
47 sys.exit(Main(sys.argv[1:])) 47 sys.exit(Main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « tools/telemetry/PRESUBMIT.py ('k') | tools/telemetry/telemetry/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698