-
Notifications
You must be signed in to change notification settings - Fork 201
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
[polyserve] Serving extremely slow on sinon package bundle #538
[polyserve] Serving extremely slow on sinon package bundle #538
Comments
polyserve and polymer serve should probably have an exclusion list for middleware that just enables pass-thru of the files which could sidestep the issue. I'll have a go at that feature; its come up several times before and I think there's even some hardwired cruft in polyserve that already passes-thru a couple files by string-matching. |
@usergenic Awesome, thanks for the pointer! I went ahead and opened #543, which fixed the issue for me. Back to tracking the WCT issue now. |
Serving the sinon.js bundle with
polyserve
is extremely slow (>12 seconds).To reproduce:
fix-audit-wct-browser-legacy
polymer serve
in the root of this repositoryEven when running with
polymer serve --compile never
, it remains slow. Note that other files (for example http://127.0.0.1:8081/components/polymer-tools/packages/wct-browser-legacy/node_modules/sinon/History.md) are instantly loading. Also note that after you refresh the file, it is instant again.This leads me to believe that there is a performance issue with reading/writing ASTs to files on first load.
This issue is blocking the migration of #533
The text was updated successfully, but these errors were encountered: