Closed Bug 830429 Opened 11 years ago Closed 11 years ago

Reduce the threshold for slow main thread SQL to 50ms

Categories

(Toolkit :: Telemetry, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: ehsan.akhgari, Assigned: vladan)

Details

Attachments

(1 file)

      No description provided.
There are two caveats with this:

1) The Telemetry ping size will increase since we'll likely be reporting a lot of new SQL strings
2) We've got our hands full fixing the top sources of slow SQL already. On the other hand, this might uncover some easy wins
I also think 10ms is too low for now, it's going to report most queries.
The current threshold is 100ms, I think we could reduce it to 50 as a first step.
Flags: needinfo?(ehsan)
OK, let's do 50ms then.  The reason I'm interested in this is to see how many easy wins we can have.
Flags: needinfo?(ehsan)
Trivial patch. Nominating Nathan for review, since Taras is on holiday for MLK day
Attachment #704668 - Flags: review?(nfroyd)
Comment on attachment 704668 [details] [diff] [review]
Different threshols for main and helper threads

Yeah, OK.
Attachment #704668 - Flags: review?(nfroyd) → review+
Summary: Reduce the threshold for slow main thread SQL to 10ms → Reduce the threshold for slow main thread SQL to 50ms
https://hg.mozilla.org/mozilla-central/rev/584060b0efaf
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: