diff options
| author | Daniel Schadt <kingdread@gmx.de> | 2025-11-16 00:45:22 +0100 |
|---|---|---|
| committer | Daniel Schadt <kingdread@gmx.de> | 2025-11-16 00:45:22 +0100 |
| commit | 5b311986e47d580fb149085be2bb524952ead319 (patch) | |
| tree | 5a1f4db9edb99b5eaa923065af1feb92053649f5 /doc/conf.py | |
| parent | 510164a381d426050128769f58f8aae8daed9007 (diff) | |
| download | fietsboek-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/conf.py')
0 files changed, 0 insertions, 0 deletions
