Performance API
The randomizedTriggerRate read-only property of the PerformanceTimingConfidence interface indicates how often noise is applied when exposing the PerformanceTimingConfidence.value.
Noise is added to the data to improve privacy (so that each data item is less easily identifiable). When noise is added, a low or high confidence value is returned with equal probability, rather than the true value, to obfuscate the results.
Value
A number between 0 to 1, inclusive, which represents a percentage value. A value of 0 is equivalent to 0%, which means that noise is never added, while 1 is equivalent to 100%, meaning that noise is always added.
Examples
See the main PerformanceTimingConfidence page for an example.
Specifications
Browser compatibility
See also
- PerformanceTimingConfidence
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
