pywebio / PyWebIO

Write interactive web app in script way.
https://pywebio.readthedocs.io
MIT License
4.49k stars 384 forks source link

Getting pin values take too long when there are a lot of pins on the page #652

Open amks1 opened 2 months ago

amks1 commented 2 months ago

This is with respect to an internal tool where I have around 150 pin inputs on the page which are dynamically generated for each user to enter certain variables for configurations.

It takes around 40 seconds to get the values of all these, because there is message to and from the server to retrieve each of them. image

Can we explore something like pin.get_pin_values(*pin_names) to get the values of all the inputs in one message?