PerformanceTimingConfidence: randomizedTriggerRate property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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

Specification
Navigation Timing Level 2
# dom-performancetimingconfidence-randomizedtriggerrate

Browser compatibility

See also