opteryx icon indicating copy to clipboard operation
opteryx copied to clipboard

✨ improve load speed

Open joocer opened this issue 3 years ago • 2 comments
trafficstars

Benchmarks show the first query usually takes about a second, this is probably because of IPL activity. Find ways to minimise this without significantly affecting individual query speed.

joocer avatar Oct 05 '22 15:10 joocer

See https://dev.to/methane/how-to-speed-up-python-application-startup-time-nkf

This may be a way to measure and identify slow components

joocer avatar Oct 05 '22 15:10 joocer

moved conditional imports to closer to where they are needed and out of the start-up space

joocer avatar Feb 04 '23 12:02 joocer