Contact emails
Explainer
We want to enable V8ContextSnapshot feature by default on Windows, MacOSX, Linux platforms.
Currently, we create V8 contexts from a snapshot of a context skeleton. If this feature is enabled, we substitute a snapshot that is set up for Blink. This change makes the creation faster.
Summary
This intent is to create V8 contexts for Blink from snapshot by default. The feature to do it is already implemented and shipped, but is enabled behind a flag.
According to Finch experiments, this feature makes metrics(*) of Blink.Binding.CreateV8ContextForMainFrame 36% shorter at 95th percentile and Blink.Binding.InitializeMainLocalWindowProxy 24% shorter at 75th percentile.
It seems a good evidence to improve their performance.
(*)
Blink.Binding.CreateV8ContextForMainFrame figures time to create an instance of v8::Context. We have to set up Window interface as a global object in this task.
Blink.Binding.InitializeMainLocalWindowProxy figures time to set up V8 environment for Blink. We prepare “document” object and wire some V8 objects with Blink objects in this task.
Link to “Intent to Implement” blink-dev discussion
Intent to Implement: V8 context snapshot
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
This feature is supported on Windows, Mac, and Linux.
For other platforms, i.e. Android and ChromeOS, we would like to support them separately in future.
--
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+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJnxdXCWTtvhBbXW%3Dv07hg7wbBWNAf9tvnfOAn5g2uLscZ-4Ww%40mail.gmail.com.
Not an owner, but since this introduces a significant build-time increase I feel like this needs some comments. Can you:
1) Confirm that we will keep a GN argument for developers who want to disable it?
2) Describe the situations in which the build-time increase happens. Only when cross-compiling, right?
3) Describe the situations in which the run-time performance improves.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJnxdXDK3HVEMa%2B499Ut1XDgj2JP9hj2khZJq7SWPDdsf%2B9GwA%40mail.gmail.com.
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/CAJnxdXCWTtvhBbXW%3Dv07hg7wbBWNAf9tvnfOAn5g2uLscZ-4Ww%40mail.gmail.com.
--Mostyn Bramley-MooreVewd Software
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJnxdXDK3HVEMa%2B499Ut1XDgj2JP9hj2khZJq7SWPDdsf%2B9GwA%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--
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/CABg10jxFnsTLa3tyGh094bi1iGMCdQcaj%2B1a1zin2OfEss6vgQ%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJnxdXCWTtvhBbXW%3Dv07hg7wbBWNAf9tvnfOAn5g2uLscZ-4Ww%40mail.gmail.com.
--Mostyn Bramley-MooreVewd Software
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJnxdXDK3HVEMa%2B499Ut1XDgj2JP9hj2khZJq7SWPDdsf%2B9GwA%40mail.gmail.com.
----Kentaro Hara, Tokyo, Japan
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+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABg10jxFnsTLa3tyGh094bi1iGMCdQcaj%2B1a1zin2OfEss6vgQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABg10jzD228evSund%2B5nP7EDSnOCTNRn1M7a6RjHD3F234U1rQ%40mail.gmail.com.
No, this is just a performance optimization :) No change in web-exposed behavior.
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/CAJnxdXCWTtvhBbXW%3Dv07hg7wbBWNAf9tvnfOAn5g2uLscZ-4Ww%40mail.gmail.com.
--Mostyn Bramley-MooreVewd Software
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJnxdXDK3HVEMa%2B499Ut1XDgj2JP9hj2khZJq7SWPDdsf%2B9GwA%40mail.gmail.com.
----Kentaro Hara, Tokyo, Japan
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/CABg10jxFnsTLa3tyGh094bi1iGMCdQcaj%2B1a1zin2OfEss6vgQ%40mail.gmail.com.
I may have asked this already -Forget about operating-system-level-cache-optimizations for a moment - is the context snapshot file loaded from the disk every time you spawn a new renderer?
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJnxdXCWTtvhBbXW%3Dv07hg7wbBWNAf9tvnfOAn5g2uLscZ-4Ww%40mail.gmail.com.
--Mostyn Bramley-MooreVewd Software
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJnxdXDK3HVEMa%2B499Ut1XDgj2JP9hj2khZJq7SWPDdsf%2B9GwA%40mail.gmail.com.
----Kentaro Hara, Tokyo, Japan
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+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABg10jxFnsTLa3tyGh094bi1iGMCdQcaj%2B1a1zin2OfEss6vgQ%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
On Thu, Feb 1, 2018 at 9:44 AM Kentaro Hara <har...@chromium.org> wrote:No, this is just a performance optimization :) No change in web-exposed behavior.In that case, I'd argue it doesn't really need LGTMs, and can be considered a PSA.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJnxdXCWTtvhBbXW%3Dv07hg7wbBWNAf9tvnfOAn5g2uLscZ-4Ww%40mail.gmail.com.
--Mostyn Bramley-MooreVewd Software
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJnxdXDK3HVEMa%2B499Ut1XDgj2JP9hj2khZJq7SWPDdsf%2B9GwA%40mail.gmail.com.
----Kentaro Hara, Tokyo, Japan
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+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABg10jxFnsTLa3tyGh094bi1iGMCdQcaj%2B1a1zin2OfEss6vgQ%40mail.gmail.com.