diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:02:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:02:01 +0000 |
commit | 088c0cefd0f8b5482cc227955cc3057d47ec24b6 (patch) | |
tree | 05f2021c7dd804334bcb781bb0c4881e971cd8fe /js/xpconnect/src | |
parent | Adding debian version 126.0-1. (diff) | |
download | firefox-088c0cefd0f8b5482cc227955cc3057d47ec24b6.tar.xz firefox-088c0cefd0f8b5482cc227955cc3057d47ec24b6.zip |
Merging upstream version 126.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/xpconnect/src')
-rw-r--r-- | js/xpconnect/src/XPCJSRuntime.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/xpconnect/src/XPCJSRuntime.cpp b/js/xpconnect/src/XPCJSRuntime.cpp index 567cd860cf..26f794a5d8 100644 --- a/js/xpconnect/src/XPCJSRuntime.cpp +++ b/js/xpconnect/src/XPCJSRuntime.cpp @@ -2585,6 +2585,8 @@ static void AccumulateTelemetryCallback(JSMetric id, uint32_t sample) { // clang-format on switch (id) { +// Disable clone.deserialize metrics on Android for perf (bug 1898515). +#ifndef MOZ_WIDGET_ANDROID case JSMetric::DESERIALIZE_BYTES: glean::performance_clone_deserialize::size.Accumulate(sample); break; @@ -2596,6 +2598,7 @@ static void AccumulateTelemetryCallback(JSMetric id, uint32_t sample) { glean::performance_clone_deserialize::time.AccumulateRawDuration( TimeDuration::FromMicroseconds(sample)); break; +#endif // MOZ_WIDGET_ANDROID case JSMetric::GC_MS: glean::javascript_gc::total_time.AccumulateRawDuration( TimeDuration::FromMilliseconds(sample)); |