iceman1001/ChameleonMini-rebootedGUI

Increase Performance of SendCommand

Vrumfondel opened this issue · 3 comments

Current implementation with waiting static 100ms for a response from Chameleon is slowing down especially the startup of the tool.
Proposal:
After sending Command, wait for response until timeout occurs.

100ms is slowing down? 1/10 of a second... hm.. you must be in a hurry

Well,
during startup I counted 128 calls to SendCommand, that's allready 12.8 seconds.
That's what I would call "long" for a program to silently startup ....

The difference is really noticable ...

128 calls to SendCommand, now that will do a difference. Make PR and I'll merge it