Project

General

Profile

Actions

Support #3667

closed

Performance with high number of objects

Added by José Luis Rey over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
11/17/2014
Due date:
% Done:

0%

Estimated time:

Description

Hello Friends,

I'm generating an application that in some cases generate forms with more than 100 fields (with focus in/out triggers and two buttons attached), from about 40 fields the performance of the application start to slow down, (for example changing from one field to other takes about 1 second, when the same operation on a ten fields app is about ms),

Is there a logical/practical limit on the number of objects per app?

thanks in advance,

J.Rey

Actions #1

Updated by José Luis Rey over 9 years ago

Hello I'm still working on this issue, I saw that the problem is when I've a good number of WHBoxLayout on the same for, (I'm using WHBoxLayout to show 1 button, 1 field, 1 button on the same line resizing the width of the field when the form is scaled),

It is posible that the WHBoxLayout is trying to resize all objects offten?

Actions #2

Updated by Koen Deforche over 9 years ago

  • Status changed from New to Feedback
  • Assignee set to Koen Deforche

Hey,

The performance of WHBoxLayout may vary greatly from version to version. What version of Wt do you use?

But in any case, a layout manager has a great deal of overhead compared to plain CSS, so you should only use a layout manager if you need a layout that cannot be done with plain CSS.

Regards,

koen

Actions #3

Updated by José Luis Rey over 9 years ago

Hello Koen,

I'm using 3.3.2, I changed the layouts to css and it is working now without problems, (with a few thousands of objects :)).

Regards

Rey

Actions #4

Updated by Koen Deforche about 9 years ago

  • Status changed from Feedback to Closed

Excellent!

Actions

Also available in: Atom PDF