Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ Bug reports ➜ Packet debugging is extremely slow

Packet debugging is extremely slow

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Wed 06 Jan 2021 06:20 PM (UTC)

Amended on Wed 06 Jan 2021 06:51 PM (UTC) by Fiendish

Message
Enabling packet debugging slows down MUSHclient tremendously. It makes it pretty hard to track problems that appear after hundreds of lines that are dependent on timing. It shouldn't be this slow to just dump some text.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Nick Gammon   Australia  (23,070 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 09 Jan 2021 03:12 AM (UTC)
Message
This is a side-effect of the fact that the notepad windows (such as used by the packet debugging) are implemented as a windows text control and they are very slow when the text gets large. I think this is partly because every time there is new text the control attempts to wordwrap the entire contents again.

I have added a new plugin callback "OnPluginPacketDebug" to the pre-release version that lets you control how the debugging is displayed. For example, you could write it to a file.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


8,380 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.