Project

General

Profile

Support #8718

About Wt.WT.updateDelay

Added by Apivan Tuntakurn 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
06/23/2021
Due date:
% Done:

0%

Estimated time:

Description

I found that changing Wt.WT.updateDelay = 0; speed up the localhost app a lot.

It also have effect with online app https://webtoolkit.eu/widgets/graphics-charts/paintbrush
Try execute console Wt.WT.updateDelay = 0; The paint widget is much better.

I try it with our large application and your website, it work fine.

I'd like to know what is the reason of Wt.WT.updateDelay?
Should I adjust this? What is the potential problem if I change it?

#1

Updated by Korneel Dumon 3 months ago

I think the idea is to batch these fast paced events like mouseOver, so that you don't get a massive amount of separate requests to the server. I never really noticed that the paintbrush was particularly slow.

We have a few components (eg. 3d charts) in Wt that require low latency and in that case, we implement the functionality in javascript.

Also available in: Atom PDF