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

Decide if the database can be speeded up by adding indexes #9

Closed
jmansilla opened this issue Apr 23, 2014 · 1 comment
Closed

Decide if the database can be speeded up by adding indexes #9

jmansilla opened this issue Apr 23, 2014 · 1 comment
Assignees

Comments

@jmansilla
Copy link
Contributor

When "speeding up" the database, the focus shall be put on the operations needed for running iepy core, not the preprocessing.

@jmansilla jmansilla self-assigned this Apr 23, 2014
@jmansilla
Copy link
Contributor Author

The indexes to add were already added by MongoEngine, so there was no gain adding any other.

Instead, for a very repetitive query to the db (get_entity) we added a lru cache which showed great boost on manual testing.

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

1 participant