Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Scope destroy + better DI inference #798

Merged
merged 3 commits into from
Mar 16, 2012

Conversation

IgorMinar
Copy link
Contributor

No description provided.

perf testing shows that in chrome this change adds 5-15% overhead
when destroying 10k nested scopes where each scope has a $destroy listener
this is to enable nicer tests:

 describe('fooSvc', function() {
   var fooSvc;

   beforeEach(inject(function(_fooSvc_) {
     fooSvc = _fooSvc_;
   }));

   it('should do this thing', function() {
     //test fooSvc
   });
 });
@IgorMinar IgorMinar merged commit f13dd33 into angular:master Mar 16, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants