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 http to v1.2.0 #5789

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Update Rust crate http to v1.2.0 #5789

merged 1 commit into from
Dec 4, 2024

Conversation

hash-worker[bot]
Copy link
Contributor

@hash-worker hash-worker bot commented Dec 3, 2024

This PR contains the following updates:

Package Type Update Change
http workspace.dependencies minor =1.1.0 -> =1.2.0

Release Notes

hyperium/http (http)

v1.2.0

Compare Source

  • Add StatusCode::TOO_EARLY constant for 425 status.
  • Loosen TryFrom<HashMap> for HeaderMap to work with any state generic.
  • Change Builder methods to use TryInto instead of TryFrom arguments.
  • Make StatusCode::as_u16 a const function.
  • Fix Method parsing to allow #$%&' characters.
  • Fix HeaderName parsing to reject " characters.
  • Fix off by 1 error in Method::from_bytes that could cause extra allocations.

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 December 3, 2024 22:10
@github-actions github-actions bot added the area/deps Relates to third-party dependencies (area) label Dec 3, 2024
Copy link
Contributor

github-actions bot commented Dec 3, 2024

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/building/v/1 $$17.0 \mathrm{ms} \pm 192 \mathrm{μs}\left({\color{lightgreen}-26.484 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$16.3 \mathrm{ms} \pm 195 \mathrm{μs}\left({\color{gray}3.15 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$16.2 \mathrm{ms} \pm 169 \mathrm{μs}\left({\color{gray}-1.333 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$16.3 \mathrm{ms} \pm 195 \mathrm{μs}\left({\color{gray}-0.044 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$16.2 \mathrm{ms} \pm 182 \mathrm{μs}\left({\color{gray}-1.704 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$17.1 \mathrm{ms} \pm 202 \mathrm{μs}\left({\color{red}6.42 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$16.1 \mathrm{ms} \pm 174 \mathrm{μs}\left({\color{gray}-2.659 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$16.5 \mathrm{ms} \pm 181 \mathrm{μs}\left({\color{lightgreen}-23.814 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$16.4 \mathrm{ms} \pm 196 \mathrm{μs}\left({\color{gray}2.04 \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 $$65.9 \mathrm{ms} \pm 389 \mathrm{μs}\left({\color{gray}-0.980 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$38.0 \mathrm{ms} \pm 244 \mathrm{μs}\left({\color{gray}-0.094 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$56.4 \mathrm{ms} \pm 212 \mathrm{μs}\left({\color{gray}-3.220 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$42.0 \mathrm{ms} \pm 243 \mathrm{μs}\left({\color{gray}-1.350 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$47.8 \mathrm{ms} \pm 204 \mathrm{μs}\left({\color{gray}-2.219 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$52.6 \mathrm{ms} \pm 227 \mathrm{μs}\left({\color{gray}-3.846 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$110 \mathrm{ms} \pm 696 \mathrm{μs}\left({\color{gray}-2.034 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$43.2 \mathrm{ms} \pm 253 \mathrm{μs}\left({\color{gray}1.67 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$101 \mathrm{ms} \pm 604 \mathrm{μs}\left({\color{gray}0.458 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$82.0 \mathrm{ms} \pm 473 \mathrm{μs}\left({\color{gray}0.626 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$91.0 \mathrm{ms} \pm 435 \mathrm{μs}\left({\color{gray}-0.856 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$96.4 \mathrm{ms} \pm 643 \mathrm{μs}\left({\color{gray}-0.277 \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.36 \mathrm{ms} \pm 3.49 \mathrm{μs}\left({\color{gray}-1.211 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$279 \mathrm{ms} \pm 2.41 \mathrm{ms}\left({\color{gray}4.20 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$27.2 \mathrm{ms} \pm 166 \mathrm{μs}\left({\color{gray}2.70 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$20.4 \mathrm{ms} \pm 130 \mathrm{μs}\left({\color{gray}1.29 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$38.5 \mathrm{ms} \pm 236 \mathrm{μs}\left({\color{lightgreen}-33.628 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$188 \mathrm{ms} \pm 1.08 \mathrm{ms}\left({\color{red}5.97 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$1.97 \mathrm{ms} \pm 15.9 \mathrm{μs}\left({\color{gray}2.38 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$2.05 \mathrm{ms} \pm 10.7 \mathrm{μs}\left({\color{gray}-2.384 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$1.95 \mathrm{ms} \pm 6.20 \mathrm{μs}\left({\color{gray}0.109 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$2.83 \mathrm{ms} \pm 11.7 \mathrm{μs}\left({\color{gray}-3.612 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$13.6 \mathrm{ms} \pm 52.4 \mathrm{μs}\left({\color{gray}-1.394 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$4.11 \mathrm{ms} \pm 25.9 \mathrm{μs}\left({\color{gray}-0.738 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$1.99 \mathrm{ms} \pm 10.4 \mathrm{μs}\left({\color{gray}1.46 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.97 \mathrm{ms} \pm 8.58 \mathrm{μs}\left({\color{gray}1.66 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$2.21 \mathrm{ms} \pm 15.3 \mathrm{μs}\left({\color{gray}0.938 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$3.43 \mathrm{ms} \pm 17.4 \mathrm{μs}\left({\color{gray}3.64 \mathrm{\%}}\right) $$ Flame Graph

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 3, 2024
@vilkinsons vilkinsons added this pull request to the merge queue Dec 3, 2024
Merged via the queue into main with commit 4f3301a Dec 4, 2024
166 checks passed
@vilkinsons vilkinsons deleted the deps/rs/http-1.x branch December 4, 2024 00:08
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