tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit de5d23148aa4326f62756a5653df6da5025d8464
parent 9f13ca7bbe08a964b1097c35f6d5bf6fdddfddb0
Author: Andrej Glavic <aglavic@mozilla.com>
Date:   Fri,  3 Oct 2025 17:38:49 +0000

Bug 1982803 - Stop recording end time for chrome resource usage tests. r=perftest-reviewers,sparky

Due to an issue with chrome on the android OS we are stopping measuring at the end time for it temporarily

Differential Revision: https://phabricator.services.mozilla.com/D267117

Diffstat:
Mtesting/performance/android-resource/parse_resource_usage.py | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/testing/performance/android-resource/parse_resource_usage.py b/testing/performance/android-resource/parse_resource_usage.py @@ -208,7 +208,11 @@ def main(): perf_metrics = [] base_measures = {} - for i, measurement_time in enumerate(("start", "10%", "50%", "end")): + measuring_intervals = ("start", "10%", "50%", "end") + if binary == "com.android.chrome": + measuring_intervals = ("start", "10%", "50%") + + for i, measurement_time in enumerate(measuring_intervals): cpu_measures = parse_cpu_usage(cpu_info_files[i], binary) mem_measures = parse_memory_usage(mem_info_files[i], binary)