Open Bug 1938191 Opened 2 months ago Updated 1 month ago

High CPU usage on google spreadsheet

Categories

(Core :: Performance, defect)

defect

Tracking

()

Performance Impact medium

People

(Reporter: vfalstad, Unassigned, NeedInfo)

Details

Attachments

(1 file)

​​### Basic information
Occasionally FX will give me an error "This page is slowing down Firefox" attempting to load https://docs.google.com/spreadsheets/d/16UzZu2ngMZZzscX25O5DK_TVsoTU4wyH4BM4Utf48yw/edit?gid=0#gid=0

I've had this issue four or five times. It's possible that when I'm attempting to navigate in the doc someone else is pasting in content as when the doc loads there seems to be new content. However, I've also seen it frozen for over ten minutes which seems like a long time just to paste in new content. It is consistent that I see other people are in the file when I'm trying to navigate (scroll or arrow keys to switch cells).

I went to about:processes and saw that CPU was at 120% for this tab/doc. I took a screenshot (not attached). Then clicked on the profiler from there.

Steps to Reproduce:

Expected Results:

Actual Results:


Performance recording (profile)

Profile URL:
(If this report is about slow performance or high CPU usage, please capture a performance profile by following the instructions at https://profiler.firefox.com/. Then upload the profile and insert the link here.)
https://share.firefox.dev/3P2laN2

System configuration:

OS version: MacOS 14.3
GPU model:
Number of cores:
Amount of memory (RAM): 36 GB

More information

Please consider attaching the following information after filing this bug, if relevant:

  • Screenshot / screen recording
  • Anonymized about:memory dump, for issues with memory usage
  • Troubleshooting information: Go to about:support, click "Copy text to clipboard", paste it to a file, save it, and attach the file here.

Thanks so much for your help.

Performance Impact: --- → ?

Thank you for submitting this bug. Next steps is to have the team review for impact and look through the profiled you've submitted. Do you happen to see this issue occurring in Chrome? Also, do you see this happening in other excel documents (The current only listed has sensitive information and isn't widely shared, so just looking for more examples).

Flags: needinfo?(vfalstad)

The profile looks valid. The time is spent almost completely inside JavaScript. The time of the jank certainly looks unreasonably long but without knowing exactly how to reproduce this it is difficult to know if it reproduces in Chrome. I'm kind of hesitant to move this to JS until we see a reproduction of the same situation in Chrome and understand how much better it is there.

The Performance Impact Calculator has determined this bug's performance impact to be medium. If you'd like to request re-triage, you can reset the Performance Impact flag to "?" or needinfo the triage sheriff.

Platforms: macOS
Impact on site: Renders site effectively unusable
Configuration: Specific but common
Websites affected: Major

Performance Impact: ? → medium
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: