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

Update Rust crate tower to 0.5.0 #5036

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Update Rust crate tower to 0.5.0 #5036

merged 1 commit into from
Sep 10, 2024

Conversation

hash-worker[bot]
Copy link
Contributor

@hash-worker hash-worker bot commented Sep 10, 2024

This PR contains the following updates:

Package Type Update Change
tower workspace.dependencies minor 0.4.13 -> 0.5.0

Release Notes

tower-rs/tower (tower)

v0.5.1: tower 0.5.1

Compare Source

  • Fix minimum version of tower-layer dependency (#​787)

v0.5.0: tower 0.5.0

Compare Source

Fixed
  • util: BoxService is now Sync (#​702)
Changed
  • util: Removed deprecated ServiceExt::ready_and method and ReadyAnd
    future (#​652)
  • retry: Breaking Change retry::Policy::retry now accepts &mut Req and &mut Res instead of the previous mutable versions. This
    increases the flexibility of the retry policy. To update, update your method signature to include mut for both parameters. (#​584)
  • retry: Breaking Change Change Policy to accept &mut self (#​681)
  • retry: Add generic backoff utilities (#​685)
  • retry: Add Budget trait. This allows end-users to implement their own budget and bucket implementations. (#​703)
  • reconnect: Breaking Change Remove unused generic parameter from Reconnect::new (#​755)
  • ready-cache: Allow iteration over ready services (#​700)
  • discover: Implement Clone for Change (#​701)
  • util: Add a BoxCloneServiceLayer (#​708)
  • rng: use a simpler random 2-sampler (#​716)
  • filter: Derive Clone for AsyncFilterLayer (#​731)
  • general: Update IndexMap (#​741)
  • MSRV: Increase MSRV to 1.63.0 (#​741)

Configuration

📅 Schedule: Branch creation - "before 4am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@github-actions github-actions bot added the area/deps Relates to third-party dependencies (area) label Sep 10, 2024
Copy link
Contributor

Benchmark results

@rust/graph-benches – Integrations

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 10 entities $$53.3 \mathrm{ms} \pm 294 \mathrm{μs}\left({\color{gray}-0.264 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$414 \mathrm{ms} \pm 122 \mathrm{ms}\left({\color{red}45.7 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$20.8 \mathrm{ms} \pm 167 \mathrm{μs}\left({\color{gray}1.28 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$78.1 \mathrm{ms} \pm 635 \mathrm{μs}\left({\color{gray}0.144 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$25.8 \mathrm{ms} \pm 173 \mathrm{μs}\left({\color{gray}-0.378 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 10 entities $$2.14 \mathrm{ms} \pm 16.2 \mathrm{μs}\left({\color{gray}1.11 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$4.39 \mathrm{ms} \pm 33.1 \mathrm{μs}\left({\color{red}5.85 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.95 \mathrm{ms} \pm 15.4 \mathrm{μs}\left({\color{gray}2.35 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$2.95 \mathrm{ms} \pm 103 \mathrm{μs}\left({\color{lightgreen}-7.781 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$2.00 \mathrm{ms} \pm 11.6 \mathrm{μs}\left({\color{gray}2.06 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 10 entities $$1.95 \mathrm{ms} \pm 12.6 \mathrm{μs}\left({\color{gray}3.06 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$2.10 \mathrm{ms} \pm 10.4 \mathrm{μs}\left({\color{gray}2.99 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$2.86 \mathrm{ms} \pm 13.8 \mathrm{μs}\left({\color{lightgreen}-22.201 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.93 \mathrm{ms} \pm 12.0 \mathrm{μs}\left({\color{gray}3.18 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$13.7 \mathrm{ms} \pm 132 \mathrm{μs}\left({\color{gray}1.62 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity_type

Function Value Mean Flame graphs
get_entity_type_by_id Account ID: d4e16033-c281-4cde-aa35-9085bf2e7579 $$1.45 \mathrm{ms} \pm 8.94 \mathrm{μs}\left({\color{gray}0.267 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity

Function Value Mean Flame graphs
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$16.4 \mathrm{ms} \pm 215 \mathrm{μs}\left({\color{gray}-4.488 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$17.8 \mathrm{ms} \pm 237 \mathrm{μs}\left({\color{gray}3.59 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$17.2 \mathrm{ms} \pm 230 \mathrm{μs}\left({\color{gray}-4.062 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$16.8 \mathrm{ms} \pm 206 \mathrm{μs}\left({\color{gray}-0.313 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$17.8 \mathrm{ms} \pm 225 \mathrm{μs}\left({\color{gray}-0.327 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$17.1 \mathrm{ms} \pm 250 \mathrm{μs}\left({\color{lightgreen}-5.861 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$17.1 \mathrm{ms} \pm 211 \mathrm{μs}\left({\color{gray}-0.279 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$17.0 \mathrm{ms} \pm 218 \mathrm{μs}\left({\color{lightgreen}-7.637 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$17.9 \mathrm{ms} \pm 229 \mathrm{μs}\left({\color{gray}3.81 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$102 \mathrm{ms} \pm 712 \mathrm{μs}\left({\color{gray}0.085 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$82.2 \mathrm{ms} \pm 478 \mathrm{μs}\left({\color{gray}0.798 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$43.7 \mathrm{ms} \pm 250 \mathrm{μs}\left({\color{gray}1.90 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$93.8 \mathrm{ms} \pm 577 \mathrm{μs}\left({\color{gray}0.560 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$97.7 \mathrm{ms} \pm 486 \mathrm{μs}\left({\color{gray}-0.105 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$110 \mathrm{ms} \pm 593 \mathrm{μs}\left({\color{gray}-0.472 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$59.1 \mathrm{ms} \pm 328 \mathrm{μs}\left({\color{gray}-0.503 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$43.5 \mathrm{ms} \pm 241 \mathrm{μs}\left({\color{gray}-0.565 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$39.2 \mathrm{ms} \pm 250 \mathrm{μs}\left({\color{gray}-1.256 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$50.9 \mathrm{ms} \pm 270 \mathrm{μs}\left({\color{gray}-0.904 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$55.3 \mathrm{ms} \pm 312 \mathrm{μs}\left({\color{gray}-0.115 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=255, PT=255, ET=255, E=255 $$67.5 \mathrm{ms} \pm 326 \mathrm{μs}\left({\color{gray}-0.613 \mathrm{\%}}\right) $$ Flame Graph

@hash-worker hash-worker bot requested a review from a team September 10, 2024 02:28
@hash-worker hash-worker bot added this pull request to the merge queue Sep 10, 2024
Copy link

codecov bot commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 17.74%. Comparing base (ed39631) to head (95dca9a).
Report is 127 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5036      +/-   ##
==========================================
+ Coverage   17.68%   17.74%   +0.05%     
==========================================
  Files         506      506              
  Lines       16569    16569              
  Branches     2546     2546              
==========================================
+ Hits         2931     2940       +9     
  Misses      13600    13600              
+ Partials       38       29       -9     
Flag Coverage Δ
apps.hash-ai-worker-ts 1.39% <ø> (ø)
apps.hash-api 1.18% <ø> (ø)
blockprotocol.type-system 55.38% <ø> (+6.92%) ⬆️
local.hash-backend-utils 8.81% <ø> (ø)
local.hash-isomorphic-utils 1.06% <ø> (ø)
local.hash-subgraph 24.32% <ø> (ø)
rust.deer 5.88% <ø> (ø)
rust.error-stack 72.68% <ø> (ø)
rust.sarif 87.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Merged via the queue into main with commit 29369ac Sep 10, 2024
158 of 159 checks passed
@hash-worker hash-worker bot deleted the deps/rs/tower-0.x branch September 10, 2024 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/deps Relates to third-party dependencies (area)
Development

Successfully merging this pull request may close these issues.

2 participants