This shows you the differences between two versions of the page.
— | asynctest [2008/02/08 19:49] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Async Test Result ===== | ||
+ | |||
+ | Setup: | ||
+ | - Created a test environment that could be restored between runs. | ||
+ | - History contained 1981 messages, sorted on size largest to smallest | ||
+ | - Largest message was 80.5kb | ||
+ | - Set the number of messages to display on a page to the amount in the table. | ||
+ | - Selected an empty test bucket to reclassify to for each message listed on the page | ||
+ | - clicked reclassify all to reclassify the top X messages displayed on the page | ||
+ | |||
+ | * The without async results are stock v 0.22.1 POPFile. | ||
+ | * The with async results are with a modified UI/HTML.pm that wraps the while loop in history_reclassify with a db call to synchronous=OFF and synchronous=NORMAL. | ||
+ | * All times measured using Benchmark module with hires timer and are in seconds. | ||
+ | |||
+ | Results were as follows: | ||
+ | |||
+ | ||# Messages||Words Reclassified||Time without async||Time with async||Time savings||% Savings|| | ||
+ | ||10||4076||3.39158||2.40000||0.99158||29%|| | ||
+ | ||20||7395||7.52566||4.59092||2.93474||39%|| | ||
+ | ||40||10657||11.8510||9.3657||2.4854||21%|| | ||
+ | ||60||13137||17.8197||15.6556||2.1641||12%|| | ||
Should you find anything in the documentation that is incomplete, unclear, outdated or just plain wrong, please let us know and leave a note in the Documentation Forum.