romange / helio

A modern framework for backend development based on io_uring Linux interface
Apache License 2.0
435 stars 49 forks source link

chore: track delays when context switching between fibers #165

Closed romange closed 10 months ago

romange commented 10 months ago

This metric should help us measuring responsiveness of fiber switching.

codecov-commenter commented 10 months ago

Codecov Report

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

Comparison is base (fe7ec28) 77.54% compared to head (1cc8fcb) 77.43%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #165 +/- ## ========================================== - Coverage 77.54% 77.43% -0.12% ========================================== Files 98 98 Lines 7197 7209 +12 ========================================== + Hits 5581 5582 +1 - Misses 1616 1627 +11 ``` | [Files](https://app.codecov.io/gh/romange/helio/pull/165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Roman+Gershman) | Coverage Δ | | |---|---|---| | [util/fibers/detail/fiber\_interface.h](https://app.codecov.io/gh/romange/helio/pull/165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Roman+Gershman#diff-dXRpbC9maWJlcnMvZGV0YWlsL2ZpYmVyX2ludGVyZmFjZS5o) | `92.59% <ø> (ø)` | | | [util/fibers/detail/fiber\_interface\_impl.h](https://app.codecov.io/gh/romange/helio/pull/165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Roman+Gershman#diff-dXRpbC9maWJlcnMvZGV0YWlsL2ZpYmVyX2ludGVyZmFjZV9pbXBsLmg=) | `100.00% <ø> (ø)` | | | [util/fibers/detail/scheduler.cc](https://app.codecov.io/gh/romange/helio/pull/165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Roman+Gershman#diff-dXRpbC9maWJlcnMvZGV0YWlsL3NjaGVkdWxlci5jYw==) | `97.68% <100.00%> (+0.04%)` | :arrow_up: | | [util/fibers/detail/scheduler.h](https://app.codecov.io/gh/romange/helio/pull/165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Roman+Gershman#diff-dXRpbC9maWJlcnMvZGV0YWlsL3NjaGVkdWxlci5o) | `100.00% <ø> (ø)` | | | [util/fibers/epoll\_proactor.cc](https://app.codecov.io/gh/romange/helio/pull/165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Roman+Gershman#diff-dXRpbC9maWJlcnMvZXBvbGxfcHJvYWN0b3IuY2M=) | `87.79% <100.00%> (-1.36%)` | :arrow_down: | | [util/fibers/fiber2.h](https://app.codecov.io/gh/romange/helio/pull/165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Roman+Gershman#diff-dXRpbC9maWJlcnMvZmliZXIyLmg=) | `85.71% <ø> (ø)` | | | [util/fibers/uring\_proactor.cc](https://app.codecov.io/gh/romange/helio/pull/165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Roman+Gershman#diff-dXRpbC9maWJlcnMvdXJpbmdfcHJvYWN0b3IuY2M=) | `60.90% <100.00%> (+0.09%)` | :arrow_up: | | [util/fibers/detail/fiber\_interface.cc](https://app.codecov.io/gh/romange/helio/pull/165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Roman+Gershman#diff-dXRpbC9maWJlcnMvZGV0YWlsL2ZpYmVyX2ludGVyZmFjZS5jYw==) | `86.50% <86.66%> (-3.70%)` | :arrow_down: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/romange/helio/pull/165/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Roman+Gershman)

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