mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
71b400eb7b
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