Comment 2 for bug 1477423

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

On desktop systems the package resource job can output data for more than 2500 packages (1000 for ubuntu-touch on my N7).
it makes a huge difference as pytherside send async event to the command output handler which updates the textarea of the command output page even if not visible for every line received.

The bottleneck is not the string concat but access to the textarea.text property for each event.

A solution could be a buffered string property and textarea updates based on a qml timer, the buffer being updated by the event handler for each line.