210
edits
No edit summary |
(→Components: fix link) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Classification of user actions/flows that will be perceived as task with discrete performance expectations and settings/configurations that affect the raw performance of those tasks. | |||
==Pageload== | |||
=== Metrics === | === Metrics === | ||
Line 22: | Line 26: | ||
| First Paint event || Standard || The time between navigation and when the browser renders the first pixels to the screen, rendering anything that is visually different from what was on the screen prior to navigation. || [https://developer.mozilla.org/en-US/docs/Glossary/First_paint MDN documentation] | | First Paint event || Standard || The time between navigation and when the browser renders the first pixels to the screen, rendering anything that is visually different from what was on the screen prior to navigation. || [https://developer.mozilla.org/en-US/docs/Glossary/First_paint MDN documentation] | ||
|- | |- | ||
| First Contentful Paint || Standard || How long it takes the browser to render the first bit of content from the DOM providing the first feedback to the user the page is actually loading. || [ | | First Contentful Paint || Standard || How long it takes the browser to render the first bit of content from the DOM providing the first feedback to the user the page is actually loading. || [https://developer.mozilla.org/en-US/docs/Glossary/First_contentful_paint MDN documentation] | ||
|- | |- | ||
| DOMContentLoaded event || Standard || A DOM event that is fired once the underlying document has finished being parsed and loaded, but before any of its additional resources (stylesheets, images, subframes) have finished loading. || [https://developer.mozilla.org/en-US/docs/Web/API/Window/DOMContent MDN documentation] | | DOMContentLoaded event || Standard || A DOM event that is fired once the underlying document has finished being parsed and loaded, but before any of its additional resources (stylesheets, images, subframes) have finished loading. || [https://developer.mozilla.org/en-US/docs/Web/API/Window/DOMContent MDN documentation] | ||
Line 207: | Line 211: | ||
| Layout || || || | | Layout || || || | ||
|- | |- | ||
| Parsing || Javascript || || | | Parsing || Javascript || || [[JavaScript]] | ||
|- | |- | ||
| Compilation || Javascript || || | | Compilation || Javascript || || [[JavaScript]] | ||
|- | |- | ||
| Network || || || | | Network || || || [[Networking]] | ||
|- | |- | ||
| DOM || || || | | DOM || || || [[DOM]] | ||
|- | |- | ||
| Storage || || || | | Storage || || || [[Storage]] | ||
|- | |- | ||
| Media || || || | | Media || || || [[Media]] | ||
|- | |- | ||
|} | |} | ||
=Mozilla specific terms= | |||
== Backfill == | |||
Trigger skipped jobs (Treeherder terminology). | |||
Also refers to filling in missing data points from Perfherder's [https://treeherder.mozilla.org/perf.html#/graphs Graphs view]. | |||
== Data point == | |||
Performance metric value visible in Perfherder's [https://treeherder.mozilla.org/perf.html#/graphs Graph view]. | |||
[[File:Data point.png|700px|none|left|Selected data point]] | |||
== DOM Content Flushed (dcf) == | |||
This is a Mozilla proprietary extension and not part of the performance/navigation timing specification. It marks the completion of the first presentation flush after DOMContentLoaded. | |||
Internal Firefox metric activated by setting the preference dom.performance.time_to_dom_content_flushed.enabled to true. | |||
== Downstream == | |||
Alert triggered by a commit that originally happened on another repo and was merged into the current one after. | |||
== First Non-Blank Paint (fnbpaint) == | |||
The timestamp of a shipped frame that contains the first paint to draw more than the document background. | |||
Has low value to a user, as this paint may be completely meaningless or useless. The first non-blank paint is often represented as "Start Render" in performance products. | |||
== Gecko profile == | |||
The Firefox Profiler is a profiler that is built into Firefox and is available at profiler.firefox.com. It has tighter integration with Firefox than external profilers, and has more of a platform focus that the DevTools performance panel. It can be used a variety of situations where external profilers are not available, and can provide more information and insight into what the browser is doing. | |||
== mitmproxy == | |||
[https://mitmproxy.org/ Mitmproxy] is a third-party open-source tool ([https://github.com/mitmproxy/mitmproxy found here in github]) that allows the recording of a live web page and saving it as a playback archive. Using Mitmproxy's 'mitmdump' tool, the recorded page can be played back through a local proxy browser proxy; then browsing to the URL loads the page from the mitmproxy recording instead of the live site. | |||
The Raptor performance testing framework uses Mitmproxy for Raptor page-load performance tests. Mitmproxy is available as a python [https://searchfox.org/mozilla-central/source/testing/mozbase/mozproxy mozbase/mozproxy] module for import in any python project. | |||
== Noise (regarding performance tests) == | |||
Generally a test reports values that are in a range instead of a consistent value. The larger the range of 'normal' results, the more noise we have. | |||
Some tests will post results in a small range, and when we get a data point significantly outside the range, it is easy to identify. | |||
The problem is that many tests have a large range of expected results. It makes it hard to determine what a regression is when we might have a range += 4% from the median and we have a 3% regression. It is obvious in the graph over time, but hard to tell until you have many future data points. | |||
== Perf Sheriff == | |||
Using perfherder, a perf-sheriff will perform these tasks: | |||
# Look at the graph and determine the original branch, date, revision where the alert occurred | |||
# Look at Treeherder and determine if we have all the data. | |||
# Retrigger jobs if needed (more noise, more retriggers) | |||
# Once you have more data, look at the data in compare view to see if other tests/platforms have changed | |||
# Add all related alerts you see to the summary with the reassign button | |||
== Perfherder == | |||
Perfherder is an interactive dashboard intended to allow monitoring and analysis of automated performance tests run against '''Mozilla''' products (currently Firefox and Firefox for Android). | |||
== Raptor == | |||
Raptor is a performance testing framework used for running browser page-load and browser benchmark tests. Raptor can run performance tests on Firefox desktop, Firefox android (Fennec, Geckoview example app, and the android components Reference Browser), and Google Chrome/Chromium. For more information please refer to [https://wiki.mozilla.org/Performance_sheriffing/Raptor the Raptor wiki page.] | |||
==RelMan glossary== | |||
[https://wiki.mozilla.org/Release_Management/Glossary These terms] are of use, especially when doing Performance sheriffing. | |||
== Retrigger == | |||
Any run of the same job on the same commit for the same repo triggered after the first one. | |||
Retriggers usually happen when the available datapoint in the graph are not enough for the sheriff to determine the culprit. | |||
== SETA == | |||
SETA finds the minimum set of jobs to run in order to catch all failures that our automation has found in the recent past on Firefox development repositories. | |||
SETA creates job priorities for all jobs found in the runnable-jobs API for that repository. | |||
== Talos == | |||
Talos is our versatile performance testing framework we use at '''Mozilla'''. It was created to serve as a test runner for the existing performance tests that '''Mozilla''' was running back in 2007 as well as providing an extensible framework for new tests as they were created. | |||
== Treeherder == | |||
Treeherder is a reporting dashboard for Mozilla checkins. It allows users to see the results of automatic builds and their respective tests. The Treeherder service manages the etl layer for data ingestion, web services, and the data model behind Treeherder. | |||
== Time To First Interactive (ttfi) == | |||
This is a newer metric and reports when the page is first expected to be usable and will respond to input quickly (with the possibility of slow responses as more content loads). | |||
# Start looking for First Interactive at first contentful paint | |||
# Look for the first interactive window (with no regard to in-flight requests) | |||
# First Interactive is the start of the interactive window from step 2, first contentful paint or DOM Content Loaded, whichever is later | |||
== R/b == | |||
Short name for retrigger/backfill. | |||
== WebPageTest == | |||
Accurately measure, track, and report on key Firefox-performance metrics, over time. | |||
= Fenix = | |||
The Fenix team, for better or worse, hasn't been coordinating with desktop strongly to make all terms consistent. Some issues with trying to do so: | |||
# The fenix team is unfamiliar with desktop terminology and we don't have working patterns across desktop and mobile performance | |||
# We're actively learning more and more about measuring performance on fenix so definitions may adapt as we learn more | |||
See [[Performance/Fenix/Glossary]] for Fenix-specific terminology. |
edits