Closed Bug 1819996 Opened 2 years ago Closed 2 years ago

React-stockcharts on macOS: stroke slow path shows up in profiles

Categories

(Core :: Graphics: Canvas2D, defect)

All
macOS
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mstange, Assigned: lsalzman)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3])

Attachments

(1 obsolete file)

When running https://grandprixbench.netlify.app/?suites=React-Stockcharts on macOS, an appreciable amount of time is spent in the CPU fallback path during stroking: https://share.firefox.dev/3KMDhpj

Whiteboard: [sp3]

The severity field is not set for this bug.
:lsalzman, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(lsalzman)

This adds interpolants to the AA distance calculation to handle the AA'ing of
the clip rect.

Assignee: nobody → lsalzman
Status: NEW → ASSIGNED

Comment on attachment 9326920 [details]
Bug 1819996 - Fast-path non-aligned clip rects in DrawTargetWebgl. r?jrmuizel

Revision D174650 was moved to bug 1826134. Setting attachment 9326920 [details] to obsolete.

Attachment #9326920 - Attachment is obsolete: true

Oops, put wrong bug number in patch.

There is a high likelihood either React-stockcharts changed to no longer use alpha strokes. In any case, bug 1837068 addresses that issue as well just in case. This issue no longer shows up in profiles.

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Depends on: 1837068
Flags: needinfo?(lsalzman)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: