-
Notifications
You must be signed in to change notification settings - Fork 129
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
Performance (at least in Webstorm debug) #16
Comments
we're going to need more information than this, specifically what exactly is causing the lag. it sounds like an issue with your IDE though because i've never experienced any lag with this library (or any node library i use, really). |
The delay is in processing the JSON file. It takes several minutes and it is done twice - once for errorhandler and once for express. |
It's definitely a WebStorm debugger issue: http://stackoverflow.com/questions/19747783/nodejs-json-parse-takes-forever-to-finish-under-debugger-in-webstorm Parsing any large JSON file is going to take forever; there isn't anything we can really do. |
If you haven't tried it already, I would say try upgrading your WebStorm to the latest version to see if the issue still exists or not. |
In fact, this issue may be fixed in WebStorm 8 with the additional arguments of |
Looks like it was still broken in 9.01 but fixed in 9.02 (which has just come out), though I can't see it in the release notes. Thanks for your help and advice. |
Oh, so it's fixed in 9.0.2? That's really awesome to hear! I would feel bad if you were stuck in such a slow experience otherwise :( |
After updating packages my express app, with errorhandler, was taking about 10 minutes to start in debug mode in the Webstorm IDE. I downgraded to express 4.8.8 and errorhandler 1.1.1 and it went back to 8 seconds or so. Seems to be v2 of mime-types that causes the problem.
The text was updated successfully, but these errors were encountered: