Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOT RELOAD: Optimizing reload #26807

Closed
3 tasks
johnmccutchan opened this issue Jun 30, 2016 · 2 comments
Closed
3 tasks

HOT RELOAD: Optimizing reload #26807

johnmccutchan opened this issue Jun 30, 2016 · 2 comments
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. vm-hot-reload

Comments

@johnmccutchan
Copy link
Contributor

johnmccutchan commented Jun 30, 2016

Both the reload code and the become are already annotated with timeline blocks. We can revise the current timeline blocks over time).

  • Establish baseline times for reloading dart2js while compiling X
  • Figure out what X is (probably something smallish so that the dart2js run doesn't take too long)
  • Make debug and release reload as quickly as possible

How to run dart2js:

In your top level sdk/ run the following once:

$ ln -s sdk/lib/ lib

In pkg/compiler run the following:
$ gdb --args ../../out/ReleaseX64/dart --timeline-dir=. --reload-every=500000 bin/dart2js.dart --categories=all path/to/entry.dart

@rmacnak-google
Copy link
Contributor

VerifyMaps is quite slow and has quadratic complexity.

@floitschG floitschG added the area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. label Jun 30, 2016
@johnmccutchan
Copy link
Contributor Author

I think this is mostly done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. vm-hot-reload
Projects
None yet
Development

No branches or pull requests

3 participants