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 tracing Rust crates #5767

Merged
merged 1 commit into from
Dec 2, 2024
Merged

Update tracing Rust crates #5767

merged 1 commit into from
Dec 2, 2024

Conversation

hash-worker[bot]
Copy link
Contributor

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

This PR contains the following updates:

Package Type Update Change
tracing (source) dependencies patch 0.1.40 -> 0.1.41
tracing (source) workspace.dependencies patch =0.1.40 -> =0.1.41
tracing-error (source) dependencies patch 0.2.0 -> 0.2.1
tracing-error (source) workspace.dependencies patch =0.2.0 -> =0.2.1
tracing-subscriber (source) workspace.dependencies patch =0.3.18 -> =0.3.19

Release Notes

tokio-rs/tracing (tracing)

v0.1.41: tracing 0.1.41

Compare Source

[ crates.io ] | [ docs.rs ]

This release updates the tracing-core dependency to v0.1.33 and
the tracing-attributes dependency to v0.1.28.

Added
  • core: Add index API for Field (#​2820)
  • core: Allow &[u8] to be recorded as event/span field (#​2954)
Changed
  • Bump MSRV to 1.63 (#​2793)
  • core: Use const thread_locals when possible (#​2838)
Fixed
  • Removed core imports in macros (#​2762)
  • attributes: Added missing RecordTypes for instrument (#​2781)
  • attributes: Change order of async and unsafe modifier (#​2864)
  • Fix missing field prefixes (#​2878)
  • attributes: Extract match scrutinee (#​2880)
  • Fix non-simple macro usage without message (#​2879)
  • Fix event macros with constant field names in the first position (#​2883)
  • Allow field path segments to be keywords (#​2925)
  • core: Fix missed register_callsite error (#​2938)
  • attributes: Support const values for target and name (#​2941)
  • Prefix macro calls with ::core to avoid clashing with local macros (#​3024)

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 enabled auto-merge December 2, 2024 10:10
@hash-worker hash-worker bot requested a review from a team December 2, 2024 10:10
@github-actions github-actions bot added the area/deps Relates to third-party dependencies (area) label Dec 2, 2024
@hash-worker hash-worker bot added this pull request to the merge queue Dec 2, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 2, 2024
@TimDiekmann TimDiekmann added this pull request to the merge queue Dec 2, 2024
Copy link
Contributor

github-actions bot commented Dec 2, 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/uk-address/v/1 $$16.7 \mathrm{ms} \pm 178 \mathrm{μs}\left({\color{gray}0.307 \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 222 \mathrm{μs}\left({\color{gray}0.782 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$17.7 \mathrm{ms} \pm 206 \mathrm{μs}\left({\color{gray}2.31 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$16.9 \mathrm{ms} \pm 201 \mathrm{μs}\left({\color{gray}-0.595 \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 216 \mathrm{μs}\left({\color{gray}4.78 \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 167 \mathrm{μs}\left({\color{gray}-4.223 \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 172 \mathrm{μs}\left({\color{gray}-3.208 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$16.8 \mathrm{ms} \pm 161 \mathrm{μs}\left({\color{gray}4.21 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$16.6 \mathrm{ms} \pm 187 \mathrm{μs}\left({\color{gray}0.285 \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 $$69.0 \mathrm{ms} \pm 385 \mathrm{μs}\left({\color{gray}0.489 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$39.9 \mathrm{ms} \pm 225 \mathrm{μs}\left({\color{gray}-0.928 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$58.8 \mathrm{ms} \pm 335 \mathrm{μs}\left({\color{gray}-0.220 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$44.7 \mathrm{ms} \pm 302 \mathrm{μs}\left({\color{gray}-1.984 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$50.2 \mathrm{ms} \pm 234 \mathrm{μs}\left({\color{gray}0.111 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$54.7 \mathrm{ms} \pm 376 \mathrm{μs}\left({\color{gray}-0.072 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$107 \mathrm{ms} \pm 493 \mathrm{μs}\left({\color{gray}-0.473 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$43.0 \mathrm{ms} \pm 374 \mathrm{μs}\left({\color{gray}1.03 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$98.0 \mathrm{ms} \pm 394 \mathrm{μs}\left({\color{gray}-0.559 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$81.0 \mathrm{ms} \pm 602 \mathrm{μs}\left({\color{gray}0.268 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$89.3 \mathrm{ms} \pm 469 \mathrm{μs}\left({\color{gray}0.191 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$93.6 \mathrm{ms} \pm 511 \mathrm{μs}\left({\color{gray}0.146 \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.39 \mathrm{ms} \pm 7.23 \mathrm{μs}\left({\color{gray}1.04 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$258 \mathrm{ms} \pm 1.22 \mathrm{ms}\left({\color{gray}-0.361 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$25.2 \mathrm{ms} \pm 99.6 \mathrm{μs}\left({\color{gray}0.842 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$20.1 \mathrm{ms} \pm 73.8 \mathrm{μs}\left({\color{gray}-0.875 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$45.7 \mathrm{ms} \pm 2.68 \mathrm{ms}\left({\color{lightgreen}-10.769 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$72.0 \mathrm{ms} \pm 426 \mathrm{μs}\left({\color{gray}0.096 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$1.87 \mathrm{ms} \pm 6.00 \mathrm{μs}\left({\color{gray}-0.076 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$2.05 \mathrm{ms} \pm 8.90 \mathrm{μs}\left({\color{gray}-1.348 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$1.91 \mathrm{ms} \pm 8.17 \mathrm{μs}\left({\color{gray}0.023 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$2.80 \mathrm{ms} \pm 9.36 \mathrm{μs}\left({\color{gray}-4.708 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$13.5 \mathrm{ms} \pm 55.8 \mathrm{μs}\left({\color{gray}-0.689 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$4.19 \mathrm{ms} \pm 14.7 \mathrm{μs}\left({\color{gray}-0.328 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$1.90 \mathrm{ms} \pm 10.7 \mathrm{μs}\left({\color{gray}-1.320 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.88 \mathrm{ms} \pm 9.23 \mathrm{μs}\left({\color{gray}0.366 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$2.13 \mathrm{ms} \pm 18.2 \mathrm{μs}\left({\color{red}5.37 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$2.77 \mathrm{ms} \pm 14.3 \mathrm{μs}\left({\color{lightgreen}-16.171 \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 2, 2024
@TimDiekmann TimDiekmann added this pull request to the merge queue Dec 2, 2024
Merged via the queue into main with commit 8bf7df6 Dec 2, 2024
165 of 166 checks passed
@TimDiekmann TimDiekmann deleted the deps/rs/tracing-rust-crates branch December 2, 2024 11: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.

2 participants