Right_Links icon indicating copy to clipboard operation
Right_Links copied to clipboard

Possibly impacting browser performance

Open Gitoffthelawn opened this issue 8 years ago • 4 comments

about:performance indicates many medium impact events on framerate.

Gitoffthelawn avatar Jun 22 '17 22:06 Gitoffthelawn

With enabled multi-process mode?

I think, this is due to synchronous messages from content process to parent process: https://github.com/Infocatcher/Right_Links/blob/0.4.1/chrome/content/contentUtils.jsm#L65 To leave only one logical place to deal with right clicks…

This will freeze content process but only right after action from user side.

Infocatcher avatar Jun 28 '17 20:06 Infocatcher

With enabled multi-process mode?

Yes.

This will freeze content process but only right after action from user side.

What defines an action? I'm seeing more medium impact events than right-clicks.

Gitoffthelawn avatar Jun 29 '17 04:06 Gitoffthelawn

What defines an action? I'm seeing more medium impact events than right-clicks.

Also left-clicks (if enabled long left-click). Potentially slow sendSyncMessage() happens after each mousedown/mouseup/click on link-like things.

Also all other clicks is handled too, but shouldn't cause real slow down (because not used cross-process messaging).

Infocatcher avatar Jun 29 '17 21:06 Infocatcher

Thanks.

I have long left-click disabled, so it's not that. But thanks for that info.

Is it possible that the extension is getting involved every time I left or right-click on a tab? If so, can that be improved?

Gitoffthelawn avatar Jun 29 '17 22:06 Gitoffthelawn