Intent to Extend Origin Trial: performance.measureMemory

88 views
Skip to first unread message

Ulan Degenbaev

unread,
May 19, 2020, 7:17:56 AM5/19/20
to blink-dev

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

The extension will be to extend the experiment from ending in Chrome 84 to ending in Chrome 86.


Any risks when the experiment finishes?

No.


Reason this experiment is being extended

Previous Intent to Experiment: https://groups.google.com/a/chromium.org/d/msg/blink-dev/zxCKzulX424/Ac3zzMqqAQAJ

Reasons:

- The origin trial was planned from M82 to M84. Since M82 was skipped, we lost one milestone of coverage.

- Due to the current situation, the development speed is slower both on my side and for web developers. We need more time to gather feedback and address it.


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


Yoav Weiss

unread,
May 19, 2020, 7:56:59 AM5/19/20
to Ulan Degenbaev, blink-dev
LGTM

--
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/CABNJt2%2BPDhVRSfe9OGtNrbj1pzDxS%3D0Gj0X3Rhi3yBAQMajgug%40mail.gmail.com.

Ulan Degenbaev

unread,
May 19, 2020, 8:52:18 AM5/19/20
to Yoav Weiss, blink-dev
Thank you, Yoav!

Joe Medley

unread,
May 19, 2020, 11:16:15 AM5/19/20
to Ulan Degenbaev, blink-dev
Just to be clear, you're extending to 85?

Joe
Joe Medley | Technical Writer, Chrome DevRel | jme...@google.com | 816-678-7195
If an API's not documented it doesn't exist.


Ulan Degenbaev

unread,
May 20, 2020, 11:02:07 AM5/20/20
to Joe Medley, blink-dev
I'd like to extend to 86
Reply all
Reply to author
Forward
0 new messages