Intent to Experiment: performance.measureMemory

191 views
Skip to first unread message

Ulan Degenbaev

unread,
Mar 4, 2020, 1:05:00 PM3/4/20
to blin...@chromium.org, Domenic Denicola

Contact emails

ul...@google.com


Spec

https://github.com/WICG/performance-measure-memory


Summary

The performance.measureMemory API allows web pages to measure their memory usage.


Link to “Intent to Prototype” blink-dev discussion

https://groups.google.com/a/chromium.org/g/blink-dev/c/cdUOyBAtWzo/m/BTgCdTQeBwAJ?pli=1


Goals for experimentation

We’re looking for feedback on API usefulness and performance.


To evaluate usefulness we will rely on the feedback from developers comparing the new API with the existing non-standard performance.memory API. We are specifically interested in accuracy and variability of the measurement results returned by the API.


To evaluate performance we will use V8 GC latency metrics.


The Origin Trial will be limited to JavaScript memory on site-isolated pages. Shipping of the API will be gated by COOP+COEP. See the launch bug: https://crbug.com/1048745 for the security discussion.


Experimental timeline

M82-M84


Any risks when the experiment finishes?

No.


Ongoing technical constraints

None.


Will this feature be supported on all five Blink platforms supported by Origin Trials (Windows, Mac, Linux, Chrome OS, and Android)?

The experiment will be limited only to platforms that have Site Isolation because that is necessary for security.


Link to entry on the feature dashboard

https://www.chromestatus.com/feature/5685965186138112


Manuel Rego Casasnovas

unread,
Mar 5, 2020, 1:04:56 AM3/5/20
to blin...@chromium.org


On 04/03/2020 19:04, 'Ulan Degenbaev' via blink-dev wrote:
> Link to “Intent to Prototype” blink-dev discussion
>
> https://groups.google.com/a/chromium.org/g/blink-dev/c/cdUOyBAtWzo/m/BTgCdTQeBwAJ?pli=1

This link is broken for me, I guess it is pointing to:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/cdUOyBAtWzo/MRmGAURjBQAJ

Bye,
Rego

Yoav Weiss

unread,
Mar 5, 2020, 2:24:28 AM3/5/20
to Manuel Rego Casasnovas, blink-dev
LGTM to experiment.
This API was met with a lot of industry enthusiasm when presented to the WebPerfWG. Gating it on isolated contexts makes perfect sense.

That's indeed the right link.
 


Bye,
  Rego

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/92e2f408-e02e-daee-c8fb-d753255e5e40%40igalia.com.

Kentaro Hara

unread,
Mar 5, 2020, 2:25:57 AM3/5/20
to Yoav Weiss, Manuel Rego Casasnovas, blink-dev
LGTM to experiment!





--
Kentaro Hara, Tokyo, Japan

Ulan Degenbaev

unread,
Mar 5, 2020, 8:49:27 AM3/5/20
to Kentaro Hara, Yoav Weiss, Manuel Rego Casasnovas, blink-dev
Thank you for the fast review, Yoav and Kentaro!

Rego, thank you for correcting the link.

Reply all
Reply to author
Forward
0 new messages