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

Feat: optimize fiber primitives to reduce fiber context switching #94

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

helloopenworld
Copy link
Contributor

  • optimize fiber mutex and condition_variable primitives to reduce fiber context switching
  • supports updating configuration content after loading framework configuration

- optimize fiber mutex and condition_variable primitives to reduce fiber context switching
- supports updating configuration content after loading framework configuration
Copy link

codecov bot commented Dec 21, 2023

Codecov Report

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

Comparison is base (1cea869) 81.74052% compared to head (cd0192d) 81.67871%.

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                 @@
##                main         #94         +/-   ##
===================================================
- Coverage   81.74052%   81.67871%   -0.06182%     
===================================================
  Files            855         855                 
  Lines          33829       33895         +66     
===================================================
+ Hits           27652       27685         +33     
- Misses          6177        6210         +33     
Files Coverage Δ
trpc/client/service_proxy.cc 77.86667% <100.00000%> (+0.11867%) ⬆️
...time/iomodel/reactor/fiber/fiber_tcp_connection.cc 64.61538% <100.00000%> (-0.33307%) ⬇️
...pc/runtime/threadmodel/fiber/detail/fiber_entity.h 94.73684% <ø> (ø)
...e/threadmodel/fiber/detail/scheduling/scheduling.h 0.00000% <ø> (ø)
...model/fiber/detail/scheduling/v1/scheduling_impl.h 66.66667% <ø> (ø)
...eadmodel/fiber/detail/scheduling/v2/local_queue.cc 100.00000% <100.00000%> (ø)
...model/fiber/detail/scheduling/v2/scheduling_impl.h 0.00000% <ø> (ø)
...ntime/threadmodel/fiber/detail/scheduling_group.cc 96.61017% <100.00000%> (+0.18160%) ⬆️
...untime/threadmodel/fiber/detail/scheduling_group.h 65.51724% <ø> (ø)
trpc/runtime/threadmodel/fiber/detail/waitable.cc 92.71845% <100.00000%> (-4.25125%) ⬇️
... and 11 more

... and 8 files with indirect coverage changes

Copy link
Contributor

@hzlushiliang hzlushiliang left a comment

Choose a reason for hiding this comment

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

approve

Copy link
Contributor

@hzlushiliang hzlushiliang left a comment

Choose a reason for hiding this comment

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

approve

@hzlushiliang hzlushiliang merged commit 9a34023 into main Dec 21, 2023
3 checks passed
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.

2 participants