gecko-dev/image
Andrew Osmond b13b2abe4f Bug 1472145 - Part 2. Add telemetry to track how frequently WebP images are used. r=tnikkel data-r=chutten
This patch adds three telemetry scalars to track how WebP is used. All
of these scalars are updated when we do the MIME type confirmation for
an imgRequest when the first data comes in. We know at this point we
decided to load the given content, so there should be minimal false
positives for data the browser loaded but never displayed.

The first two scalars are merely whether or not WebP was observed. One
is for probes, which are tiny WebP images suggested by the Google WebP
FAQ to probe for different aspects of WebP support (lossy, animated,
etc). We want to count this separately as actual WebP content that the
website wishes us to display. Probes will give a measure of how many
users visit websites that probe for WebP support, and content will give
a measure of how many websites don't care and just give us WebP images
regardless.

The third scalar is intended to give a relative measure of how many WebP
images we are being served relative to all other image types. We expect
the ratio to be small, but it would be good to confirm this from the
data.
2018-06-29 20:30:08 -04:00
..
build
decoders
encoders
test
AnimationFrameBuffer.cpp
AnimationFrameBuffer.h
AnimationParams.h
AnimationSurfaceProvider.cpp
AnimationSurfaceProvider.h
BMPHeaders.h
ClippedImage.cpp
ClippedImage.h
CopyOnWrite.h
DecodePool.cpp
DecodePool.h
DecodedSurfaceProvider.cpp
DecodedSurfaceProvider.h
Decoder.cpp
Decoder.h
DecoderFactory.cpp
DecoderFactory.h
DecoderFlags.h
Downscaler.cpp
Downscaler.h
DownscalingFilter.h
DynamicImage.cpp
DynamicImage.h
FrameAnimator.cpp
FrameAnimator.h
FrameTimeout.h
FrozenImage.cpp
FrozenImage.h
ICOFileHeaders.h
IDecodingTask.cpp
IDecodingTask.h
IProgressObserver.h
ISurfaceProvider.h
Image.cpp
Image.h
ImageCacheKey.cpp
ImageCacheKey.h
ImageFactory.cpp
ImageFactory.h
ImageLogging.h
ImageMetadata.h
ImageOps.cpp
ImageOps.h
ImageRegion.h
ImageWrapper.cpp
ImageWrapper.h
ImgDrawResult.h
LookupResult.h
MultipartImage.cpp
MultipartImage.h
Orientation.h
OrientedImage.cpp
OrientedImage.h
PlaybackType.h
ProgressTracker.cpp
ProgressTracker.h
RasterImage.cpp
RasterImage.h
SVGDocumentWrapper.cpp
SVGDocumentWrapper.h
SVGDrawingParameters.h
ScriptedNotificationObserver.cpp
ScriptedNotificationObserver.h
ShutdownTracker.cpp
ShutdownTracker.h
SourceBuffer.cpp
SourceBuffer.h
StreamingLexer.h
SurfaceCache.cpp
SurfaceCache.h
SurfaceCacheUtils.cpp
SurfaceCacheUtils.h
SurfaceFilters.h
SurfaceFlags.h
SurfacePipe.cpp
SurfacePipe.h
SurfacePipeFactory.h
VectorImage.cpp
VectorImage.h
imgFrame.cpp
imgFrame.h
imgICache.idl
imgIContainer.idl
imgIContainerDebug.idl
imgIEncoder.idl
imgILoader.idl
imgINotificationObserver.idl
imgIRequest.idl
imgIScriptedNotificationObserver.idl
imgITools.idl
imgLoader.cpp
imgLoader.h
imgRequest.cpp Bug 1472145 - Part 2. Add telemetry to track how frequently WebP images are used. r=tnikkel data-r=chutten 2018-06-29 20:30:08 -04:00
imgRequest.h
imgRequestProxy.cpp
imgRequestProxy.h
imgTools.cpp
imgTools.h
moz.build
nsIIconURI.idl