Super slow "replace all" in a 5M JSON file #11210
Labels
defect
[core label]
performance
Feedback for performance issues, speed, memory usage, etc
search / project search
Feedback for in-file search, multi-buffer global search, etc
Check for existing issues
Describe the bug / provide steps to reproduce it
Search
{nft_collection}
(about 3000+ occurrences) and replace them{nft_collection_name}
in this file: data.json .The CPU goes 100% and never finish replacing. Finally I have to kill Zed.
As comparison, I finish the job in Emacs under 0.2 seconds.
Environment
Zed: v0.133.5 (Zed Preview)
OS: macOS 14.4.1
Memory: 32 GiB
Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.No response
The text was updated successfully, but these errors were encountered: