Necko/MobileCache/MicroBenchmarks: Difference between revisions

Line 69: Line 69:
                                         Total time      #runs  avg time/run
                                         Total time      #runs  avg time/run
  Setting datasize 50 bytes
  Setting datasize 50 bytes
  Load from server    (no cache)         2796           101    27.68
  CacheMiss (nocache) (no cache)         2803           101    27.75
  Load from server    (mem-cache)       2452           101    24.28
  CacheMiss (q-url)  (mem-cache)         2767           101    27.40
  Load from cache      (mem-cache)       210             101    2.08
  CacheHit            (mem-cache)         205             101    2.03
  Load from server    (disk-cache)       2805           101    27.77
  CacheMiss (q-url)  (disk-cache)       2783           101    27.55
  Load from cache      (disk-cache)       184             101    1.82
  CacheHit            (disk-cache)       186             101    1.84
  Setting datasize 1024 bytes
  Setting datasize 1024 bytes
  Load from server    (no cache)         2893           101    28.64
  CacheMiss (nocache) (no cache)         2884           101    28.55
  Load from server    (mem-cache)       2529           101    25.04
  CacheMiss (q-url)  (mem-cache)         2570           101    25.45
  Load from cache      (mem-cache)       272             101    2.69
  CacheHit            (mem-cache)         269             101    2.66
  Load from server    (disk-cache)       2936           101    29.07
  CacheMiss (q-url)  (disk-cache)       2910           101    28.81
  Load from cache      (disk-cache)       250             101    2.48
  CacheHit            (disk-cache)       271             101    2.68
  Setting datasize 51200 bytes
  Setting datasize 51200 bytes
  Load from server    (no cache)         9673           101    95.77
  CacheMiss (nocache) (no cache)         9546           101    94.51
  Load from server    (mem-cache)       9617           101    95.22
  CacheMiss (q-url)  (mem-cache)         9536           101    94.42
  Load from cache      (mem-cache)       3311           101    32.78
  CacheHit            (mem-cache)         3274           101    32.42
  Load from server    (disk-cache)       9588           101    94.93
  CacheMiss (q-url)  (disk-cache)       9543           101    94.49
  Load from cache      (disk-cache)       3307           101    32.74
  CacheHit            (disk-cache)       3274           101    32.42
  Setting datasize 524288 bytes
  Setting datasize 524288 bytes
  Load from server    (no cache)         76889           101    761.28
  CacheMiss (nocache) (no cache)         75942           101    751.90
  Load from server    (mem-cache)       76569           101    758.11
  CacheMiss (q-url)  (mem-cache)         75840           101    750.89
  Load from cache      (mem-cache)       27940           101    276.63
  CacheHit            (mem-cache)         27799           101    275.24
  Load from server    (disk-cache)       80344           101    795.49
  CacheMiss (q-url)  (disk-cache)       79318           101    785.33
  Load from cache      (disk-cache)       31521           101    312.09
  CacheHit            (disk-cache)       31333           101    310.23


The interesting numbers are found in the rightmost column of the output.
The interesting numbers are found in the rightmost column of the output.
97

edits