brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] Editing JavaScript in Sprint 31 is crazy slow #5018

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by alltom Thursday Oct 10, 2013 at 09:43 GMT Originally opened as https://github.com/adobe/brackets/issues/5465


I'm editing https://github.com/alltom/humansort/blob/master/public/index.html in Brackets Sprint 31 with no extensions enabled and I'm regularly waiting 5+ seconds for text to appear.

Here's a video where I press enter and start typing: https://s3.amazonaws.com/alltom/dump/sprint-31-js-editing.mov

core-ai-bot commented 3 years ago

Comment by redmunds Thursday Oct 10, 2013 at 15:02 GMT


@alltom Thanks for logging issues!

Have you verified that this was introduced in Sprint 31?

Live Preview HTML Support was introduced in Sprint 31, so that could be part of the cause. Is there a difference between Live Preview on vs off?

There's a fix in Sprint 32 (which should be posted today) that improves parsing times of JS (initial load, switching from another app/doc back to page), so give that a try.

I notice there's no (optional) semi-colon at the end of the previous line. Does adding that make a difference?

core-ai-bot commented 3 years ago

Comment by alltom Thursday Oct 10, 2013 at 22:29 GMT


I haven't verified that it's new to Sprint 31, but I'm downloading Sprint 30 now to try. Can I try Sprint 32 by checking out brackets, or were there brackets-shell changes?

I recorded the video by starting Brackets and typing after a few seconds. No live development features were enabled, and repeating the test on a line after a semi-colon doesn't seem to affect it.

core-ai-bot commented 3 years ago

Comment by alltom Thursday Oct 10, 2013 at 22:31 GMT


I got a similar delay in Sprint 30.

core-ai-bot commented 3 years ago

Comment by redmunds Thursday Oct 10, 2013 at 23:11 GMT


There were only some minor changes to brackets-shell for Sprint 32, so the latest brackets code might work with Sprint 31 brackets-shell.

It sounds like there could still be startup tasks running in the background when you start typing "after a few seconds". What happens when you wait a while?

core-ai-bot commented 3 years ago

Comment by MarcelGerber Friday Oct 11, 2013 at 04:57 GMT


FYI: He uses JavaScript inside Githubissues.

  • Githubissues is a development platform for aggregating issues.