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

Performance noticeably worse after update to JSHint 1.1.0 and Rhino 1.7R4 #22

Open
danielellis opened this issue Apr 4, 2013 · 3 comments

Comments

@danielellis
Copy link

When I ran with version 0.3.4 / r12, hinting my project took ~10 seconds.

When I run the nodejs version of jshint 1.1.0, hinting my project also takes ~10 seconds.

With version 0.3.6-SNAPSHOT / 1.1.0 via ant, hinting my project takes ~2 minutes.

@philmander
Copy link
Owner

I made a bad decision to include env.js briefly to better emulate a browser environment in Rhino (it was overkill to use it). This may well be slowing things down alot, I removed it, but I think I might have forgotten to push the latest snapshot jar though with env.js removed.

Could you check the latest jar in the release directory.

@danielellis
Copy link
Author

I'm seeing the same results. I noticed that in your last commit, you deleted a file but didn't update anything. Was there a file missing from the commit? :)

ede60c0

@danielellis
Copy link
Author

Hmm I built locally with mvn package and copied over the new file. I'm still seeing the same results. I'd be happy to profile it if you have instructions on how to do so. If I get some spare time, then I'll figure out how myself.

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

2 participants