Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance QuickEdit performance #12874

Open
core-ai-bot opened this issue Aug 31, 2021 · 8 comments
Open

Enhance QuickEdit performance #12874

core-ai-bot opened this issue Aug 31, 2021 · 8 comments

Comments

@core-ai-bot
Copy link
Member

Issue by xgenvn
Monday Oct 13, 2014 at 15:36 GMT
Originally opened as adobe/brackets#9541


Hi,
When using Quick Edit in a large project which including many css files, it's taking a lot of time to show the related css. I haven't looked into the implement of this feature so I can't say more. However, IMO a cache file, or if we can add one file to declare which files/folders to be searched when editing should provide a huge improvement (just something like .git_ignore, or bowerrc.json etc).

Does anyone have the same problem, and any suggestion how to setup a large project to improve performance of this feature?

Thanks.

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Monday Oct 13, 2014 at 15:50 GMT


Yes, we'd like to improve the performance of Quick Edit searches. Be sure to read the Large Projects in Brackets wiki page.

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Monday Oct 13, 2014 at 20:17 GMT


@xgenvn How many CSS files are in your project? Any rough idea of how many KB/MB the CSS files add up to? Also, how many total files are in your project?

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Monday Oct 13, 2014 at 20:17 GMT


One other question -- is it only slow the first time you invoke Quick Edit, or is it equally slow every time?

@core-ai-bot
Copy link
Member Author

Comment by xgenvn
Monday Oct 13, 2014 at 22:45 GMT


@redmunds Thanks for the links, I think it's a must-read for every new user.

@peterflynn It's around 300 files, less than 5Mb, a messy collection of minified and not minified styles.

I guess Brackets not caching search results or parsed files, so it's slow for every time. I just ended up using Quick Edit directly in my project folder. I'll try the work around that@redmunds suggest.

@core-ai-bot
Copy link
Member Author

Comment by ingorichter
Tuesday Oct 14, 2014 at 00:28 GMT


I made the same observations and it's equally slow every time.

@core-ai-bot
Copy link
Member Author

Comment by pete-mann
Thursday Oct 16, 2014 at 23:29 GMT


I am recently experiencing delay when using quick edit and also when switching between files. At times the delay is greater than 1.5 seconds rendering the application super slow and almost unusable.

I've not noticed this delay in previous versions (<0.44) of brackets - which have performed perfectly when editing even larger projects. This project I have open consists of 119 files - total of ~3MB.

Switching between files in "working files" pane or by using ctrl + tab is equally as slow.

Brackets Build: 0.44.0-14876

@core-ai-bot
Copy link
Member Author

Comment by infosys-ui
Saturday Dec 27, 2014 at 01:06 GMT


I have same issue here. It's quite annoying because the quick edit is too slow. I tried "Reload Without Extensions" and it doesn't help at all. Any ideas to fix it?

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Saturday Dec 27, 2014 at 02:44 GMT


@xgenvn@pete-mann@infosys-ui A change was recently merged for Brackets 1.2 which greatly improves parsing performance of minified files. Let us know if you are running a cloned version of Brackets and can see if this change helps, otherwise let us know after 1.2 is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant