Closed
Bug 1575657
Opened 6 years ago
Closed 6 years ago
Improve performance for React Asteroid
Categories
(Core Graveyard :: Web Replay, defect, P2)
Core Graveyard
Web Replay
Tracking
(firefox72 fixed)
RESOLVED
FIXED
mozilla72
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: jlast, Assigned: bhackett1024)
Details
Attachments
(1 file)
web replay should be able to record react asteroids with a reasonable performance slow-down.
https://github.com/chriz001/Reacteroids
https://codesandbox.io/s/react-asteroids-v90q1
![]() |
Reporter | |
Updated•6 years ago
|
Priority: -- → P3
![]() |
Reporter | |
Comment 1•6 years ago
|
||
![]() |
Reporter | |
Updated•6 years ago
|
Priority: P3 → P2
Assignee | ||
Comment 2•6 years ago
|
||
The problem here is that the recording process is not triggering the creation of any checkpoints, which causes things to get bogged down pretty quickly. The reason why we aren't creating checkpoints is that we only create a checkpoint on one path through PresShell::Paint(), and there are other paths taken when e.g. there are no updates needed to the frame tree (which will be the case when the only thing that changed is some canvas contents, as with this game). Changing Paint() so that a checkpoint is always created causes the game to run much better.
Assignee | ||
Comment 3•6 years ago
|
||
Pushed by bhackett@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/611bf4a5e7a2
Always create record/replay checkpoints when painting, r=mstange.
Comment 5•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Updated•6 years ago
|
Assignee: nobody → bhackett1024
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•