Joao Dias
a382d6dd20
style: add missing semicolons
2016-10-31 14:25:53 -07:00
Joao Dias
52bf188b8f
style: add missing copyright headers
2016-10-31 14:25:53 -07:00
Tobias Bosch
fe299f4dfc
refactor(compiler): minor cleanups
2016-10-26 14:32:24 -07:00
Tobias Bosch
faa3478514
refactor(compiler): set element attributes via one call
...
This makes the cost of using directives that have host attributes
smaller.
Part of #11683
2016-10-26 14:32:23 -07:00
Victor Berchet
57051f01ce
refactor: remove most facades ( #12399 )
2016-10-21 15:14:44 -07:00
Tobias Bosch
24facdea2d
feat(benchmark): add large form benchmark
...
This benchmark tracks the generated file size for large forms
as well as the time to create and destroy many form fields.
2016-10-19 09:39:16 -07:00
Tobias Bosch
aa2d3372a5
fix(benchmarks): fix method name in targetable spec
2016-10-19 09:39:16 -07:00
Victor Berchet
606e51881a
perf(benchmarks): update ng2-switch to match ng2
...
- use the ~same template layout (text nodes),
- use trackBy
both benchmark now show about the same perfs.
2016-10-12 17:11:46 -07:00
Victor Berchet
fdf4309b50
perf(common): optimize NgSwitch default case
...
relates to #11297
2016-10-12 17:11:46 -07:00
Victor Berchet
d972d82354
refactor: simplify isPresent(x) ? x : y to x || y ( #12166 )
...
Closes #12166
2016-10-10 09:20:58 -07:00
Alex Eagle
8c975ed156
refactor(facade): inline StringWrapper ( #12051 )
2016-10-06 15:10:27 -07:00
Tobias Bosch
de1f44f51f
fix(benchmarks): allow ng2_switch benchmark to be used with AoT. ( #12124 )
2016-10-06 10:22:08 -07:00
Tobias Bosch
f1cfddf6d6
refactor(benchmarks): add index_aot to support AoT bootstrap. ( #12105 )
...
Note: This only make sure it can compile the AoT version, but does not yet use it in e2e tests.
2016-10-06 08:37:37 -07:00
Tobias Bosch
5fa5ffb82a
refactor(benchmarks): refactor to support AOT bootstrap in G3 ( #12075 )
2016-10-04 16:27:45 -07:00
Alex Eagle
b64b5ece65
refactor(facade): Remove most of StringMapWrapper facade. ( #12022 )
...
This change mostly automated by
https://github.com/alexeagle/tslint/commit/12012b07a2f7c341424aee5b40660ca0839bc347
with some manual fixes.
2016-10-03 16:46:05 -07:00
Alex Eagle
decd129a4d
refactor(facade): remove DateWrapper ( #12027 )
2016-10-02 14:12:14 -07:00
Tobias Bosch
2045c9e8ee
docs: update docs for ng2_ftl benchmark
2016-09-30 10:42:21 -07:00
Tobias Bosch
df1822fc2a
benchmarks: add ng2_ftl and ng2_switch_ftl benchmarks ( #11963 )
...
These benchmarks take the output of AoT
and manually tweaks it to explore possible
future changes to the compiler to produce
this output directly.
2016-09-30 09:09:31 -07:00
Alex Eagle
41c8c30973
chore(lint): remove unused imports ( #11923 )
...
This was done automatically by tslint, which can now fix issues it finds.
The fixer is still pending in PR https://github.com/palantir/tslint/pull/1568
Also I have a local bugfix for https://github.com/palantir/tslint/issues/1569
which causes too many imports to be deleted.
2016-09-27 17:12:25 -07:00
Tobias Bosch
df4c0a3d1f
refactor(benchmarks): align tree benchmark with largetable benchmark
...
- add ng2_switch benchmark to track `ngFor` over `ngSwitch`
- measure create only, createDestroy and update
- simplify the created dom
- always add a style binding
2016-09-06 12:07:12 -07:00
Tobias Bosch
b4363bc8af
feat(benchmarks): add targetable benchmarks back
2016-09-06 12:07:12 -07:00
Tobias Bosch
2581c0851a
feat(benchmarks): add incremental-dom version of deep tree benchmark
2016-09-01 14:13:33 -07:00
Tobias Bosch
27d72e87c3
feat(benchmarks): add baseline for deep tree that only used createElement
2016-09-01 14:13:33 -07:00
Tobias Bosch
eef4c22e87
feat(benchmarks): add static tree benchmark
2016-09-01 14:13:33 -07:00
Tobias Bosch
6ea5b05e7c
refactor(benchmarks): make setup nicer
...
- simplify and correct systemjs config
- remove deep imports into Ng2 packages to work with bundles
- have separate Ng2 and Polymer bootstrap files
2016-08-31 11:24:22 -07:00
Tobias Bosch
f7b5478e9f
feat(benchmarks): add polymer_leaves benchmark
2016-08-31 08:24:11 -07:00
Tobias Bosch
6dceaf209d
fix(benchmarks): recreate setup for running benchmarks
2016-08-31 08:24:10 -07:00
Tobias Bosch
c377e80670
chore: format benchmarks
...
closes #11112
2016-08-29 12:43:25 -07:00
Tobias Bosch
61002733bc
refactor(benchmarks): make tree benchmark work again
2016-08-29 12:42:57 -07:00
Igor Minar
73a9ee4a05
Remove component resolver ( #10858 )
...
* refactor(core): remove deprecated ComponentResolver
BREAKING CHANGE: deprecated ComponentResolver was removed
Please follow deprecation instruction and migrate your code to use ComponentFactoryResolver.
* refactor(common): remove deprecated NgSwitchWhen directive
BREAKING CHANGE: previously deprecated NgSwitchWhen directive was removed, use NgSwitchCase instead
2016-08-16 16:48:32 -07:00