-
Notifications
You must be signed in to change notification settings - Fork 429
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some words about perfomance (fixes #133
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ in your template setting ``OPTIONS``. | |
.. toctree:: | ||
tutorial | ||
table-data | ||
performance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Performance | ||
----------- | ||
|
||
Django-tables tries to be efficient in displaying big datasets. It tries to | ||
avoid converting the `~.QuerySet`s to lists by using SQL to slice the data and | ||
should be able to handle datasets with 100k records without a problem. | ||
|
||
However, when using one of the customisation methods described in this | ||
documentation, there is lot's of oppurtunity to introduce slowness. | ||
If you experience that, try to strip the table of customisations and re-add them | ||
one by one, checking for performance after each step. |