Actions
Bug #5735
closed
W(
PA
/loadbuf is performing too slow (big difference)
Bug #5735:
/loadbuf is performing too slow (big difference)
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