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 tokio to v1.41.0 #5459

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Update Rust crate tokio to v1.41.0 #5459

merged 1 commit into from
Oct 22, 2024

Conversation

hash-worker[bot]
Copy link
Contributor

@hash-worker hash-worker bot commented Oct 22, 2024

This PR contains the following updates:

Package Type Update Change
tokio (source) workspace.dependencies minor =1.40.0 -> =1.41.0

Release Notes

tokio-rs/tokio (tokio)

v1.41.0: Tokio v1.41.0

Compare Source

1.41.0 (Oct 22th, 2024)

Added
Added (unstable)
  • metrics: add H2 Histogram option to improve histogram granularity (#​6897)
  • metrics: rename some histogram apis (#​6924)
  • runtime: add LocalRuntime (#​6808)
Changed
  • runtime: box futures larger than 16k on release mode (#​6826)
  • sync: add #[must_use] to Notified (#​6828)
  • sync: make watch cooperative (#​6846)
  • sync: make broadcast::Receiver cooperative (#​6870)
  • task: add task size to tracing instrumentation (#​6881)
  • wasm: enable cfg_fs for wasi target (#​6822)
Fixed
  • net: fix regression of abstract socket path in unix socket (#​6838)
Documented
  • io: recommend OwnedFd with AsyncFd (#​6821)
  • io: document cancel safety of AsyncFd methods (#​6890)
  • macros: render more comprehensible documentation for join and try_join (#​6814, #​6841)
  • net: fix swapped examples for TcpSocket::set_nodelay and TcpSocket::nodelay (#​6840)
  • sync: document runtime compatibility (#​6833)

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.

@hash-worker hash-worker bot enabled auto-merge October 22, 2024 10:41
@github-actions github-actions bot added the area/deps Relates to third-party dependencies (area) label Oct 22, 2024
Copy link
Contributor

Benchmark results

@rust/graph-benches – Integrations

representative_read_entity_type

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

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 10 entities $$2.06 \mathrm{ms} \pm 14.1 \mathrm{μs}\left({\color{gray}-0.583 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$4.04 \mathrm{ms} \pm 23.1 \mathrm{μs}\left({\color{gray}2.17 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.86 \mathrm{ms} \pm 8.92 \mathrm{μs}\left({\color{gray}-0.207 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$1.89 \mathrm{ms} \pm 5.24 \mathrm{μs}\left({\color{gray}-0.522 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$2.68 \mathrm{ms} \pm 77.3 \mathrm{μs}\left({\color{lightgreen}-6.634 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 10 entities $$1.85 \mathrm{ms} \pm 4.56 \mathrm{μs}\left({\color{gray}-1.325 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$2.73 \mathrm{ms} \pm 12.4 \mathrm{μs}\left({\color{gray}-3.559 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.88 \mathrm{ms} \pm 7.80 \mathrm{μs}\left({\color{gray}0.906 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$9.33 \mathrm{ms} \pm 140 \mathrm{μs}\left({\color{lightgreen}-24.206 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$2.04 \mathrm{ms} \pm 9.28 \mathrm{μs}\left({\color{gray}2.44 \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 $$68.2 \mathrm{ms} \pm 321 \mathrm{μs}\left({\color{gray}-0.896 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$54.9 \mathrm{ms} \pm 294 \mathrm{μs}\left({\color{gray}-2.565 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$41.3 \mathrm{ms} \pm 205 \mathrm{μs}\left({\color{gray}0.283 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$50.9 \mathrm{ms} \pm 180 \mathrm{μs}\left({\color{gray}-1.662 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$44.2 \mathrm{ms} \pm 196 \mathrm{μs}\left({\color{gray}-1.867 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$58.6 \mathrm{ms} \pm 255 \mathrm{μs}\left({\color{gray}-2.386 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$107 \mathrm{ms} \pm 444 \mathrm{μs}\left({\color{gray}-1.963 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$93.1 \mathrm{ms} \pm 354 \mathrm{μs}\left({\color{gray}-1.590 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$42.3 \mathrm{ms} \pm 200 \mathrm{μs}\left({\color{gray}-1.407 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$89.7 \mathrm{ms} \pm 560 \mathrm{μs}\left({\color{gray}-1.155 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$79.7 \mathrm{ms} \pm 490 \mathrm{μs}\left({\color{gray}-2.538 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$98.5 \mathrm{ms} \pm 612 \mathrm{μs}\left({\color{gray}-1.337 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 10 entities $$31.4 \mathrm{ms} \pm 213 \mathrm{μs}\left({\color{lightgreen}-22.500 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$274 \mathrm{ms} \pm 1.76 \mathrm{ms}\left({\color{gray}-0.108 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$19.8 \mathrm{ms} \pm 119 \mathrm{μs}\left({\color{gray}-1.866 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$24.6 \mathrm{ms} \pm 117 \mathrm{μs}\left({\color{gray}-0.724 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$73.7 \mathrm{ms} \pm 276 \mathrm{μs}\left({\color{gray}0.675 \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/person/v/1 $$17.0 \mathrm{ms} \pm 182 \mathrm{μs}\left({\color{gray}4.41 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$15.7 \mathrm{ms} \pm 137 \mathrm{μs}\left({\color{gray}-1.442 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$16.5 \mathrm{ms} \pm 188 \mathrm{μs}\left({\color{gray}3.47 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$16.9 \mathrm{ms} \pm 164 \mathrm{μs}\left({\color{gray}4.25 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$16.3 \mathrm{ms} \pm 196 \mathrm{μs}\left({\color{lightgreen}-14.634 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$16.4 \mathrm{ms} \pm 192 \mathrm{μs}\left({\color{red}10.9 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$16.4 \mathrm{ms} \pm 182 \mathrm{μs}\left({\color{lightgreen}-31.304 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$16.6 \mathrm{ms} \pm 170 \mathrm{μs}\left({\color{lightgreen}-26.337 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$15.7 \mathrm{ms} \pm 193 \mathrm{μs}\left({\color{gray}-4.074 \mathrm{\%}}\right) $$ Flame Graph

@hash-worker hash-worker bot added this pull request to the merge queue Oct 22, 2024
Merged via the queue into main with commit 2d6f0ee Oct 22, 2024
162 checks passed
@hash-worker hash-worker bot deleted the deps/rs/tokio-1.x branch October 22, 2024 12:02
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.

1 participant