ENG-6472 Added histogram latency stats to web studio

The compressed or serialized bytes are also something you want to memoize. However since they aren't modified in place you would actually want to store the compressed result as a weak reference to avoid having the memoized object constantly promoted.

You also want to update the contents not based on expiration (which is handled by the underlying histogram supplier), but when there is a change (which you could check using total count).