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(reactive): improve reactive performance #3430

Merged
merged 5 commits into from
Sep 30, 2022
Merged

Conversation

janryWang
Copy link
Collaborator

Before submitting a pull request, please make sure the following is done...

  • Ensure the pull request title and commit message follow the Commit Specific in English.
  • Fork the repo and create your branch from master or formily_next.
  • If you've added code that should be tested, add tests!
  • If you've changed APIs, update the documentation.
  • Ensure the test suite passes (npm test).
  • Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.

Please do not delete the above content


What have you changed?

@codecov
Copy link

codecov bot commented Sep 30, 2022

Codecov Report

Base: 96.17% // Head: 96.18% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (9a1ab01) compared to base (f05cb6b).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@              Coverage Diff              @@
##           formily_next    #3430   +/-   ##
=============================================
  Coverage         96.17%   96.18%           
=============================================
  Files               152      152           
  Lines              6590     6600   +10     
  Branches           1783     1783           
=============================================
+ Hits               6338     6348   +10     
  Misses              252      252           
Impacted Files Coverage Δ
packages/reactive/src/annotations/computed.ts 100.00% <100.00%> (ø)
packages/reactive/src/annotations/ref.ts 100.00% <100.00%> (ø)
packages/reactive/src/environment.ts 100.00% <100.00%> (ø)
packages/reactive/src/externals.ts 90.80% <100.00%> (+0.21%) ⬆️
packages/reactive/src/internals.ts 95.12% <100.00%> (ø)
packages/reactive/src/model.ts 100.00% <100.00%> (ø)
packages/reactive/src/observable.ts 100.00% <100.00%> (ø)
packages/reactive/src/observe.ts 96.29% <100.00%> (+0.14%) ⬆️
packages/reactive/src/reaction.ts 96.85% <100.00%> (+0.04%) ⬆️
packages/reactive/src/tree.ts 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 30, 2022

Size Change: +154 B (0%)

Total Size: 568 kB

Filename Size Change
packages/reactive/dist/formily.reactive.umd.development.js 9.49 kB +89 B (+1%)
packages/reactive/dist/formily.reactive.umd.production.js 5.34 kB +65 B (+1%)
ℹ️ View Unchanged
Filename Size
packages/antd/dist/formily.antd.umd.development.js 73.6 kB
packages/antd/dist/formily.antd.umd.production.js 41.2 kB
packages/core/dist/formily.core.umd.development.js 20.1 kB
packages/core/dist/formily.core.umd.production.js 13.5 kB
packages/element/dist/formily.element.umd.development.js 76.1 kB
packages/element/dist/formily.element.umd.production.js 42.8 kB
packages/grid/dist/formily.grid.umd.development.js 9.01 kB
packages/grid/dist/formily.grid.umd.production.js 6.07 kB
packages/json-schema/dist/formily.json-schema.umd.development.js 6.96 kB
packages/json-schema/dist/formily.json-schema.umd.production.js 4.43 kB
packages/next/dist/formily.next.umd.development.js 78.6 kB
packages/next/dist/formily.next.umd.production.js 45.7 kB
packages/path/dist/formily.path.umd.development.js 11.1 kB
packages/path/dist/formily.path.umd.production.js 7.71 kB
packages/react/dist/formily.react.umd.development.js 11.6 kB
packages/react/dist/formily.react.umd.production.js 7.25 kB
packages/reactive-react/dist/formily.reactive-react.umd.development.js 4.15 kB
packages/reactive-react/dist/formily.reactive-react.umd.production.js 2.46 kB
packages/reactive-vue/dist/formily.reactive-vue.umd.development.js 11.8 kB
packages/reactive-vue/dist/formily.reactive-vue.umd.production.js 6.06 kB
packages/shared/dist/formily.shared.umd.development.js 7.42 kB
packages/shared/dist/formily.shared.umd.production.js 4.3 kB
packages/validator/dist/formily.validator.umd.development.js 8.43 kB
packages/validator/dist/formily.validator.umd.production.js 6.28 kB
packages/vue/dist/formily.vue.umd.development.js 30.1 kB
packages/vue/dist/formily.vue.umd.production.js 16.4 kB

compressed-size-action

@janryWang janryWang merged commit 5196f45 into formily_next Sep 30, 2022
@janryWang janryWang deleted the perf_reactive_02 branch September 30, 2022 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant