Chromium Code Reviews| Index: tools/perf/profile_creators/large_profile_creator.py |
| diff --git a/tools/perf/profile_creators/large_profile_creator.py b/tools/perf/profile_creators/large_profile_creator.py |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..394b54f9dea2a423dce430c7d41b59e0e7f5a233 |
| --- /dev/null |
| +++ b/tools/perf/profile_creators/large_profile_creator.py |
| @@ -0,0 +1,17 @@ |
| +# Copyright 2014 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +from profile_creators import cookie_profile_extender |
| +from profile_creators import history_profile_extender |
| +from telemetry.page import profile_creator |
| + |
| +class LargeProfileCreator(profile_creator.ProfileCreator): |
|
nednguyen
2015/02/19 00:33:32
Do we have a plan to get rid of this in subsequent
erikchen
2015/02/19 01:56:03
Yup.
Most of the logic in profile_generator.py is
nednguyen
2015/02/19 17:07:37
Yeah, I think you have sound vision here.
|
| + """This class creates a large profile by performing a large number of url |
| + navigations.""" |
| + def Run(self, options): |
| + extender = history_profile_extender.HistoryProfileExtender() |
| + extender.Run(options) |
| + |
| + extender = cookie_profile_extender.CookieProfileExtender() |
| + extender.Run(options) |