JSONStringValueSerializer takes a StringPiece instead of std::string&.
[chromium-blink-merge.git] / tools / chrome_proxy / run_benchmark
blobfd3ebeb0412122ab369eb799a90f23d81ff960d6
1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
6 import os
7 import sys
9 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, 'telemetry'))
10 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, 'perf'))
12 from telemetry import benchmark_runner
13 from telemetry.core import environment
16 if __name__ == '__main__':
17 base_dir = os.path.dirname(os.path.realpath(__file__))
18 benchmark_runner.config = environment.Environment([base_dir])
19 sys.exit(benchmark_runner.main())