You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VM and Dartium don't respect @lazy and DeferredLibrary #10171
In the network panel of Dev Tools, I see the request for reverser.dart immediately on page load. I was expecting now to see the request until after the Timer fires.
This seams like a very important performance feature that must be included in the vm and dartium. Could this also applies to html imports? I have followed the posts from ilya grigorik about 1 second load times for web pages and js deferring and other code loading is fundamental so i dont see any reason not to do it on the vm. I hope it comes soon to the vm also
We haven't really discussed this in details yet. It isn't clear what the VM is supposed to do -- I think dart2dart translation might be a part of the answer here.
As Kasper said in comment 3, so far this has been discussed a deployment feature which you will get with dart2dart. The VMs involvement in supporting this ends with giving the dart2dart generated code access to loading sources lazily through a library call. This library API still needs to be specified though.
Activity
DartBot commentedon Apr 24, 2013
This comment was originally written by @mhausner
Is there an agreed upon spec that defines semantics of annotations that the VM has to recognize and follow?
DartBot commentedon Apr 24, 2013
This comment was originally written by ventura....@gmail.com
This seams like a very important performance feature that must be included in the vm and dartium. Could this also applies to html imports? I have followed the posts from ilya grigorik about 1 second load times for web pages and js deferring and other code loading is fundamental so i dont see any reason not to do it on the vm. I hope it comes soon to the vm also
kasperl commentedon Apr 25, 2013
We haven't really discussed this in details yet. It isn't clear what the VM is supposed to do -- I think dart2dart translation might be a part of the answer here.
Changing to an "enhancement request".
cc @peter-ahe-google.
Removed Type-Defect label.
Added Type-Enhancement, Area-VM, Triaged labels.
iposva-google commentedon Apr 25, 2013
As Kasper said in comment 3, so far this has been discussed a deployment feature which you will get with dart2dart. The VMs involvement in supporting this ends with giving the dart2dart generated code access to loading sources lazily through a library call. This library API still needs to be specified though.
iposva-google commentedon Jun 5, 2013
Removed Priority-Medium label.
Added Priority-Unassigned label.
sethladd commentedon Jan 29, 2015
Added AssumedStale label.