ant-design / cssinjs

https://ant-design.github.io/cssinjs
MIT License
235 stars 57 forks source link

perf: Use unique match logic #145

Closed zombieJ closed 8 months ago

zombieJ commented 8 months ago

ref https://github.com/ant-design/ant-design/issues/45296

github-actions[bot] commented 8 months ago

😭 Deploy PR Preview b38c02f2c161a81fc18a997a5f4bbe7c12eb76b2 failed. Build logs

🤖 By surge-preview

codecov-commenter commented 8 months ago

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (824de0e) 94.53% compared to head (b9b2912) 94.32%.

:exclamation: Current head b9b2912 differs from pull request most recent head b38c02f. Consider uploading reports for the commit b38c02f to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #145 +/- ## ========================================== - Coverage 94.53% 94.32% -0.22% ========================================== Files 25 25 Lines 2179 2202 +23 Branches 344 346 +2 ========================================== + Hits 2060 2077 +17 - Misses 119 125 +6 ``` | [Files](https://app.codecov.io/gh/ant-design/cssinjs/pull/145?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | | |---|---|---| | [src/hooks/useCacheToken.tsx](https://app.codecov.io/gh/ant-design/cssinjs/pull/145?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2hvb2tzL3VzZUNhY2hlVG9rZW4udHN4) | `99.42% <100.00%> (-0.02%)` | :arrow_down: | | [src/transformers/px2rem.ts](https://app.codecov.io/gh/ant-design/cssinjs/pull/145?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL3RyYW5zZm9ybWVycy9weDJyZW0udHM=) | `100.00% <100.00%> (ø)` | | | [src/util.ts](https://app.codecov.io/gh/ant-design/cssinjs/pull/145?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL3V0aWwudHM=) | `51.35% <78.57%> (+6.35%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.