Skip to content

Modern UI can impact UI performance #325984

Closed

Description

@Kaidesuyoo

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.129.0
  • OS Version: Windows_NT x64 10.0.26200

Steps to Reproduce:

  1. Enable workbench.experimental.modernUI.
  2. Open a large project with a large number of files in the Explorer pane.
  3. Install and enable a file icon theme such as Material Icon Theme.
  4. Scroll the Explorer pane and compare the scrolling performance with workbench.experimental.modernUI disabled.

Expected:

Scrolling performance should remain comparable to the performance when workbench.experimental.modernUI is disabled.

Actual:

With workbench.experimental.modernUI enabled, scrolling becomes noticeably less smooth, with increased frame drops. The issue is especially severe on devices with lower CPU performance.

Performance comparison:

The screenshots below compare the duration of scroll-related tasks between VS Code 1.128.1 and 1.129.0, where the performance regression was introduced. The results show an increase in task duration in 1.129.0.

Image

Additionally, using CSS Selector Stats shows a significant increase in selector match attempts when the issue occurs.

Metadata

Metadata

Labels

freeze-slow-crash-leakmodernization

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions