Skip to content

[Bug]: High CPU usage when scrolling with Chrome or Edge #20152

@BCaspari

Description

@BCaspari

Attach (recommended) or Link to PDF file

https://www.gutenberg.org/files/31111/31111-pdf.pdf

Web browser and its version

Google Chrome, 138.0.7204.184

Operating system and its version

Windows 11

PDF.js version

v5.4.54

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

  1. Open the file in the pdf.js demo with Chrome or Edge
  2. Scroll fast by dragging the scroll bar or using the mouse wheel

What is the expected behavior?

Low CPU usage, as seen with Firefox

What went wrong?

Much higher CPU usage than when using Firefox

Link to a viewer

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions