Skip to content
  • sam marshall's avatar
    MDL-72596 core_cache: Track cache I/O size in perfdebug · 9c29979b
    sam marshall authored
    For cache types which mean this information can be obtained without a
    significant performance cost (i.e. just by calling strlen and not
    having to serialize something that wasn't serialized already),
    this change calculates the size of data read from or written to cache
    in each request and includes it in the perfdebug table at bottom of
    output (when that is turned on).
    
    This supports the following cache types:
    
    * File store
    * Redis (only if caching is enabled)
    9c29979b