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

dpmpy is slow to start #23

Open
Fak3 opened this issue Oct 31, 2016 · 4 comments
Open

dpmpy is slow to start #23

Fak3 opened this issue Oct 31, 2016 · 4 comments
Milestone

Comments

@Fak3
Copy link
Contributor

Fak3 commented Oct 31, 2016

When dpmpy is invoked from the command-line, there is a noticable delay before any actual code is executed. On an old laptop it is up to 3 seconds.

Upstream bugs:
frictionlessdata/tableschema-py#118
frictionlessdata/tabulator-py#106
pypa/setuptools#510

@Fak3
Copy link
Contributor Author

Fak3 commented Oct 31, 2016

Tabulator import is now fixed, but not yet released on pypi. Jsontableschema issue on github is marked as duplicate of tabulator one, but it still causes a delay and should probably be reopened and addresed. (see frictionlessdata/tableschema-py#118 (comment))
Another source of dealy is the notorious setuptools entry_points handling for cmdline scripts. The wirkaround for it is in the PR #24

@roll
Copy link

roll commented Nov 1, 2016

@Fak3
tabulator is on PyPi but jts needs a fix still

@rufuspollock
Copy link
Contributor

@Fak3 any updates here?

@Fak3
Copy link
Contributor Author

Fak3 commented Dec 27, 2016

@rufuspollock frictionlessdata/tableschema-py#118 is still open. The other possible source of delay is requests library, that dpmpy uses. It is known to internally import pkg_resources from setupltools. I still have to check that.

@rufuspollock rufuspollock added this to the Backlog milestone Dec 28, 2016
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

3 participants