aboutsummaryrefslogtreecommitdiff
path: root/doc/administration/custom-pages.rst
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2025-11-16 00:45:22 +0100
committerDaniel Schadt <kingdread@gmx.de>2025-11-16 00:45:22 +0100
commit5b311986e47d580fb149085be2bb524952ead319 (patch)
tree5a1f4db9edb99b5eaa923065af1feb92053649f5 /doc/administration/custom-pages.rst
parent510164a381d426050128769f58f8aae8daed9007 (diff)
downloadfietsboek-5b311986e47d580fb149085be2bb524952ead319.tar.gz
fietsboek-5b311986e47d580fb149085be2bb524952ead319.tar.bz2
fietsboek-5b311986e47d580fb149085be2bb524952ead319.zip
speed up track insertion
It turns out that adding multiple thousands of track points via the ORM is quite slow, which is especially noticable in the browse_paged test (as 50 tracks are added there). This provides the fast_set_path method, which goes directly to the database, utilizing the executemany() capability. On the CI, the gpx-influx decreased test runtime from ~4min to ~18min. This change should make it much faster again.
Diffstat (limited to 'doc/administration/custom-pages.rst')
0 files changed, 0 insertions, 0 deletions