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

#11 Achieve order of magnitude speedup of parser #18

Merged
merged 1 commit into from
Jun 6, 2017

Conversation

jmurty
Copy link
Contributor

@jmurty jmurty commented Jun 6, 2017

  • use faster pyparsing grammar constructs and
    arrangements to significantly speed up parsing
  • enable skipped parsing unit tests now that they
    are not infeasibly slow
  • add testing requirements to setup.py

Anecdotal speed increase is from about 30 seconds
to run the test_date_values tests down to below
3 seconds.

See also #17

- use faster pyparsing grammar constructs and
  arrangements to significantly speed up parsing
- enable skipped parsing unit tests now that they
  are not infeasibly slow
- add testing requirements to setup.py

Anecdotal speed increase is from about 30 seconds
to run the `test_date_values` tests down to below
3 seconds.

See also #17
@jmurty jmurty requested a review from cogat June 6, 2017 06:16
@jmurty
Copy link
Contributor Author

jmurty commented Jun 6, 2017

@cogat can you sanity-check these changes? They were fiddly and error-prone, but the unit tests all still pass FWIW

@cogat cogat merged commit c9996af into master Jun 6, 2017
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

Successfully merging this pull request may close these issues.

2 participants