bartosz-antosik / vscode-spellright

Multilingual, Offline and Lightweight Spellchecker for Visual Studio Code
Other
359 stars 36 forks source link

Extension becomes unresponsive when working with large files #534

Open fabiorzfreitas opened 1 year ago

fabiorzfreitas commented 1 year ago

VSCode:

Version: 1.73.1 (system setup)
Commit: 6261075646f055b99068d3688932416f2346dd3b
Date: 2022-11-09T04:27:29.066Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.19045
Sandboxed: No

Spellright version: 3.0.90

I'm working with a 35 000 line .srt (subtitles) file which was created by concatenating about 200 smaller files. My goal is to spell check the contents of all of those and split them back.

The tests below have been ran with all other extensions disabled.

Whenever I try to load this file, the console outputs WARN UNRESPONSIVE extension host: 'ban.spellright'[...], as in:

Code_l6q14i7apz

This leads to the extension behaving as if the binaries were outdated, i.e. outputting (command 'spellright.[command]' not found) errors for every command invoked via the command palette.

gvT6daFghz

Below are attached the .srt and .cpuprofile files, both renamed to *.txt in order to allow attaching:

exthost-ea16a3.cpuprofile.txt concatenated.srt.txt