Inspired by Avi’s recent work on the Talos tscoll test, we had an extended discussion about things to address in Talos tests. I took a picture of the whiteboard for posterity:
Concerns driving our discussion:
- Lack of confidence in Talos. Whether through one too many dev.tree-management emails or inconsistent results on developer machines vs. Try, people don’t have confidence in Talos providing consistent, understandable results.
- Wrong pushes identified as the cause of performance regressions. We’ve covered this topic before. Some people had a hard time believing this happens. It shouldn’t, and we’d like to fix it.
Some ways to address those concerns:
- Cold cases are just as important as warm cases. On some tests, we might discount the numbers from the first few runs because they aren’t as smooth as the numbers from subsequent runs; we do this for our pageloader tests, for instance. The differences come from things being initialized lazily, caches of various kinds filling up, and so forth. But those “cold” cases are just as important as “warm” cases: In scenarios where the user restarts the web browser repeatedly throughout the day or memory pressure causes the browser to be killed on mobile devices, necessitating restarts when switching to it, the cold cases are the only ones that matter. We shouldn’t be discounting those numbers. Maybe the first N runs should constitute an entirely separate test: Tp5cold or similar. Then we can compare numbers across cold tests, which should provide more insight than comparing cold vs. warm tests.
- Criteria for performance tests. We have extensive documentation on the tests themselves. The documentation on the what that’s being measured, the how the test goes about fulfilling that goal, and the why one should believe that goal is actually achieved is in short supply. As shown above, tscroll doesn’t measure the right things. We don’t know if tscroll is an isolated incident or symptomatic of a larger problem. We’d like to find out.
- In-tree performance tests. Whether recording frames during an animation and comparing them to some known quantity, measuring overdraws on the UI, or verifying telemetry numbers collected during a test, this would help alleviate difficulties with running the tests. Presumably, it would also make adding new, focused tests easier. And the tools for comparing performance tests would also exist in the tree so that comparing test results would be a snap.
Better real-world testing
- . Tp5 was held up as a reasonable performance test. Tp5 iterates over “the top 100 pages of the internet”, loading each one 25 times and measuring page load times before moving on to the next one. Hurrah for
- rather than
- . But is this necessarily the best way to conduct a test with real-world data? Doesn’t sound very reflective of real-world usage. What about loading 10 pages simultaneously, as one might do clicking through morning news links? Why load each page 25 times? Why not hold some pages open while browsing to other ones (though admittedly without network access this may not matter very much)? Tp5 is always run on a clean profile; clean profiles are not indicative of real-world performance (similarly for disk caches). And so on.
Any one of these things is a decent-sized project on its own. Avi and I are tackling the criteria for performance tests bit first by reviewing all the existing tests, trying to figure out what they’re measuring, and comparing that with what they purport to measure.
Ad industry threatens Firefox users with more ads if Mozilla moves on tracking ...
The online ad industry has attacked Mozilla over its decision to block third-party cookies in a future release of Firefox, calling the move "dangerous and highly disturbing," and claiming that it will result in more ads shown to users. The fierce ...
OPA: Firefox Cookie-Blocking Won't 'Spell Disaster'MediaPost Communications
The IAB's Cookie Stance Riles PublishersDigiday
Ad firms urge Firefox to rethink cookie banITWorld Canada
alle 6 nieuwsartikelen »
Yesterday makes it a full year since Creative Commons and Mozilla contributor Bassel Khartibil was imprisoned by the Syrian regime. Last July a public campaign was launched, and Mozilla participated .
This public campaign to #freebassel may have played a significant role in getting Bassel moved from a military intelligence to a civilian prison with visitation rights.
We continue to urge support for the #freebassel campaign by visiting the website, tweeting about Bassel’s case (#freebassel), or attending an event in his honor.