Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(module:tabs): do not run change detection when the promise resolves #7144

Merged
merged 1 commit into from Feb 22, 2022

Conversation

arturovt
Copy link
Member

PR Checklist

PR Type

[x] Refactoring (no functional changes, no api changes)

@zorro-bot
Copy link

zorro-bot bot commented Dec 23, 2021

This preview will be available after the AzureCI is passed.

@codecov
Copy link

codecov bot commented Dec 23, 2021

Codecov Report

Merging #7144 (8de4041) into master (ab78821) will increase coverage by 1.91%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7144      +/-   ##
==========================================
+ Coverage   89.75%   91.66%   +1.91%     
==========================================
  Files         488      486       -2     
  Lines       15937    15955      +18     
  Branches     2579     2589      +10     
==========================================
+ Hits        14304    14625     +321     
- Misses       1001     1015      +14     
+ Partials      632      315     -317     
Impacted Files Coverage Δ
components/tabs/tabset.component.ts 91.87% <100.00%> (+2.29%) ⬆️
components/table/src/table/tr-measure.component.ts 86.95% <0.00%> (-13.05%) ⬇️
components/table/src/table/tbody.component.ts 88.88% <0.00%> (-11.12%) ⬇️
components/core/overlay/nz-connected-overlay.ts 80.00% <0.00%> (-5.72%) ⬇️
components/input/input.directive.ts 93.93% <0.00%> (-3.04%) ⬇️
...ts/table/src/table/table-inner-scroll.component.ts 80.00% <0.00%> (-1.43%) ⬇️
components/menu/menu-item.directive.ts 76.38% <0.00%> (-0.43%) ⬇️
components/cascader/cascader-li.component.ts 100.00% <0.00%> (ø)
components/transfer/transfer-list.component.ts 96.22% <0.00%> (ø)
components/test.ts
... and 125 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ab78821...8de4041. Read the comment docs.

Copy link
Member

@simplejason simplejason left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@simplejason simplejason merged commit 148f84d into NG-ZORRO:master Feb 22, 2022
@arturovt arturovt deleted the perf/tabs-promise branch February 22, 2022 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants