mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1773152 - Don't call SendNotifyFrameStats(stats) if no one will use the stats, r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D148568
This commit is contained in:
parent
abd6895dcb
commit
f44787b8da
@ -2492,7 +2492,8 @@ void WebRenderBridgeParent::FlushTransactionIdsForEpoch(
|
||||
|
||||
RecordPaintPhaseTelemetry(aStats);
|
||||
|
||||
if (contentFrameTime > 200) {
|
||||
if (StaticPrefs::gfx_logging_slow_frames_enabled_AtStartup() &&
|
||||
contentFrameTime > 200) {
|
||||
aOutputStats.AppendElement(FrameStats(
|
||||
transactionId.mId, aCompositeStartTime, aRenderStartTime, aEndTime,
|
||||
contentFrameTime,
|
||||
|
Loading…
Reference in New Issue
Block a user