Tobias Bosch
5c064c19e2
feat(perf): autoscale benchmarks depending on the browser.
2015-01-20 13:06:37 -08:00
Rado Kirov
7f701da66f
fix(events): extract eventHandler to new function scope.
2015-01-16 16:46:01 -08:00
Rado Kirov
2381c3640b
fix(event): check hydration before firing event.
...
It is unlikely, but it can happen that an event is fired on a dehydrated
view. Extra guard asserts the events fire only on hydrated views.
2015-01-16 13:43:02 -08:00
vsavkin
fb1b1da7b9
feat(directive): notify directive before they get destroyed
2015-01-15 18:16:11 -08:00
vsavkin
ec8e9f5634
feat(emuldated_shadow_dom): implement intermediate content tags
2015-01-15 17:43:45 -08:00
Jeff Cross
bc8e517ae2
feat(largeTable): add AngularJS 1.x largetable benchmark
2015-01-15 13:38:31 -08:00
Jeff Cross
dfcce3a789
fix(treeBenchmark): bootstrap only relevant portion to prevent angular from clobbering form
2015-01-15 13:38:31 -08:00
Jeff Cross
a2b58202a0
feat(benchpress): add getStringParameter method to support text and radio inputs
2015-01-15 13:38:31 -08:00
Tobias Bosch
d02c0accbb
refactor(benchmarks): add cloud reporter, add params
...
- adds console and cloud reporter (via Google BigQuery).
- makes parameters of tests explicit and modifiable.
- removes `detect` and `ignoreGc` mode from benchpress
as these can result in unstable numbers.
2015-01-15 09:09:05 -08:00
Rado Kirov
af02f2beb1
fix(e2e): adds events to hello world static.
...
Extends e2e test to cover events.
2015-01-14 18:00:27 -08:00
vsavkin
bf609f0e56
refactor(tests): exctract createElement into a helper
2015-01-14 09:13:56 -08:00
Rado Kirov
c5b0baf805
feat(view): adds event binding to view instantiation.
...
Only native non-bubbling events are supported by the commit.
2015-01-13 21:12:52 -08:00
Rado Kirov
bccc863567
fix(benchmark): remove duplicate line.
2015-01-13 21:09:28 -08:00
Misko Hevery
f6ebaf74d3
perf: force GC on profiles
2015-01-13 13:06:17 -08:00
vsavkin
abf03401df
make dart analyzer happy
2015-01-13 11:14:05 -08:00
vsavkin
3c692a1b85
feat(element_injector): add distance to propertly implement @parent
2015-01-13 09:39:08 -08:00
Misko Hevery
bed4b52a63
perf: Change baseline benchmark to be more consistent with the Angular
2015-01-12 21:58:19 -08:00
Misko Hevery
e4a4ec840e
perf: run CPU profile on constant count so that time numbers can be compared between runs
2015-01-12 21:58:18 -08:00
Misko Hevery
c0a99ee7b1
perf: remove field declarations from branches in constructors
...
This should help with hidden class detection.
2015-01-12 15:16:25 -08:00
Misko Hevery
6e9f48564f
perf: add button for profiling tree benchmark
2015-01-12 15:16:24 -08:00
Misko Hevery
2e1feec257
perf: use === instead of == for faster checks.
2015-01-12 15:16:24 -08:00
Victor Berchet
41907853b4
refactor(view): code simplification
2015-01-09 19:09:54 +01:00
Victor Berchet
bcd6e4c468
feat(directive): add ng-non-bindable directive
2015-01-09 09:23:37 +01:00
Victor Berchet
48e50121d4
feat(compiler): handle compileChildren from @Decorator
2015-01-09 09:23:37 +01:00
Victor Berchet
9cacde92bb
refactor(NgRepeat): remove dead code
2015-01-09 09:23:37 +01:00
Victor Berchet
4f2f083b16
feat(compiler): allow ignoring element children
2015-01-09 09:22:50 +01:00
Victor Berchet
c141cbe865
refactor(pipeline_spec): remove dead code
2015-01-09 09:22:50 +01:00
vsavkin
2074cc1ca9
fix(bootstrap): change bootstrap not to create a separate injector for the provided bindings
...
Currently, we create a separate injector for the passed-in / root bindings. This injectors sits below the one creating the application component. This means that the applicaiton component cannot access the passed-in bindings.
2015-01-08 19:53:18 -08:00
vsavkin
fbcc59dc67
feat(components): initial implementation of emulated content tag
2015-01-08 19:38:37 -08:00
Tobias Bosch
14e91e209e
feat(test): add e2e tests for benchmarks and examples
...
Disables running the actual benchmarks on every commit as well
to speed up the build.
2015-01-08 10:51:08 -08:00
vsavkin
8c6527251b
cleanup: remove `import from "test_lib"` from production code
2015-01-08 09:53:17 -08:00
vsavkin
6bb3b81465
cleanup: remove toBool
...
Since we decided to use the semantics of the host language, toBool is no longer needed.
2015-01-08 09:52:09 -08:00
Tobias Bosch
77aa3ed61b
feat(benchpress): show more metrics and make the run mode configurable
...
Shows the metrics:
script, render, gcAmount, gcAmountInScript, gcTime
Run modes:
- detect: auto detect whether to force gc
- forceGc: forces a gc before every run and ignores no runs
- noGcInScript: ignore runs that have gc while a script was executing
- plain: does not force gc nor ignore runs
Closes #368
2015-01-07 16:37:52 -08:00
Tobias Bosch
82b1601a31
refactor(benchmarks): rename `timeBenchmark` into `benchmark`
2015-01-07 16:37:52 -08:00
Stephen Adams
1320175646
perf(change detection): minimized amount of code in protective try-catch
2015-01-07 13:12:43 -08:00
Rado Kirov
a6a6273263
fix(compiler): fix nextSibling iterator in compiler.
...
Due to DOM manipulations happening during compilation, it is not correct
to call nextSibling after compilation steps.
2015-01-07 13:12:37 -08:00
Felipe Batista
ef20b706aa
Replaced Children loop iteration for the firstChild method
2015-01-07 09:48:07 -08:00
Victor Berchet
457cbaa39b
fix(ProtoView): element injector should have either a parent or a host
...
fix #359
2015-01-07 11:55:58 +01:00
Victor Berchet
09092b269c
fix(ElementBinderBuilder): allow a directive to have mutliple bindings
...
fix #320
2015-01-07 09:33:29 +01:00
Victor Berchet
7027674081
fix(compiler): fix a typo in BIND_NAME_REGEXP
2015-01-07 09:31:52 +01:00
gdi2290
164cf5b2a3
style(async): add missing type annotation js/dart
2015-01-06 18:10:10 -08:00
Tobias Bosch
fe2a09bc7f
refactor(perf): e2e tests and benchpress should be written in es6
2015-01-06 15:32:49 -08:00
Misko Hevery
373fd7d04a
chore: add dart2js flags to benchmark to enable trust-type-annotations
2015-01-06 15:17:12 -08:00
Misko Hevery
0866485f95
perf: Traverse dom using firstChild instead of childNodes
...
5% improvement in speed by not using childNodes DOM API.
2015-01-06 13:16:57 -08:00
Tobias Bosch
6f303121c6
refactor(perf): introduce benchpress2
...
Major changes:
- make API more reusable
- format output nicely
- only force gc if needed
Regarding forcing gc:
Forcing gc can change script execution time.
We now don't force gc at first and ignore results where gc happens during script execution.
When we ignored too many results, we switch to forcing gc.
Closes #339
2015-01-05 17:49:50 -08:00
vsavkin
53906e484a
fix(compiler): fix a dart analyzer warning
2014-12-30 13:25:18 -08:00
Tobias Bosch
3a80c4197d
refactor(perf): move navigation into test files and rename `runSimpleBenchmark`
2014-12-29 16:58:31 -08:00
vsavkin
e5dbc69f42
cleanup(di): change di.js to declare all exported symbols
2014-12-29 15:20:50 -08:00
vsavkin
739f624cc8
refactor(change_detection): add change_detection library file
2014-12-29 15:20:42 -08:00
vsavkin
f06433fb58
feat(test_lib): implement SpyObject
2014-12-29 13:27:17 -08:00