Project

General

Profile

Actions

Bug #5735

closed

/loadbuf is performing too slow (big difference)

Added by westor (GR) over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
05/26/2023
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Hello,

I was trying to load a big file in a custom @window and i reproduced a performance issue in /loadbuf that the difference is dramatically huge compared with mIRC, i will provide a test code to reproduce it.

Example :

Example file used: https://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt

NOTE : AdiIRC takes (on me) 55-60 seconds to finish that progress while in the other client is almost only 4-5 seconds.

alias loadbuf_test {
  window -h @example

  var %f = unicodedata.txt 
  var %a = 100 
  var %t = $ticksqpc 

  while (%a) {
    loadbuf @example $qt(%f)

    dec %a 
  }

  echo -ag Finished: $calc($ticksqpc - %t) ms for $file(%f) bytes with $lines(%f) lines.

  window -c @example
}

- Thanks!

Actions

Also available in: Atom PDF