Last modified: 2014-09-22 19:08:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72790, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70790 - Performance/architecture review of ImageMetrics
Performance/architecture review of ImageMetrics
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Extension setup (Other open bugs)
wmf-deployment
All All
: Unprioritized normal (vote)
: ---
Assigned To: Ori Livneh
:
Depends on:
Blocks: 70402
  Show dependency treegraph
 
Reported: 2014-09-12 21:41 UTC by Tisza Gergő
Modified: 2014-09-22 19:08 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tisza Gergő 2014-09-12 21:41:10 UTC
[[mw:Extension:ImageMetrics]] will be used to collect additional data about image performance and (eventually - not implemented yet) about how users interact with media.

The extension has a similar architecture to NavigationTiming, except it lazy-loads the main script. Currently it consists of a ~300 byte top script which sets up pre-domready event handling, a ¬300-byte bottom script which deals with request sampling, and a ~2K main script which is lazy-loaded when the request is sampled and uses EventLogging to log image load performance data. Currently the scripts are only loaded on file pages, but I intend to change that as more functionality is added.
Comment 1 Ori Livneh 2014-09-22 19:08:29 UTC
Reviewed. Looks good.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links