You may have noticed something called "mediawiki-fresnel" leaving messages
on Gerrit patches for MediaWiki in the past few days, and wondering what
it's all about. Allow me to introduce Fresnel!
Fresnel is an automation tool for measuring and comparing client-side
performance from web pages. Fresnel was developed over the past two
quarters and is now ready for action. [1] [2] [3]
To learn more about how to use it, what it offers, and how it works, check
out:
https://wikitech.wikimedia.org/wiki/Performance/Fresnel
Some feature highlights:
- ⏱ *Metrics* from Navigation Timing, Paint Timing, and Resource Timing
APIs.
- 📊 DevTools *Timeline* from CI recording can be viewed locally in
Chrome.
- 🖼 Recordings take a *screenshot* available in build artefacts.
- 🔥 Scenarios perform a *warmup* and multiple runs for more stable
metrics.
--
Timo Tijhof
[1] Launch task:
https://phabricator.wikimedia.org/T133646
[2] Phabricator project:
https://phabricator.wikimedia.org/tag/fresnel/
[3] Task list:
https://phabricator.wikimedia.org/maniphest/query/9w6EAEPPLQ72/#R