-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Closed as not planned
Closed as not planned
Copy link
Labels
chromiumIssues and items related to ChromiumIssues and items related to Chromiumfreeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issuesVS Code crashing, performance, freeze and memory leak issuesupstream-issue-linkedThis is an upstream issue that has been reported upstreamThis is an upstream issue that has been reported upstream
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.65.2
- OS Version: Mac OS Monterey 12.3
Steps to Reproduce:
- Select text in one tab, the more you select the slower it gets.
- Go to another tab and then click the tab with selected text again, the more text selected the longer delay (seconds)
The Performance profiler I did was 33MB so cannot include it here, but just a screenshot after selecting 30 lines of code and switching tabs (about 600ms to switch tab):
Edit for more information:
I opened a new VS Code window, pasted this code snippet into two different tabs without saving (it doesn't matter what it is):
import React from "react";
import PropTypes from "prop-types";
import "./Button.css";
export default class Button extends React.Component {
static propTypes = {
name: PropTypes.string,
orange: PropTypes.bool,
wide: PropTypes.bool,
clickHandler: PropTypes.func,
};
handleClick = () => {
this.props.clickHandler(this.props.name);
};
render() {
const className = [
"component-button",
this.props.orange ? "orange" : "",
this.props.wide ? "wide" : "",
];
return (
<div className={className.join(" ").trim()}>
<button onClick={this.handleClick}>{this.props.name}</button>
</div>
);
}
}
yairEO
Metadata
Metadata
Assignees
Labels
chromiumIssues and items related to ChromiumIssues and items related to Chromiumfreeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issuesVS Code crashing, performance, freeze and memory leak issuesupstream-issue-linkedThis is an upstream issue that has been reported upstreamThis is an upstream issue that has been reported upstream
