Project

General

Profile

Actions

Bug #3937

open

AdiIRC slowing down on dialogs when user list is too heavy

Added by westor (GR) almost 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
06/07/2018
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Hello,

There is something strange that i saw, when having a huge userlist database and trying to open a dialog it slowing down the dialog actions (e.g: changing tabs or during the init progress) i cannot imagine how does userlist effecting that part, i tested and in other parts and it seems only in dialogs having that huge slow, i will provide some test codes to test it and see how it is acting thought.

Testing Dialog Code:

dialog test_table {
  title "Testing" 
  size -1 -1 259 113
  option dbu
  tab "Tab 1", 5, 5 3 252 105
  list 1, 12 21 239 85, tab 5 size
  tab "Tab 2", 6
  list 2, 11 21 240 85, tab 6 size
}

ON *:DIALOG:test_table:init: {
  var %i = 1
  while (%i <= 100) { did -a $dname 1,2 test %i | inc %i }
}

Adding items to userlist:

//var %t = 10000 | var %i = 1 | while (%i <= %t) { .auser testing %i | inc %i } | echo -a IS: Finished!

Try adding a huge database (about 5000-10.000) and run the dialog (/dialog -m test_table test_table) and try changing tabs or see the init progress, then remove the hole userlist database and try again to see how fast it will be.


Files

2018-06-08_14-07-15.mp4 (1.3 MB) 2018-06-08_14-07-15.mp4 Testing dialog with just only 2 lists westor (GR), 06/08/2018 01:10 PM
2018-06-08_14-11-05.mp4 (1.49 MB) 2018-06-08_14-11-05.mp4 Testing my project with a list and more items westor (GR), 06/08/2018 01:13 PM
2018-06-08_15-28-08.mp4 (4.33 MB) 2018-06-08_15-28-08.mp4 westor (GR), 06/08/2018 02:33 PM
Actions

Also available in: Atom PDF