| |
- __builtin__.object
-
- Profiler
class Profiler(__builtin__.object) |
|
A sampling profiler provided by the platform.
A profiler is started on its constructor, and should
gather data until CollectProfile().
The life cycle is normally tied to a single page,
i.e., multiple profilers will be created for a page set.
WillCloseBrowser() is called right before the browser
is closed to allow any further cleanup. |
|
Methods defined here:
- CollectProfile(self)
- Collect the profile from the profiler.
- __init__(self, browser_backend, platform_backend, output_path, state)
Class methods defined here:
- CustomizeBrowserOptions(cls, browser_type, options) from __builtin__.type
- Override to customize the Browser's options before it is created.
- WillCloseBrowser(cls, browser_backend, platform_backend) from __builtin__.type
- Called before the browser is stopped.
- is_supported(cls, browser_type) from __builtin__.type
- True iff this profiler is currently supported by the platform.
- name(cls) from __builtin__.type
- User-friendly name of this profiler.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |