Skip to content

Commit

Permalink
Some words about perfomance (fixes #133
Browse files Browse the repository at this point in the history
  • Loading branch information
jieter committed May 23, 2016
1 parent ae0d67c commit ec57add
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/pages/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ in your template setting ``OPTIONS``.
.. toctree::
tutorial
table-data
performance
12 changes: 12 additions & 0 deletions docs/pages/performance.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Performance
-----------

Django-tables tries to be efficient in displaying big datasets. It tries to
avoid converting the `~django.db.models.query.QuerySet` instances 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.

0 comments on commit ec57add

Please sign in to comment.