Add performance metrics.

measureUserAgentSpecificMemory can only be used if Winscope is cross-origin isolated. This requirement is incompatible with Winscope cross-tool integration (e.g. opening from Buganizer/ABT).
To collect at least some performance metrics from the field, we use the
the deprecated memory property.

Bug: 392658517
Test: npm run test:unit:ci
Change-Id: Icd1d6323373321ca2ad1ded29c7fb84cbf138c6d
5 files changed