Add benchmarking test suite and greatly improve performance in a few cases (#948)
* Add benchmarking test suite * Improve amortized time of model relation loads with a large number of rows * Improve performance of loading models with many related models * Improve performance of loading models with many related models to O(N)ish * Fix bug where N model creation with shared related model would build in N^2 time * Lower blocking time for queryset results * Add docstrings and streamline hash code Co-authored-by: haydeec1 <Eric.Haydel@jhuapl.edu>
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@ -9,10 +9,12 @@ build
|
||||
*.pyc
|
||||
*.log
|
||||
test.db
|
||||
.vscode/
|
||||
dist
|
||||
/ormar.egg-info/
|
||||
site
|
||||
profile.py
|
||||
*.db
|
||||
*.db-journal
|
||||
*coverage.xml
|
||||
*coverage.xml
|
||||
.benchmarks/
|
||||
|
||||
Reference in New Issue
Block a user