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

docopt takes forever #46

Closed
Manishearth opened this issue Aug 31, 2016 · 6 comments
Closed

docopt takes forever #46

Manishearth opened this issue Aug 31, 2016 · 6 comments

Comments

@Manishearth
Copy link
Member

Running bindgen on current m-c takes forever.

List of arguments: https://gist.github.com/Manishearth/da907aa5efdaaeb84eaf59eab75e172a

In the past, parsing happened almost immediately, but now it's taking more than 5 minutes. Interrupting the program while it runs under a debugger always gives us a backtrace within docopt, behind the bind_args.iter().decode() call in bindgen.

cc @fitzgen @BurntSushi

@emilio
Copy link
Contributor

emilio commented Aug 31, 2016

This is not funny at all, running that command basically OOMs my (fairly modern) machine while parsing arguments, something is not going well there.

not-funny

@Yamakaky
Copy link
Contributor

5min is not normal. On my bindgen repo, the parsing is also almost instant. I'll try later to remove code on the main to see what's wrong.

@BurntSushi
Copy link
Member

Definitely a bug somewhere. I'll try to look at it today.

@emilio
Copy link
Contributor

emilio commented Aug 31, 2016

Thanks for looking into it @BurntSushi! :-)

@emilio
Copy link
Contributor

emilio commented Sep 22, 2016

Docopt was backed out in #37. Let us know if/when it's fixed, though :)

@emilio emilio closed this as completed Sep 22, 2016
@Yamakaky
Copy link
Contributor

Seems good docopt/docopt.rs#195

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

4 participants