Sublime Forum

Search and replace performance

#1

So,

I’ve been trying forth and back for a while now. Sublime Text 4 is absolutely dangerous when doing large searches or too many search and replace.

I find myself having to solve such issues in VS Code of all tools. I search and replace in 6800+ files and Sublime hangs while VS Code performs the task in 20-30 seconds without hanging.

This is a real blocker for me as I work in a lot of different projects and would love if you could have a look at ways to improve this.

VS Code does not block every open window while Sublime hangs completely and that means every window.

Sublime doesn’t even complete the task while VS Code completes it pretty fast.

To make matters even worse, it opens all the files that was searched (and now changed outside of Sublime) so before I can do anything with sublime I first have to reload every single file. That means clicking Reload or Cancel 6800+ times and meanwhile Sublime grinds to a halt again…

1 Like

#2

It’s like this forever… really bad performance… and it uses only 1 virtual thread on 8 available on my machine (using Ubuntu btw).

0 Likes

#3

Find in files uses up to 8 threads since build 4130.

2 Likes

#4

Can confirm that the find in files in the new build is vastly faster in larger projects.

0 Likes