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

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

Issue 1111103002: [Telemetry] Move telemetry/examples to telemetry/experimental. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add examples/credentials_example.json back Created 5 years, 7 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
« no previous file with comments | « tools/telemetry/experimental/measure_trace.py ('k') | 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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 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))
(...skipping 27 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/experimental/measure_trace.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698