Necko/MobileCache/MicroBenchmarks: Difference between revisions

Line 84: Line 84:
Time is measured in two ways: 1) for each individual load by by using the nsITimingChannel interface of the channel, and 2) by measuring run-time of the complete loop from the test itself.  
Time is measured in two ways: 1) for each individual load by by using the nsITimingChannel interface of the channel, and 2) by measuring run-time of the complete loop from the test itself.  


Informally one can say that this test loads a large number of uniformly sized resources at the same time, somewhat similar to what happens when starting up firefox with lots of open tabs. Empty and full caches are separately.
Informally one can say that this test triggers loading a large number of uniformly sized resources at the same time, somewhat similar to what happens when starting up firefox with lots of open tabs. Time to finish loading all resources is measured over combinations of memory-cache vs disk-cache, empty cache vs a full cache, cache containing small entries vs large entries, and all items found in the cache vs no item found in the cache.


==== Generated datafiles  ====
==== Generated datafiles  ====


This test writes data into a number of files. '''Note that''' all files are appended, meaning that if they exist prior to the run, you will have strange data...  
The test writes data into a number of files. '''Note that''' all files are appended, meaning that if they exist prior to the run, you may have unexpected results...  


;summary.dat 
;summary.dat 
97

edits