Name Description Size Coverage
__init__.py 0 -
addon_utils.py Helpers for resolving webextensions to install into the test profile. 1824 -
base_python_support.py This function is used to save the bt_result, raw_result that way we can reference and use this data across the different BasePythonSupport classes. Each of the elements in self.raw_result is an individual page_cycle. Each of the values within a metric in one of those page_cycles is a separate browser iteration. :param dict raw_result: all non-browsertime parts of the test, should include things like the android version, ttfb, and cpu usage :param dict bt_result: browsertime results/version info from the test return: None 18276 -
benchmark.py utility class for running benchmarks in raptor 14644 -
browser_function_labels.toml 25080 -
browsertime -
chrome_trace.py Module to handle chrom* profiling. 5139 -
cmdline.py 26021 -
etw_profile.py Record kernel ETW traces (.etl) using xperf (via pre-configured scheduled tasks), then use Samply to convert and symbolicate them into profiles in the Firefox Profiler JSON format. On the Windows pool, scheduled tasks allow an unprivileged user to start/stop xperf kernel tracing/profiling: schtasks /run /tn xperf_kernel_trace_start schtasks /run /tn xperf_kernel_trace_stop The resulting ETL trace is written to: %USERPROFILE%\\xperf\\combined.etl The implementation of these tasks can be found here: https://github.com/mozilla-platform-ops/ronin_puppet/tree/master/modules/win_hw_profiling 9354 -
filters.py data filters: takes a series of run data and applies statistical transforms to it Each filter is a simple function, but it also have attached a special `prepare` method that create a tuple with one instance of a :class:`Filter`; this allow to write stuff like:: from raptor import filters filter_list = filters.ignore_first.prepare(1) + filters.median.prepare() for filter in filter_list: data = filter(data) # data is filtered 6027 -
gecko_profile.py Module to handle Gecko profiling. 9717 -
manifest.py 28016 -
output.py output raptor test results 90413 -
outputhandler.py 1012 -
perf_profile.py Collect system-wide perf traces and convert them to Firefox Profiler JSON profiles using Samply. 10498 -
perfdocs -
performance_tuning.py Set various performance-oriented parameters, to reduce jitter. This includes some device-specific kernel tweaks. For more information, see https://bugzilla.mozilla.org/show_bug.cgi?id=1547135. 8562 -
perftest.py Abstract base class for perftests that execute via a subharness, either Raptor or browsertime. 40546 -
raptor.py 7473 -
raptor.toml 3781 -
raptor_profiling.py Superclass to handle profiling in Raptor-Browsertime. 13328 -
results.py Abstract base class to handle perftest results 50001 -
samply_profile.py Record profiles using Samply on macOS and convert them to Firefox Profiler JSON profiles. 16840 -
signal_handler.py 576 -
simpleperf.py Module to handle Simpleperf profiling. 5671 -
support_class_utils.py This function returns a BasePythonSupport subclass from the given path. :param str path: The path pointing to the custom support subclass. :return: A subclass of BasePythonSupport. 1245 -
tests -
tooltool-manifests -
utils.py Utility functions for Raptor 5651 -