зеркало из https://github.com/mozilla/gecko-dev.git
d8b0ded34b
Inspecting a node with many CSS variables makes the Rules view render slowly. A patch to improve performance is in development in D73062. This patch adds a new subtest, `custom.inspector.manycssvariables.selectnode`, to the existing custom Inspector DAMP test to measure the rendering time for a node with 300 CSS variables all of them used (600 declarations in total). It might seem extreme. In May 2020 youtube.com has 1,375 CSS variables applicable to the `<html>` element. They all get inherited by all CSS rules for most nodes on the page. This slows down the action of inspecting CSS for any node. The largest CSS rule from youtube's stylesheets has 287 declarations of CSS variables. In the age of automatically-generated stylesheets for design systems this scenario becomes more common. Differential Revision: https://phabricator.services.mozilla.com/D73289 |
||
---|---|---|
.. | ||
talos | ||
.eslintrc.js | ||
INSTALL.py | ||
MANIFEST.in | ||
README | ||
jetstream-benchmark.manifest | ||
mach_commands.py | ||
moz.build | ||
requirements.txt | ||
setup.py | ||
talos.json | ||
talos_from_code.py | ||
tp5n-pageset.manifest | ||
webextensions.manifest |
README
Talos is a python performance testing framework that is usable on Windows, Mac and Linux. 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. So, why Talos? Talos is the bronze automaton of Greek myth. Talos protected the island of Crete, throwing giant boulders at unwary seamen. He's also purported to have heated himself glowing hot and then embraced his enemies. Basically, he was awesome. For more information, see: https://wiki.mozilla.org/Buildbot/Talos