Skip to content

perf: reduce Context code #4100

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

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

perf: reduce Context code #4100

wants to merge 11 commits into from

Conversation

yusukebe
Copy link
Member

@yusukebe yusukebe commented Apr 21, 2025

Don't optimize, but reduce the code.

The author should do the following, if applicable

  • Add tests
  • Run tests
  • bun run format:fix && bun run lint:fix to format the code
  • Add TSDoc/JSDoc to document the code

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

Copy link

codecov bot commented Apr 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.31%. Comparing base (c277c75) to head (8fae64e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4100      +/-   ##
==========================================
- Coverage   91.34%   91.31%   -0.04%     
==========================================
  Files         168      168              
  Lines       10700    10649      -51     
  Branches     3181     3092      -89     
==========================================
- Hits         9774     9724      -50     
+ Misses        925      924       -1     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

Copy link

Bundle size check

main (c277c75) #4100 (dc22e5e) +/-
Bundle Size (B) 18,933B 18,116B -817B
Bundle Size (KB) 18.49K 17.69K -0.8K

Compiler Diagnostics

main (c277c75) #4100 (dc22e5e) +/-
Files 261 261 0
Lines 116,438 116,367 -71
Identifiers 114,433 114,394 -39
Symbols 303,855 303,786 -69
Types 214,832 214,826 -6
Instantiations 3,091,594 3,091,596 2
Memory used 444,751K 446,776K 2,025K
I/O read 0.02s 0.02s 0s
I/O write 0s 0s 0s
Parse time 0.67s 0.64s -0.03s
Bind time 0.28s 0.28s 0s
Check time 5.77s 5.47s -0.3s
Emit time 0s 0s 0s
Total time 6.72s 6.39s -0.33s

Reported by octocov

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