build: fix benchmarks for render3 (#20855)

PR Close #20855
This commit is contained in:
Miško Hevery
2017-12-19 15:01:05 -08:00
committed by Igor Minar
parent a77757277b
commit 66528a21f6
12 changed files with 54 additions and 21 deletions

View File

@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.io/license
*/
import {renderComponent} from '@angular/core/src/render3/index';
import {ɵrenderComponent as renderComponent} from '@angular/core';
import {bindAction, profile} from '../../util';

View File

@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.io/license
*/
import {C, E, T, V, b, c, cR, cr, defineComponent, detectChanges, e, s, t, v} from '@angular/core/src/render3/index';
import {ɵC as C, ɵE as E, ɵT as T, ɵV as V, ɵb as b, ɵc as c, ɵcR as cR, ɵcr as cr, ɵdefineComponent as defineComponent, ɵdetectChanges as detectChanges, ɵe as e, ɵs as s, ɵt as t, ɵv as v} from '@angular/core';
import {ComponentDef} from '@angular/core/src/render3/public_interfaces';
import {TableCell, buildTable, emptyTable} from '../util';

View File

@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.io/license
*/
import {renderComponent} from '@angular/core/src/render3/index';
import {ɵrenderComponent as renderComponent} from '@angular/core';
import {bindAction, profile} from '../../util';
import {TreeComponent, createDom, destroyDom, detectChanges} from './tree';

View File

@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.io/license
*/
import {C, D, E, T, V, b, b1, c, cR, cr, defineComponent, detectChanges as _detectChanges, e, p, s, t, v} from '@angular/core/src/render3/index';
import {ɵC as C, ɵD as D, ɵE as E, ɵT as T, ɵV as V, ɵb as b, ɵb1 as b1, ɵc as c, ɵcR as cR, ɵcr as cr, ɵdefineComponent as defineComponent, ɵdetectChanges as _detectChanges, ɵe as e, ɵp as p, ɵs as s, ɵt as t, ɵv as v} from '@angular/core';
import {ComponentDef} from '@angular/core/src/render3/public_interfaces';
import {TreeNode, buildTree, emptyTree} from '../util';
@ -57,11 +57,11 @@ export class TreeComponent {
{
if (cm0) {
E(0, TreeComponent.ngComponentDef);
{ D(0, TreeComponent.ngComponentDef.n(), TreeComponent.ngComponentDef); }
{ D(1, TreeComponent.ngComponentDef.n(), TreeComponent.ngComponentDef); }
e();
}
p(0, 'data', b(ctx.data.left));
TreeComponent.ngComponentDef.r(0, 0);
TreeComponent.ngComponentDef.r(1, 0);
}
v();
}
@ -74,11 +74,11 @@ export class TreeComponent {
{
if (cm0) {
E(0, TreeComponent.ngComponentDef);
{ D(0, TreeComponent.ngComponentDef.n(), TreeComponent.ngComponentDef); }
{ D(1, TreeComponent.ngComponentDef.n(), TreeComponent.ngComponentDef); }
e();
}
p(0, 'data', b(ctx.data.right));
TreeComponent.ngComponentDef.r(0, 0);
TreeComponent.ngComponentDef.r(1, 0);
}
v();
}

View File

@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.io/license
*/
import {renderComponent} from '@angular/core/src/render3/index';
import {ɵrenderComponent as renderComponent} from '@angular/core';
import {bindAction, profile} from '../../util';
import {TreeFunction, createDom, destroyDom, detectChanges} from '../render3/tree';