Separate Simple Backend creation from initialization.
[chromium-blink-merge.git] / tools / perf / record_wpr
blob62b28331a241bf25c3f2dd3ba2ded23d3ea87c01
1 #!/usr/bin/env python
2 # Copyright (c) 2012 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.
5 import os
6 import sys
8 import perf_tools
9 from telemetry.page import record_wpr
11 if __name__ == '__main__':
12 benchmark_dir = os.path.join(os.path.dirname(__file__), 'perf_tools')
13 sys.exit(record_wpr.Main(benchmark_dir))