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 libp2p Rust crates #6159

Merged
merged 2 commits into from
Jan 21, 2025
Merged

Update libp2p Rust crates #6159

merged 2 commits into from
Jan 21, 2025

Conversation

hash-worker[bot]
Copy link
Contributor

@hash-worker hash-worker bot commented Jan 15, 2025

This PR contains the following updates:

Package Type Update Change
libp2p workspace.dependencies minor =0.54.1 -> =0.55.0
libp2p-core workspace.dependencies minor =0.42.0 -> =0.43.0
libp2p-ping workspace.dependencies minor =0.45.0 -> =0.46.0
libp2p-swarm workspace.dependencies minor =0.45.1 -> =0.46.0
libp2p-yamux workspace.dependencies minor =0.46.0 -> =0.47.0

Release Notes

libp2p/rust-libp2p (libp2p)

v0.55.0

Compare Source

See individual changelogs for details.

Thanks everyone who contributed to it! ❤️


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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR has been generated by Renovate Bot.

@hash-worker hash-worker bot requested a review from a team January 15, 2025 00:27
@github-actions github-actions bot added the area/deps Relates to third-party dependencies (area) label Jan 15, 2025
hashdotai
hashdotai previously approved these changes Jan 15, 2025
hashdotai
hashdotai previously approved these changes Jan 15, 2025
Copy link

codecov bot commented Jan 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 21.87%. Comparing base (b4db983) to head (c0df252).
Report is 112 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6159      +/-   ##
==========================================
+ Coverage   21.51%   21.87%   +0.36%     
==========================================
  Files         569      569              
  Lines       19360    19457      +97     
  Branches     2817     2817              
==========================================
+ Hits         4165     4256      +91     
- Misses      15143    15149       +6     
  Partials       52       52              
Flag Coverage Δ
apps.hash-ai-worker-ts 1.28% <ø> (ø)
apps.hash-api 1.16% <ø> (ø)
blockprotocol.type-system 46.42% <ø> (ø)
local.harpc-client 50.17% <ø> (ø)
local.hash-backend-utils 8.81% <ø> (ø)
local.hash-graph-sdk 58.62% <ø> (ø)
local.hash-isomorphic-utils 0.95% <ø> (ø)
local.hash-subgraph 24.54% <ø> (ø)
rust.deer 6.66% <ø> (ø)
rust.error-stack 72.53% <ø> (ø)
rust.sarif 88.66% <ø> (ø)

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.

@hash-worker
Copy link
Contributor Author

hash-worker bot commented Jan 21, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Copy link
Contributor

Benchmark results

@rust/hash-graph-benches – Integrations

representative_read_entity

Function Value Mean Flame graphs
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$16.5 \mathrm{ms} \pm 197 \mathrm{μs}\left({\color{lightgreen}-29.228 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$16.3 \mathrm{ms} \pm 226 \mathrm{μs}\left({\color{red}9.06 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$16.6 \mathrm{ms} \pm 188 \mathrm{μs}\left({\color{gray}0.401 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$17.5 \mathrm{ms} \pm 203 \mathrm{μs}\left({\color{red}5.67 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$16.9 \mathrm{ms} \pm 222 \mathrm{μs}\left({\color{gray}-2.243 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$17.5 \mathrm{ms} \pm 219 \mathrm{μs}\left({\color{gray}3.77 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$17.1 \mathrm{ms} \pm 174 \mathrm{μs}\left({\color{gray}-0.695 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$15.7 \mathrm{ms} \pm 180 \mathrm{μs}\left({\color{lightgreen}-33.458 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$16.9 \mathrm{ms} \pm 169 \mathrm{μs}\left({\color{lightgreen}-6.738 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property depths: DT=255, PT=255, ET=255, E=255 $$67.3 \mathrm{ms} \pm 313 \mathrm{μs}\left({\color{gray}1.52 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$37.9 \mathrm{ms} \pm 203 \mathrm{μs}\left({\color{gray}-1.613 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$56.7 \mathrm{ms} \pm 281 \mathrm{μs}\left({\color{gray}-0.096 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$42.1 \mathrm{ms} \pm 218 \mathrm{μs}\left({\color{gray}-0.919 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$47.7 \mathrm{ms} \pm 314 \mathrm{μs}\left({\color{gray}-0.237 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$52.0 \mathrm{ms} \pm 322 \mathrm{μs}\left({\color{gray}-0.909 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$101 \mathrm{ms} \pm 613 \mathrm{μs}\left({\color{gray}1.92 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$39.5 \mathrm{ms} \pm 174 \mathrm{μs}\left({\color{gray}-2.681 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$91.6 \mathrm{ms} \pm 696 \mathrm{μs}\left({\color{gray}0.632 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$75.6 \mathrm{ms} \pm 305 \mathrm{μs}\left({\color{gray}1.65 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$83.1 \mathrm{ms} \pm 324 \mathrm{μs}\left({\color{gray}1.06 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$87.3 \mathrm{ms} \pm 373 \mathrm{μs}\left({\color{gray}0.268 \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 $$2.13 \mathrm{ms} \pm 6.24 \mathrm{μs}\left({\color{gray}-0.055 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$5.34 \mathrm{s} \pm 535 \mathrm{ms}\left({\color{red}1865 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$27.7 \mathrm{ms} \pm 364 \mathrm{μs}\left({\color{gray}2.78 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$21.0 \mathrm{ms} \pm 134 \mathrm{μs}\left({\color{gray}-0.068 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$58.5 \mathrm{ms} \pm 329 \mathrm{μs}\left({\color{red}19.3 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$85.9 \mathrm{ms} \pm 651 \mathrm{μs}\left({\color{lightgreen}-44.838 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$2.02 \mathrm{ms} \pm 25.1 \mathrm{μs}\left({\color{gray}1.27 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$2.12 \mathrm{ms} \pm 9.67 \mathrm{μs}\left({\color{gray}-4.937 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$2.01 \mathrm{ms} \pm 8.39 \mathrm{μs}\left({\color{gray}-0.249 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$2.93 \mathrm{ms} \pm 9.44 \mathrm{μs}\left({\color{gray}-1.175 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$9.33 \mathrm{ms} \pm 85.2 \mathrm{μs}\left({\color{lightgreen}-32.493 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$4.27 \mathrm{ms} \pm 22.5 \mathrm{μs}\left({\color{gray}3.93 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$2.02 \mathrm{ms} \pm 11.1 \mathrm{μs}\left({\color{gray}-1.031 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$2.00 \mathrm{ms} \pm 6.65 \mathrm{μs}\left({\color{gray}-1.336 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$2.11 \mathrm{ms} \pm 11.3 \mathrm{μs}\left({\color{lightgreen}-6.160 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$3.37 \mathrm{ms} \pm 16.0 \mathrm{μs}\left({\color{gray}-2.450 \mathrm{\%}}\right) $$ Flame Graph

@hash-worker hash-worker bot added this pull request to the merge queue Jan 21, 2025
Merged via the queue into main with commit 64b5a52 Jan 21, 2025
143 of 144 checks passed
@hash-worker hash-worker bot deleted the deps/rs/libp2p-rust-crates branch January 21, 2025 16:05
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.

3 participants