-
Notifications
You must be signed in to change notification settings - Fork 189
Extremelly slow checks #9
Comments
Oh -- I am running Python 2.7.1. |
This can be reproduced from command line. Execution took 17 seconds with:
|
Oh, and one last thing, if you would like me to publish my current pep257 branch for you to reproduce this, I can do that. |
Just looking at the code it seems like |
This is what the profiling result looks like after the changes that pull request #12 introduces:
|
Every file checked generates two calls to |
This fix was added in pull request #12. |
#12 is merged now. pep257 is probably still 10 times slower than it could be, but good enough for now. If you come up with more speed improvements—you are welcome! |
I agree, but works for now!
Sure! But for now it doesn't hinder me in running my tests. |
I've just written a unittest that checks my pep257 compliance using the API created in issue #7. However, the issue is the checks are taking extremelly long to execute. Here's the output from profiling the test:
My test is written like so:
and the total number of lines of code for the six Python modules are 1957 LOC.
The text was updated successfully, but these errors were encountered: