Firefox Tomorrow

web api instance property

PerformanceTimingConfidence: randomizedTriggerRate property

View on MDN ↗

Limited availability

The randomizedTriggerRate read-only property of the PerformanceTimingConfidence interface indicates how often noise is applied when exposing the 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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also