Closed Bug 1645620 Opened 4 years ago Closed 4 years ago

C-C TB Performance regression? Please do not use mouseenter/leave events in chrome. They are slower than mouseover/out!: '!nsContentUtils::IsChromeDoc(d)', file .../mozilla/dom/events/EventListenerManager.cpp, line 337

Categories

(Thunderbird :: Testing Infrastructure, defect)

defect

Tracking

(thunderbird_esr78 wontfix)

RESOLVED FIXED
81 Branch
Tracking Status
thunderbird_esr78 --- wontfix

People

(Reporter: ishikawa, Assigned: darktrojan)

Details

Attachments

(2 files)

I suddenly began seeing the following warnings in my local mochitest log (C-C TB FULL DEBUG version.)

32: Main Thread] WARNING: Please do not use mouseenter/leave events in chrome. They are slower than mouseover/out!: '!nsContentUtils::IsChromeDoc(d)', file /NEW-SSD/NREF-COMM-CENTRAL/mozilla/dom/events/EventListenerManager.cpp, line 337

32 at the beginning of the line is the number of occurrences.

I did not see the perf regression warning in a log of mochitest run on May 30.
But I found them in a log file from June 6th.
So this regression is rather new.

I also see the warnings on tryserver jobs.:
For example, benc's job:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=b36d20f09a11e8a3af3076d85ba00c5da913613b
See
https://firefoxci.taskcluster-artifacts.net/bFrLNNFEQy26gjrJxSFYjg/0/public/logs/live_backing.log

Someone who is familar with Calendar code needs to check them since the perf regression warning messages are all from calendar tests.
(I attach a listing that shows the name of the test files created by the following command:

egrep "(TEST_START|TEST_END|Entering test|Leaving test|do not use mouseenter/leave)" /FF-NEW/log1236-older-mochitest.txt

Since the perf warning started appear very recently, I think the change that introduced it is relatively easily to catch, I suppose.

Related bugzilla entries that may offer hints about how to fix the CSS/HTML page used for Calendar.:
Bug 1138787 Lots of "Please do not use mouseenter/leave events in chrome. They are slower than mouseover/out!" warnings during mochitest-dt runs
Bug 854075 WARNING: Please do not use mouseenter/leave events in chrome. They are slower than mouseover/out!: '!nsContentUtils::IsChromeDoc(d)', file content/events/src/nsEventListenerManager.cpp, line 337

Oops. I forgot to attach the excerpt form the log.
This was produced by

egrep "(TEST_START|TEST_END|Entering test|Leaving test|do not use mouseenter/leave)" /FF-NEW/log1236-older-mochitest.txt
Keywords: perf

Someone who is familar with Calendar code needs to check them since the perf regression warning messages are all from calendar tests.

Flags: needinfo?(geoff)
Component: General → Testing Infrastructure
Assignee: nobody → geoff
Status: NEW → ASSIGNED

This is so minor it's almost not worth fixing, but I shouldn't have made the mistake in the first place.

Flags: needinfo?(geoff)
Keywords: perfcheckin-needed-tb

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/d0ad66c21385
Stop using mouseenter/mouseleave events. r=pmorris

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: