Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Enhance QuickEdit performance #9541

Open
xgenvn opened this issue Oct 13, 2014 · 8 comments
Open

Enhance QuickEdit performance #9541

xgenvn opened this issue Oct 13, 2014 · 8 comments

Comments

@xgenvn
Copy link

xgenvn commented Oct 13, 2014

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.

@redmunds
Copy link
Contributor

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

@peterflynn
Copy link
Member

@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?

@peterflynn
Copy link
Member

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

@xgenvn
Copy link
Author

xgenvn commented Oct 13, 2014

@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.

@ingorichter
Copy link
Contributor

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

@pete-mann
Copy link

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

@infosys-ui
Copy link

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?

@redmunds
Copy link
Contributor

@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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants