/
histograms.xml
3874 lines (3326 loc) · 152 KB
/
histograms.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!--
Copyright 2020 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<!--
This file is used to generate a comprehensive list of Blink histograms
along with a detailed description for each histogram.
For best practices on writing histogram descriptions, see
https://chromium.googlesource.com/chromium/src.git/+/HEAD/tools/metrics/histograms/README.md
Please follow the instructions in the OWNERS file in this directory to find a
reviewer. If no OWNERS file exists, please consider signing up at
go/reviewing-metrics (Googlers only), as all subdirectories are expected to
have an OWNERS file. As a last resort you can send the CL to
chromium-metrics-reviews@google.com.
-->
<histogram-configuration>
<histograms>
<variants name="BlinkIncrementalDecodeImageTypes">
<variant name=".Jpeg"
summary="Byte size of JPEG images that fall into this category."/>
<variant name=".WebP"
summary="Byte size of WebP images that fall into this category."/>
</variants>
<variants name="BlinkVisibleLoadTimeSuffixes">
<variant name=".2G" summary="2G effective connection type"/>
<variant name=".3G" summary="3G effective connection type"/>
<variant name=".4G" summary="4G effective connection type"/>
<variant name=".Offline" summary="Offline effective connection type"/>
<variant name=".Slow2G" summary="Slow-2G effective connection type"/>
<variant name=".Unknown" summary="Unknown effective connection type"/>
</variants>
<variants name="ResourceCacheLifecycleState">
<variant name="Frozen"/>
<variant name="Paused"/>
<variant name="Running"/>
<variant name="Unknown"/>
</variants>
<variants name="ResourceType">
<variant name="Audio" summary="Audio"/>
<variant name="CSSStyleSheet" summary="CSS Style Sheet"/>
<variant name="Dictionary" summary="Dictionary"/>
<variant name="Font" summary="Font"/>
<variant name="Image" summary="Image"/>
<variant name="LinkPrefetch" summary="Link Prefetch"/>
<variant name="Manifest" summary="Manifest"/>
<variant name="Mock" summary="Mock"/>
<variant name="Raw" summary="Raw"/>
<variant name="Script" summary="Script"/>
<variant name="SpeculationRules" summary="Speculation Rules"/>
<variant name="SVGDocument" summary="SVG Document"/>
<variant name="TextTrack" summary="Text Track"/>
<variant name="Video" summary="Video"/>
<variant name="XSLStyleSheet" summary="XSL Style Sheet"/>
</variants>
<histogram name="Blink.Accessibility.NumTreeUpdatesQueuedBeforeLayout"
units="updates" expires_after="2023-03-05">
<owner>aleventhal@chromium.org</owner>
<owner>chrome-a11y-core@chromium.org</owner>
<summary>
Records how many tree updates were queued at the time updates are being
processed after layout. If we are trying to process too many updates at
once, we should investigate how we might be able to merge similar updates
without losing important information.
</summary>
</histogram>
<histogram base="true" name="Blink.Accessibility.UpdateTime"
units="microseconds" expires_after="2023-10-08">
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimePreFCPSuffixes" -->
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimePostFCPSuffixes" -->
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimeAggregatedSuffixes" -->
<owner>ikilpatrick@chromium.org</owner>
<owner>layout-dev@chromium.org</owner>
<summary>
Time spent updating accessibility in the Blink document lifecycle.
Note: PreFCP metrics will be recorded even if FCP is not reached, whereas
AggregatedPreFCP metrics are only recorded if FCP is reached.
Note: Not recorded on ~5% of Windows machines with low-resolution clocks.
Note: The histograms with PreFCP/PostFCP/AggregatedPreFCP suffixes before
105.0.5175.0 were impacted by https://crbug.com/1330675. Be careful when
aggregating or comparing these histograms across the version.
</summary>
</histogram>
<histogram base="true"
name="Blink.AnchorElementMetricsIntersectionObserver.UpdateTime"
units="microseconds" expires_after="2023-12-11">
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimePreFCPSuffixes" -->
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimePostFCPSuffixes" -->
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimeAggregatedSuffixes" -->
<owner>pdr@chromium.org</owner>
<owner>paint-dev@chromium.org</owner>
<summary>
Time spent computing IntersectionObserver observations in the Blink document
lifecycle where the observation is for gathering information about anchor
elements within the visible viewport. Recorded when an intersection
observation attributed to anchor element metrics is updated.
Note: PreFCP metrics will be recorded even if FCP is not reached, whereas
AggregatedPreFCP metrics are only recorded if FCP is reached.
Note: Not recorded on ~5% of Windows machines with low-resolution clocks.
Note: The histograms with PreFCP/PostFCP/AggregatedPreFCP suffixes before
105.0.5175.0 were impacted by https://crbug.com/1330675. Be careful when
aggregating or comparing these histograms across the version.
</summary>
</histogram>
<histogram base="true" name="Blink.Animate.UpdateTime" units="microseconds"
expires_after="2023-11-12">
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimePreFCPSuffixes" -->
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimePostFCPSuffixes" -->
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimeAggregatedSuffixes" -->
<owner>pdr@chromium.org</owner>
<owner>paint-dev@chromium.org</owner>
<summary>
Time spent processing main frame animations during a main frame update.
Note: PreFCP metrics will be recorded even if FCP is not reached, whereas
AggregatedPreFCP metrics are only recorded if FCP is reached.
Note: Not recorded on ~5% of Windows machines with low-resolution clocks.
Note that the histograms with PreFCP/PostFCP/AggregatedPreFCP suffixes
before 105.0.5175.0 were impacted by https://crbug.com/1330675. Be careful
when aggregating or comparing these histograms across the version.
</summary>
</histogram>
<histogram name="Blink.Animation.CompositedAnimationFailureReason"
enum="CompositorAnimationsFailureReason" expires_after="2023-10-01">
<owner>smcgruer@chromium.org</owner>
<owner>animations-dev@chromium.org</owner>
<summary>
Reasons an Animation is not suitable for running on the compositor thread.
Note that a given Animation may have more than one reason, so this histogram
cannot be used to determine the overall rate of 'composited' vs
'noncomposited' animations.
</summary>
</histogram>
<histogram name="Blink.AutomaticLazyFrameLoad.Reason"
enum="AutomaticLazyFrameLoadReason" expires_after="2023-06-25">
<owner>sisidovski@chromium.org</owner>
<owner>chikamune@chromium.org</owner>
<owner>kouhei@chromium.org</owner>
<summary>
Records if the frame is eligible for automatic lazy-load mechanisms. This is
recorded when each frame having a url in the page is created.
</summary>
</histogram>
<histogram name="Blink.AutomaticLazyLoadFrame"
enum="AutomaticLazyLoadFrameState" expires_after="2023-08-27">
<owner>sisidovski@google.com</owner>
<owner>kouhei@chromium.org</owner>
<summary>
Records if the automatic lazy-load for selected performance problematic
iframes is applied or not. This is recorded when each frame having a url in
the page is created. See HTMLFrameOwnerElement::LazyLoadIfPossible() for
more details.
Note: There are two groups that lazy-load isn't applied. One group is simply
the feature itself is disabled, another groupd is that feature is enabled,
but there are no targeted frames on the page.
</summary>
</histogram>
<histogram name="Blink.Canvas.2DLayerBridge.Compression.DecompressionTime"
units="ms" expires_after="2023-10-08">
<owner>lizeb@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>
When a compressed hibernated 2D canvas snapshot is decompressed, duration in
ms. Reported each time a canvas snapshot is decompressed.
</summary>
</histogram>
<histogram name="Blink.Canvas.2DLayerBridge.Compression.Ratio" units="%"
expires_after="2023-10-08">
<owner>lizeb@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>
When a hibernated 2D canvas snapshot is compressed, the compression ratio
achieved. Reported each time a canvas snapshot is compressed.
</summary>
</histogram>
<histogram name="Blink.Canvas.2DLayerBridge.Compression.SnapshotSizeKb"
units="KB" expires_after="2023-10-08">
<owner>lizeb@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>
When a hibernated 2D canvas snapshot is compressed, the size before
compression. Reported each time a canvas snapshot is compressed.
</summary>
</histogram>
<histogram name="Blink.Canvas.2DLayerBridge.WillReadFrequently"
enum="BooleanWillReadFrequently" expires_after="2024-04-01">
<owner>aaronhk@chromium.org</owner>
<owner>junov@chromium.org</owner>
<summary>
Records the state of the willReadFrequently flag upon creation of a Canvas2D
layer bridge, as this is the moment when it determines whether the canvas
will be accelerated.
</summary>
</histogram>
<histogram name="Blink.Canvas.2DPrintingAsVector" enum="BooleanSuccess"
expires_after="2024-04-01">
<owner>fserb@chromium.org</owner>
<owner>juanmihd@chromium.org</owner>
<summary>
Records if a Canvas is being printed as a vector or as an image.
</summary>
</histogram>
<histogram name="Blink.Canvas.CanvasColorCache.Effectiveness" units="%"
expires_after="2024-04-01">
<owner>sky@chromium.org</owner>
<owner>junov@chromium.org</owner>
<summary>
Records the effectiveness of the canvas color cache. The value is a
percentage of requests for a color where the color was in the cache. For
example, a value of 25% means 1 out of every 4 requests for a color was
available. As this code may be called extensively, the value is logged on
every 1000th request to the cache. This means the last 0-999 values are not
recorded, and similarly, if the cache is accessed less than 1000 times
nothing is logged.
</summary>
</histogram>
<histogram name="Blink.Canvas.ContentChangeMode"
enum="BooleanContentChangeMode" expires_after="2024-04-01">
<owner>aaronhk@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>
Records whether the contents in the canvas buffer needed to be preserved via
a copy when replacing the target buffer for drawing a new frame. This metric
is recorded each time the target buffer needs to be replaced. It's recorded
once per frame.
</summary>
</histogram>
<histogram name="Blink.Canvas.CreateImageBitmapSource"
enum="CanvasCreateImageBitmapSource" expires_after="2024-04-01">
<owner>fserb@chromium.org</owner>
<owner>aaronhk@chromium.org</owner>
<summary>
The source from which an ImageBitmap is created by a createImageBitmap call.
</summary>
</histogram>
<histogram name="Blink.Canvas.GetImageData.WillReadFrequently"
enum="BooleanWillReadFrequently" expires_after="2024-04-01">
<owner>aaronhk@chromium.org</owner>
<owner>junov@chromium.org</owner>
<summary>
Records the state of the willReadFrequently flag during Canvas2D readback.
</summary>
</histogram>
<histogram name="Blink.Canvas.GPUFallbackToCPU"
enum="CanvasGPUFallbackToCPUScenario" expires_after="2024-04-01">
<owner>aaronhk@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>Logs the occurrences of canvas fallback from GPU to CPU.</summary>
</histogram>
<histogram name="Blink.Canvas.HasRendered" enum="Boolean"
expires_after="2024-04-01">
<owner>aaronhk@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>
Records if the canvas has been rendered at least once. Recorded on disposal.
</summary>
</histogram>
<histogram name="Blink.Canvas.HibernationEvents" enum="CanvasHibernationEvent"
expires_after="2024-04-01">
<owner>aaronhk@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>
Records the occurrence of events related to 2D canvas GPU resource
hibernation.
</summary>
</histogram>
<histogram name="Blink.Canvas.MaximumInflightResources"
units="canvas resources" expires_after="2024-04-01">
<owner>aaronhk@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>
Reports the maximum number or canvas resources used at any one time by a
canvas resource provider. Logged in the destructor of
CanvasResourceProvider.
</summary>
</histogram>
<histogram name="Blink.Canvas.MaximumStateStackDepth" units="stack depth"
expires_after="2024-04-01">
<owner>junov@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>
Reports the maximum depth of the state stack over the lifetime of a 2d
rendering context. Metric is recorded once per instance of
CanvasRenderingContext2D, OffscreenRenderingContext2D, and
PaintRenderingContext2D; at context destruction time.
</summary>
</histogram>
<histogram name="Blink.Canvas.NumCanvasesPerPage" units="canvases"
expires_after="2024-04-01">
<owner>aaronhk@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>
When a Document is shutdown, reports the number of canvases on that page.
</summary>
</histogram>
<histogram name="Blink.Canvas.OverdrawOp" enum="CanvasOverdrawOp"
expires_after="2024-04-01">
<owner>junov@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>
Counts 2d canvas draw operations that trigger the overdraw optimization.
</summary>
</histogram>
<histogram name="Blink.Canvas.RasterDuration{BlinkCanvasRasterDurationType}"
units="microseconds" expires_after="2024-04-01">
<owner>aaronhk@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>
Records the CPU, GPU and combined raster time for a random sampling of
canvas frames for accelerated and deferred canvases. Records wall time for a
random sampling of unaccelerated canvases.
Warning: This metric may include reports from clients with low-resolution
clocks (i.e. on Windows, ref. |TimeTicks::IsHighResolution()|). Such reports
will cause this metric to have an abnormal distribution. When considering
revising this histogram, see UMA_HISTOGRAM_CUSTOM_MICROSECONDS_TIMES for the
solution. {BlinkCanvasRasterDurationType}
</summary>
<token key="BlinkCanvasRasterDurationType">
<variant name=""/>
<variant name=".Accelerated.CPU" summary=""/>
<variant name=".Accelerated.GPU" summary=""/>
<variant name=".Accelerated.Total" summary=""/>
<variant name=".Unaccelerated" summary=""/>
</token>
</histogram>
<histogram
name="Blink.Canvas.RequestedImageMimeTypes{CanvasRequestedImageMimeTypeFunctions}"
enum="RequestedImageMimeType" expires_after="2024-04-01">
<owner>fserb@chromium.org</owner>
<owner>aaronhk@chromium.org</owner>
<summary>
Records the occurence of image file formats passed into toDataURL and toBlob
functions in canvas. {CanvasRequestedImageMimeTypeFunctions}
</summary>
<token key="CanvasRequestedImageMimeTypeFunctions">
<variant name="_convertToBlobPromise"
summary="Image formats passed to OffscreenCanvas.convertToBlob
(promise)"/>
<variant name="_toBlobCallback"
summary="Image formats passed to canvas.toBlob (callback)"/>
<variant name="_toDataURL"
summary="Image formats passed to canvas.toDataURL"/>
</token>
</histogram>
<histogram name="Blink.Canvas.ResourceProviderIsAccelerated"
enum="BooleanHardwareAccelerated" expires_after="2024-04-01">
<owner>aaronhk@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>Logs if the canvas resource provider is accelerated or not.</summary>
</histogram>
<histogram name="Blink.Canvas.ResourceProviderType"
enum="CanvasResourceProviderType" expires_after="2024-04-01">
<owner>aaronhk@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>Records the type of resource provider used for a canvas.</summary>
</histogram>
<histogram name="Blink.Canvas.ResourceProviderUsage"
enum="CanvasResourceProviderUsage" expires_after="2024-04-01">
<owner>aaronhk@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>
Records the requested resource usage for a canvas resource provider.
</summary>
</histogram>
<histogram name="Blink.Canvas.SqrtNumberOfPixels" units="sqrt(pixels)"
expires_after="2024-04-01">
<owner>aaronhk@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>
Stores the square root of the number of pixels in a new or resized offscreen
canvas. Emitted from CanvasRenderingContextHost::RecordCanvasSizeToUMA.
</summary>
</histogram>
<histogram base="true" name="Blink.Canvas.ToBlob.IdleTaskStatus"
enum="IdleTaskStatus" expires_after="2024-04-01">
<owner>fserb@chromium.org</owner>
<owner>aaronhk@chromium.org</owner>
<summary>
Records the status of the idle task when finishing a toBlob call.
In addition, metric values from OffscreenCanvas.convertToBlob API call are
also gathered into this histogram, because the logic flow is exactly the
same as canvas.toBlob. It's worth to note that the values can come from idle
tasks on either main or worker thread.
</summary>
</histogram>
<histogram name="Blink.Canvas.ToBlob.InitialEncodingDelay.{Type}"
units="microseconds" expires_after="2024-04-01">
<owner>aaronhk@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>
A new version of "Blink.Canvas.ToBlob.InitiateEncodingDelay"
(which will be allowed to expire) which allows for times >10ms.
This metric measures the time spent from initiating image encoding (jpeg or
png) on idle task to the actual execution time of initiation, as part of a
canvas.toBlob API call.
This metric is useful in helping us adjust the IdleTaskStartTimeoutDelay in
canvas.toBlob. When the initialization idle task is delayed for longer than
IdleTaskStartTimeoutDelay, the browser will switch to a non-idle task to
force initialization and encoding to occur on the main thread.
In addition, metric values from OffscreenCanvas.convertToBlob API call are
also gathered into this histogram, because the logic flow is exactly the
same as canvas.toBlob. It's worth to note that the values can come from idle
tasks on either main or worker thread.
Note: This metric drops reports on clients with low-resolution clocks, which
means these reports will be biased against a portion of the population on
Windows. See Windows.HasHighResolutionTimeTicks for the affected sample.
</summary>
<token key="Type">
<variant name="JPEG"/>
<variant name="PNG"/>
</token>
</histogram>
<histogram name="Blink.Canvas.ToBlob.ScaledDuration{BlinkCanvasToBlobType}"
units="microseconds/sqrt(pixels)" expires_after="2024-04-01">
<owner>fserb@chromium.org</owner>
<owner>aaronhk@chromium.org</owner>
<summary>
Time in microseconds spent on the 2D canvas toBlob API call, divided by the
square root of the total number of pixels of the canvas.
In addition, metric values from OffscreenCanvas.convertToBlob API call are
also gathered into this histogram, because the logic flow is exactly the
same as canvas.toBlob. It's worth to note that the values can come from idle
tasks on either main or worker thread.
Note: This metric drops reports on clients with low-resolution clocks, which
means these reports will be biased against a portion of the population on
Windows. See Windows.HasHighResolutionTimeTicks for the affected sample.
{BlinkCanvasToBlobType}
</summary>
<token key="BlinkCanvasToBlobType">
<variant name=".JPEG" summary=""/>
<variant name=".PNG" summary=""/>
<variant name=".WEBP" summary=""/>
</token>
</histogram>
<histogram name="Blink.Canvas.ToBlob.TotalEncodingDelay.{Type}"
units="microseconds" expires_after="2024-04-01">
<owner>aaronhk@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<summary>
A new version of "Blink.Canvas.ToBlob.InitiateEncodingDelay"
(which will be allowed to expire) which allows for times >10ms.
This metric measures the total time spent on completing encoding all the
rows of an image (jpeg or png), as part of a canvas.toBlob API call.
Encoding occurs during one or more idle periods on the main thread and the
waiting time of the next idle period is included in the measurement. If the
code has swtiched to force encoding path, we will not measure the delay in
this metric.
This metric is useful in helping us adjust the IdleTaskCompleteTimeoutDelay
in canvas.toBlob. When the encoding idle task is delayed for longer than
IdleTaskCompleteTimeoutDelay, the browser will switch to a non-idle task to
force encoding to happen on the main thread.
In addition, metric values from OffscreenCanvas.convertToBlob API call are
also gathered into this histogram, because the logic flow is exactly the
same as canvas.toBlob. It's worth to note that the values can come from idle
tasks on either main or worker thread.
Note: This metric drops reports on clients with low-resolution clocks, which
means these reports will be biased against a portion of the population on
Windows. See Windows.HasHighResolutionTimeTicks for the affected sample.
</summary>
<token key="Type">
<variant name="JPEG"/>
<variant name="PNG"/>
</token>
</histogram>
<histogram
name="Blink.Canvas.ToDataURLScaledDuration{BlinkCanvasToDataURLMimeType}"
units="microseconds/sqrt(pixels)" expires_after="2024-04-01">
<owner>fserb@chromium.org</owner>
<owner>aaronhk@chromium.org</owner>
<summary>
Time spent on 2D canvas toDataURL API call divided by the square root of the
total number of pixels of the image. Smaller is faster.
The idea behind this unit is that the bigger the area of a canvas the longer
the operation ToDataURL takes, so we want a way to measure the overall
performance regardless of the size of the canvas.
Warning: This metric may include reports from clients with low-resolution
clocks (i.e. on Windows, ref. |TimeTicks::IsHighResolution()|). Such reports
will cause this metric to have an abnormal distribution. When considering
revising this histogram, see UMA_HISTOGRAM_CUSTOM_MICROSECONDS_TIMES for the
solution. {BlinkCanvasToDataURLMimeType}
</summary>
<token key="BlinkCanvasToDataURLMimeType">
<variant name=".JPEG" summary=""/>
<variant name=".PNG" summary=""/>
<variant name=".WEBP" summary=""/>
</token>
</histogram>
<histogram name="Blink.Canvas.VectorPrintFallbackReason"
enum="CanvasResourceProviderFlushReason" expires_after="2024-04-01">
<owner>junov@chromium.org</owner>
<owner>fserb@chromium.org</owner>
<owner>aaronhk@chromium.org</owner>
<summary>
The reason why printing a 2D canvas failed to use vector printing.
</summary>
</histogram>
<histogram name="Blink.Canvas.WebGPUMaxRecycledResourcesCount"
units="Recyclable resources" expires_after="2023-11-12">
<owner>magchen@chromium.org</owner>
<owner>enga@chromium.org</owner>
<owner>graphics-dev@chromium.org</owner>
<summary>
The maximum number of total unused recyclable WebGPU resources since last
clean-up. Logged in the WebGPU recyclable resouce clean-up timer function.
</summary>
</histogram>
<histogram name="Blink.Canvas.WebGPUMaxRecycledResourcesInKB" units="KB"
expires_after="2023-11-12">
<owner>magchen@chromium.org</owner>
<owner>enga@chromium.org</owner>
<owner>graphics-dev@chromium.org</owner>
<summary>
The maximum size of total unused recyclable WebGPU resources in KB since
last clean-up. Logged in the WebGPU recyclable resouce clean-up timer
function.
</summary>
</histogram>
<histogram name="Blink.Canvas.WebGPUStaleResourceCount"
units="recyclable resources" expires_after="2023-08-27">
<owner>magchen@chromium.org</owner>
<owner>enga@chromium.org</owner>
<owner>graphics-dev@chromium.org</owner>
<summary>
The number of stale recyclable WebGPU canvas resources released and logged
in the WebGPU recyclable resouce clean-up timer function.
</summary>
</histogram>
<histogram name="Blink.Clipboard.HasTransientUserActivation" enum="Boolean"
expires_after="2023-08-01">
<owner>asully@chromium.org</owner>
<owner>snianu@microsoft.com</owner>
<owner>chrome-owp-storage@google.com</owner>
<summary>
Records if a transient user activation is present or not when the web
authors execute the async clipboard read/write call.
</summary>
</histogram>
<histogram name="Blink.ColorGamut.Destination" enum="Gamut" expires_after="M85">
<owner>brianosman@chromium.org</owner>
<owner>mcasas@google.com</owner>
<owner>ccameron@chromium.org</owner>
<summary>Gamut properties of destination color space.</summary>
</histogram>
<histogram name="Blink.ColorSpace.Destination" enum="Gamma" expires_after="M85">
<owner>brianosman@chromium.org</owner>
<owner>mcasas@google.com</owner>
<owner>ccameron@chromium.org</owner>
<summary>Gamma properties of destination color space.</summary>
</histogram>
<histogram name="Blink.ColorSpace.Destination.NonlinearFitErrorCombined"
units="units" expires_after="M85">
<owner>brianosman@chromium.org</owner>
<owner>mcasas@google.com</owner>
<owner>ccameron@chromium.org</owner>
<summary>
The L-infinity error (in 8-bit values) of the numerical approximation of
table-based ICC profile transfer functions for all channels combined, when
the nonlinear approximation converged.
</summary>
</histogram>
<histogram base="true" name="Blink.CompositingCommit.UpdateTime"
units="microseconds" expires_after="2023-10-01">
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimePreFCPSuffixes" -->
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimePostFCPSuffixes" -->
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimeAggregatedSuffixes" -->
<owner>pdr@chromium.org</owner>
<owner>paint-dev@chromium.org</owner>
<summary>
Time spent updating and pushing layers at the end of the paint step in the
Blink document lifecycle. This is implemented by PaintArtifactCompositor.
Note: PreFCP metrics will be recorded even if FCP is not reached, whereas
AggregatedPreFCP metrics are only recorded if FCP is reached.
Note: Not recorded on ~5% of Windows machines with low-resolution clocks.
Note: The histograms with PreFCP/PostFCP/AggregatedPreFCP suffixes before
105.0.5175.0 were impacted by https://crbug.com/1330675. Be careful when
aggregating or comparing these histograms across the version.
</summary>
</histogram>
<histogram base="true" name="Blink.CompositingInputs.UpdateTime"
units="microseconds" expires_after="2023-10-08">
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimePreFCPSuffixes" -->
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimePostFCPSuffixes" -->
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimeAggregatedSuffixes" -->
<owner>pdr@chromium.org</owner>
<owner>paint-dev@chromium.org</owner>
<summary>
Time spent updating compositing inputs in the Blink document lifecycle.
Note: PreFCP metrics will be recorded even if FCP is not reached, whereas
AggregatedPreFCP metrics are only recorded if FCP is reached.
Note: Not recorded on ~5% of Windows machines with low-resolution clocks.
Note: The histograms with PreFCP/PostFCP/AggregatedPreFCP suffixes before
105.0.5175.0 were impacted by https://crbug.com/1330675. Be careful when
aggregating or comparing these histograms across the version.
</summary>
</histogram>
<histogram name="Blink.Compression.CompressionStream.Format"
enum="CompressionStreamsFormat" expires_after="2023-03-26">
<owner>ricea@chromium.org</owner>
<owner>yhirano@chromium.org</owner>
<summary>
Compression format passed to the constructor of the JavaScript API
"CompressionStream", which is used for lossless compression of
arbitrary binary data. Recorded once per call to the constructor. This
measures which compression formats are most commonly used in the wild.
</summary>
</histogram>
<histogram name="Blink.Compression.DecompressionStream.Format"
enum="CompressionStreamsFormat" expires_after="2023-03-26">
<owner>ricea@chromium.org</owner>
<owner>yhirano@chromium.org</owner>
<summary>
Compression format passed to the constructor of the JavaScript API
"DecompressionStream", which is used for lossless decompression of
arbitrary binary data. Recorded once per call to the constructor. This
measures which compression formats are most commonly used in the wild.
</summary>
</histogram>
<histogram base="true" name="Blink.ContentDocumentUpdate.UpdateTime"
units="microseconds" expires_after="2023-10-22">
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimePreFCPSuffixes" -->
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimePostFCPSuffixes" -->
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimeAggregatedSuffixes" -->
<owner>pdr@chromium.org</owner>
<owner>paint-dev@chromium.org</owner>
<summary>
Time spent preparing the document for a canvas draw, SVG image draw or
plugin during a main frame update. Includes time spent in style update and
layout.
Note: PreFCP metrics will be recorded even if FCP is not reached, whereas
AggregatedPreFCP metrics are only recorded if FCP is reached.
Note: Not recorded on ~5% of Windows machines with low-resolution clocks.
Note: The histograms with PreFCP/PostFCP/AggregatedPreFCP suffixes before
105.0.5175.0 were impacted by https://crbug.com/1330675. Be careful when
aggregating or comparing these histograms across the version.
</summary>
</histogram>
<histogram name="Blink.ContextMenu.ImageSelection.Depth" units="count"
expires_after="2023-08-31">
<owner>flackr@chromium.org</owner>
<owner>blink-interactions-team@google.com</owner>
<summary>
The depth of the discovered image node in the hit test list when performing
a penetrating image selection search.
Only recorded when a user long presses or right clicks a document (and an
image is found).
</summary>
</histogram>
<histogram name="Blink.ContextMenu.ImageSelection.ElapsedTime"
units="microseconds" expires_after="2023-08-31">
<owner>flackr@chromium.org</owner>
<owner>blink-interactions-team@google.com</owner>
<summary>
The amount of time it took to iterate through the dom looking for an image
node.
Only recorded when a user long presses or right clicks a document.
Note: This metric drops reports on clients with low-resolution clocks, which
means these reports will be biased against a portion of the population on
Windows. See Windows.HasHighResolutionTimeTicks for the affected sample.
</summary>
</histogram>
<histogram name="Blink.ContextMenu.ImageSelection.Outcome"
enum="ImageSelectionOutcome" expires_after="2023-11-12">
<owner>flackr@chromium.org</owner>
<owner>blink-interactions-team@google.com</owner>
<summary>
The outcome of an image selection search that may or may not trigger the
context menu.
Only recorded when a user long presses or right clicks a document (and an
image is found).
</summary>
</histogram>
<histogram name="Blink.ContextMenu.ImageSelection.RetrievalOutcome"
enum="ImageSelectionRetrievalOutcome" expires_after="2023-08-31">
<owner>flackr@chromium.org</owner>
<owner>blink-interactions-team@google.com</owner>
<summary>
The outcome of a follow up retrieval of an image node after a selection has
occurred, which occurs asynchronously and thus could be unsuccessful due to
changes that may occur between the initial hit test and the retrieval.
Only recorded when a user long presses or right clicks a document (and an
image is found).
</summary>
</histogram>
<histogram name="Blink.CSSPaintValue.PaintOffThread"
enum="BooleanCompositorCSSPaint" expires_after="2022-03-08">
<owner>xidachen@chromium.org</owner>
<owner>kevers@chromium.org</owner>
<summary>
Records if a CSS Paint is painted on the compositor thread or has fallen
back to the main thread.
</summary>
</histogram>
<histogram name="Blink.CSSStyleSheetResource.ParseTime" units="microseconds"
expires_after="2023-11-12">
<owner>gjc@chromium.org</owner>
<owner>loading-dev@chromium.org</owner>
<owner>blink-network-dev@chromium.org</owner>
<summary>
Time spent for parsing the stylesheet. Recorded when the stylesheet finishes
loading and does not have cached stylesheet contents.
Note: Not recorded on ~5% of Windows machines with low-resolution clocks.
</summary>
</histogram>
<histogram name="Blink.CSSStyleSheetResource.TokenizeTime" units="microseconds"
expires_after="2023-07-01">
<owner>gjc@chromium.org</owner>
<owner>loading-dev@chromium.org</owner>
<owner>blink-network-dev@chromium.org</owner>
<summary>
Time spent for tokenizing the stylesheet. Recorded when the response body of
the stylesheet is received.
Note: Not recorded on ~5% of Windows machines with low-resolution clocks.
</summary>
</histogram>
<histogram name="Blink.CullRect.UpdateTime" units="microseconds"
expires_after="2023-10-22">
<owner>pdr@chromium.org</owner>
<owner>wangxianzhu@chromium.org</owner>
<owner>paint-dev@chromium.org</owner>
<summary>
Time spent updating the cull rect in the Blink document lifecycle.
Note: Not recorded on ~5% of Windows machines with low-resolution clocks.
</summary>
</histogram>
<histogram name="Blink.DecodedImage.AvifDensity.KiBWeighted"
units="0.01 bits per pixel" expires_after="2022-10-01">
<owner>jyrki@google.com</owner>
<owner>compression-dev@google.com</owner>
<summary>
The compressed image size in KiB per image density measured in 0.01 bits per
pixel. This is logged once per image load after the whole image is loaded
and only for AVIFs with at least 100 pixels on the smallest dimension (width
or height). The reported count for a sample represents the image size
rounded to the nearest KiB.
</summary>
</histogram>
<histogram name="Blink.DecodedImage.JpegDensity.KiBWeighted"
units="0.01 bits per pixel" expires_after="2023-10-22">
<owner>jyrki@google.com</owner>
<owner>compression-dev@google.com</owner>
<summary>
The compressed image size in KiB per image density measured in 0.01 bits per
pixel. This is logged once per image load after the whole image is loaded
and only for JPEGs with at least 100 pixels on the smallest dimension (width
or height). The reported count for a sample represents the image size
rounded to the nearest KiB.
</summary>
</histogram>
<histogram name="Blink.DecodedImage.WebPDensity.KiBWeighted"
units="0.01 bits per pixel" expires_after="2022-10-01">
<owner>jyrki@google.com</owner>
<owner>compression-dev@google.com</owner>
<summary>
The compressed image size in KiB per image density measured in 0.01 bits per
pixel. This is logged once per image load after the whole image is loaded
and only for WebPs with at least 100 pixels on the smallest dimension (width
or height). The reported count for a sample represents the image size
rounded to the nearest KiB.
</summary>
</histogram>
<histogram name="Blink.DecodedImage.WebPFileFormat" enum="WebPFileFormat"
expires_after="2023-11-12">
<owner>mcasas@chromium.org</owner>
<owner>andrescj@chromium.org</owner>
<summary>
WebP file format parsed during Blink's header parsing phase (which should
happen only once per image).
</summary>
</histogram>
<histogram name="Blink.DecodedImageType" enum="DecodedImageType"
expires_after="2023-11-12">
<owner>urvang@chromium.org</owner>
<summary>
Image codec inferred during decode. The histogram is incremented when enough
of the image has been downloaded to infer its width and height. Animated
images are counted only once, regardless of how many frames there are.
</summary>
</histogram>
<histogram base="true" name="Blink.DisplayLockIntersectionObserver.UpdateTime"
units="microseconds" expires_after="2023-12-11">
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimePreFCPSuffixes" -->
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimePostFCPSuffixes" -->
<!-- Name completed by histogram_suffixes name="BlinkUpdateTimeAggregatedSuffixes" -->
<owner>pdr@chromium.org</owner>
<owner>paint-dev@chromium.org</owner>
<summary>
Time spent computing IntersectionObserver observations in the Blink document
lifecycle where the observation is for Display Locking. Recorded when an
intersection observation is made for the Display Locking reason.
Note: PreFCP metrics will be recorded even if FCP is not reached, whereas
AggregatedPreFCP metrics are only recorded if FCP is reached.
Note: Not recorded on ~5% of Windows machines with low-resolution clocks.
Note: The histograms with PreFCP/PostFCP/AggregatedPreFCP suffixes before
105.0.5175.0 were impacted by https://crbug.com/1330675. Be careful when
aggregating or comparing these histograms across the version.
</summary>
</histogram>
<histogram name="Blink.EffectiveZoom" units="%" expires_after="2023-11-23">
<owner>pdr@chromium.org</owner>
<owner>paint-dev@chromium.org</owner>
<summary>
The EffectiveZoom as reported by ComputedStyle in a Blink renderer. The
value is reported each time the effective zoom is set to a new value. The
maximum zoom reported is 400% to keep the histogram of reasonable size.
</summary>
</histogram>
<histogram name="Blink.Experimental.Cookies.CacheLookupResult2"
enum="CookieCacheLookupResult" expires_after="2023-11-12">
<owner>carlscab@google.com</owner>
<owner>woa-performance@google</owner>
<summary>
Whether a GetCookiesString request for a document returned the same result
as the previous one. This is an experiment to determine the usefulness of a
cookie cache in the Renderer.
A sample is recorded for every GetCookiesString request sent from the
Document owned CookieJar.
</summary>
</histogram>
<histogram name="Blink.FedCm.ApprovedClientsExistence" enum="Boolean"
expires_after="2023-12-14">
<owner>yigu@chromium.org</owner>
<owner>web-identity-eng@google.com</owner>
<summary>
Records whether an IDP returns an approved clients list in the response.
Records at most one sample per API call.
</summary>
</histogram>
<histogram name="Blink.FedCm.ApprovedClientsSize" units="clients"
expires_after="2023-09-17">
<owner>yigu@chromium.org</owner>
<owner>web-identity-eng@google.com</owner>
<summary>
Records the size of the approved clients list returned by IDP if applicable.
Records at most one sample per API call.
</summary>
</histogram>
<histogram name="Blink.FedCm.AutoReauthn.BlockedByContentSettings"
enum="Boolean" expires_after="2023-10-08">
<owner>npm@chromium.org</owner>
<owner>yigu@chromium.org</owner>
<owner>web-identity-eng@google.com</owner>
<summary>
Records whether the FedCM auto re-authn call is blocked because the auto
re-authn content settings permission is disabled. Records at most one sample
per FedCM API with auto re-authn enabled: some failures could occur before
this metric is recorded.
</summary>
</histogram>
<histogram name="Blink.FedCm.AutoReauthn.BlockedByEmbargo" enum="Boolean"
expires_after="2023-10-08">
<owner>npm@chromium.org</owner>
<owner>yigu@chromium.org</owner>
<owner>web-identity-eng@google.com</owner>
<summary>
Records whether the FedCM auto re-authn call is blocked because the auto
re-authn is under embargo, i.e. due to cooldown. Records at most one sample
per FedCM API with auto re-authn enabled: some failures could occur before
this metric is recorded.