Qt4 Port of the Diagnostics Output Message List / Performance / 02-27-2012

   
    Seconds to
post 20520
messages:
Qt3
 
26.6
Qt4 (1)
 
20.0
Qt4 (2)
 
18.7
Qt4 (3)
 
19.1

Initial performance testing. A sequence of twelve (12) batches of 1710 error messages were generated, one (1) trial for the Qt3 message list, and three (3) trials for an initial version of the Qt4 port of the message list. (Each trial consisted of 20520 messages). See a screenshot of a dialog with both list implementations, below; the new Qt4 implementation is on the bottom.

The Qt3 performance consistently degrades as additional messages are added. (This was something we noticed at the time of the Galaxy to Qt3 port). The Qt4 performance is better, but more variable. It's possible that the Qt4 performance generally stays consistent -- on average -- as additional messages are added -- but it's hard to say with only this number of messages (because of the variability of the data). (Based on the design of the Qt4 data model -- it makes sense that performance would generally stay consistent -- it probably does).

These times were with a debug version of RiverWare 6.2 development, in Visual Studio, on a fast 64-bit Windows 7 machine (Dell OptiPlex 990, Core i7-2600, 3.4 GHz, 16 GB memory), with a virtually empty RiverWare workspace (model).

---