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

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: Remove not useful files 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
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
dtu 2015/05/19 17:45:58 I think this stuff is no longer going to be in the
nednguyen 2015/05/19 18:11:39 This is useful for benchmarking the latency betwee
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))
11 11
(...skipping 26 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

Powered by Google App Engine
This is Rietveld 408576698