1 page 99999 page 9999 LogData size 9999 2Legacy 1305.5 11.009 1,048,576B 16,777,216B 3QListString 0.055 0.0027 3,777,200B 18,644,700B 4 5 6 7Memory test: 8everything commented except RandomPage 9 10Memory using top: 1199999 (8.5Mib file): 12 legacy 44m,20m 13 qliststr 33m,11m 144999999 (428MiB file): 15 legacy 464m,442m 16 qliststr 1090m,1.0g 17 18'Legacy' implementation: 19********* Start testing of TestLogData ********* 20Config: Using QTest library 4.5.0, Qt 4.5.0 21PASS : TestLogData::initTestCase() 22- 14:12:30.621 DEBUG: Found 99999 lines. 23- 14:12:30.639 DEBUG: Found 99999 lines. 24- 14:12:30.707 DEBUG: Found 99999 lines. 25- 14:12:30.717 DEBUG: Found 99999 lines. 26- 14:12:30.728 DEBUG: Found 99999 lines. 27RESULT : TestLogData::simpleLoad(): 28 10 msec per iteration (total: 21, iterations: 2) 29PASS : TestLogData::simpleLoad() 30- 14:12:30.780 DEBUG: Found 99999 lines. 31RESULT : TestLogData::sequentialRead(): 32 650,750 msec per iteration (total: 650750, iterations: 1) 33PASS : TestLogData::sequentialRead() 34- 14:23:21.586 DEBUG: Found 99999 lines. 35RESULT : TestLogData::randomPageRead(): 36 1,305,466 msec per iteration (total: 1305466, iterations: 1) 37PASS : TestLogData::randomPageRead() 38PASS : TestLogData::cleanupTestCase() 39Totals: 5 passed, 0 failed, 0 skipped 40********* Finished testing of TestLogData ********* 41 42 43With 9999 lines: 44RESULT : TestLogData::simpleLoad(): 45 1.3 msec per iteration (total: 21, iterations: 16) 46PASS : TestLogData::simpleLoad() 47- 14:53:26.232 DEBUG: Found 9999 lines. 48RESULT : TestLogData::sequentialRead(): 49 6,475 msec per iteration (total: 6475, iterations: 1) 50PASS : TestLogData::sequentialRead() 51- 14:53:32.713 DEBUG: Found 9999 lines. 52RESULT : TestLogData::randomPageRead(): 53 11,009 msec per iteration (total: 11009, iterations: 1) 54PASS : TestLogData::randomPageRead() 55PASS : TestLogData::cleanupTestCase() 56Totals: 5 passed, 0 failed, 0 skipped 57 58Memory: 1,048,576B 59 60 61 62Tab expansion fix: 63before: 64 TestLogData::sequentialRead(): 58,011 msec 65 TestLogData::randomPageRead(): 11,376 msec 66 67after step 1: 68 TestLogData::sequentialRead(): 55,662 msec 69 TestLogData::sequentialReadExpanded(): 91,141 msec 70 TestLogData::randomPageRead(): 10,592 msec 71 TestLogData::randomPageReadExpanded(): 183,567 msec 72