4 ms·
Can you expand on what you mean by "latency" is not a concern? As in, the UI is very laggy?
by maest 6y ago
Can you expand on what you mean by "latency" is not a concern? As in, the UI is very laggy?
- beckingz 6y agoThe UI is usually quite snappy, but will get held up if your code takes a long time to run. Just like any other frontend framework.
- everling 6y agoStreamlit doesn't expose async / callback stuff in the API, instead the script is rerun from the start every time the user clicks a checkbox, manipulates a slider etc. This makes it really easy to make apps, but depending on the computations occurring on each render it can get pretty sluggish. There is support to cache to speed things up, e.g. data downloads.