Repository navigation
Conversation
There was a problem hiding this comment.
i don't see why we need to have this function. Can we just call the one in the render3 folder?
|
faae227 to
7e2f407
Compare
pkozlowski-opensource
left a comment
There was a problem hiding this comment.
LGTM generally speaking. I'm just slightly worried about the fact that we start to have multiple ways of defining test directives, ex. compare your approach with the already existing one: https://github.com/angular/angular/blob/master/packages/core/test/render3/perf/directive_instantiate/index.ts
Could you think of mutualising those directive creation utils (not now, but something to keep in mind).
7e2f407 to
2d732a9
Compare
…bindings Prior to this patch all the styling benchmarks only tested for template map-based style/class bindings. Because of each of the bindings being only present in the template, there was no possibility of there being any duplicate map-based styling bindings. This benchmark introduces benchmarking for map-based style/class bindings that are evaluated from both template bindings as well as directives. This benchmark can be executed by calling: ``` bazel build //packages/core/test/render3/perf:duplicate_map_based_style_and_class_bindings_lib.min_debug.es2015.js node dist/bin/packages/core/test/render3/perf/duplicate_map_based_style_and_class_bindings_lib.min_debug.es2015.js ``` The benchmark is also run via the `profile_all.js` script (found in `packages/core/test/render3/perf/`)
2d732a9 to
894f7cc
Compare
…bindings (#33608) Prior to this patch all the styling benchmarks only tested for template map-based style/class bindings. Because of each of the bindings being only present in the template, there was no possibility of there being any duplicate map-based styling bindings. This benchmark introduces benchmarking for map-based style/class bindings that are evaluated from both template bindings as well as directives. This benchmark can be executed by calling: ``` bazel build //packages/core/test/render3/perf:duplicate_map_based_style_and_class_bindings_lib.min_debug.es2015.js node dist/bin/packages/core/test/render3/perf/duplicate_map_based_style_and_class_bindings_lib.min_debug.es2015.js ``` The benchmark is also run via the `profile_all.js` script (found in `packages/core/test/render3/perf/`) PR Close #33608
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Prior to this patch all the styling benchmarks only tested for
template map-based style/class bindings. Because of each of the bindings
being only present in the template, there was no possibility of
there being any duplicate map-based styling bindings.
This benchmark introduces benchmarking for map-based style/class bindings
that are evaluated from both template bindings as well as directives.
This benchmark can be executed by calling:
The benchmark is also run via the
profile_all.jsscript (found inpackages/core/test/render3/perf/)