Skip to content

H-6341: Update Cargo dependencies and fix stdout writer#8563

Open
TimDiekmann wants to merge 3 commits intomainfrom
t/h-6341-bump-transitive-cargo-dependencies
Open

H-6341: Update Cargo dependencies and fix stdout writer#8563
TimDiekmann wants to merge 3 commits intomainfrom
t/h-6341-bump-transitive-cargo-dependencies

Conversation

@TimDiekmann
Copy link
Member

🌟 What is the purpose of this PR?

Updates Rust dependencies to their latest versions and fixes a compatibility issue with the anstream crate in the compiletest runner.

🔗 Related links

  • ...

🚫 Blocked by

  • ...

🔍 What does this change?

  • Updates multiple Rust crates including clap (4.5.60 → 4.6.0), AWS SDK crates, bon macros, borsh, and various other dependencies
  • Adds a new anstream version 1.0.0 alongside the existing 0.6.21 version to handle version conflicts
  • Consolidates darling crate versions by removing the older 0.21.3 version and standardizing on 0.23.0
  • Fixes compilation issue in hashql-compiletest by changing from anstream::stdout() to std::io::stdout()
  • Updates winnow parser crate with both 0.7.15 and 1.0.0 versions for different dependencies

Pre-Merge Checklist 🚀

🚢 Has this modified a publishable library?

This PR:

  • does not modify any publishable blocks or libraries, or modifications do not need publishing

📜 Does this require a change to the docs?

The changes in this PR:

  • are internal and do not require a docs change

🕸️ Does this require a change to the Turbo Graph?

The changes in this PR:

  • do not affect the execution graph

⚠️ Known issues

🐾 Next steps

🛡 What tests cover this?

  • Existing test suite should verify compatibility with updated dependencies

❓ How to test this?

  1. Checkout the branch
  2. Run cargo build to ensure all dependencies compile correctly
  3. Run the test suite to verify functionality remains intact
  4. Test the compiletest runner specifically to confirm the stdout fix works

📹 Demo

@cursor
Copy link

cursor bot commented Mar 19, 2026

PR Summary

Medium Risk
Moderate risk because it bumps a wide set of Rust dependencies (including clap, AWS SDK crates, and parsing/terminal-output libs) which can introduce subtle compile/runtime behavior changes, though no application logic changes are apparent beyond dependency wiring.

Overview
Updates the Rust dependency set via Cargo.lock, bumping numerous crates (notably clap, AWS SDK crates, toml/winnow, and various utility/proc-macro deps) and adjusting the lockfile to accommodate new major versions alongside older ones where required.

Adjusts hashql-compiletest to depend on anstream with the auto feature enabled, aligning stdout/terminal detection behavior with the updated anstream/clap dependency graph.

Written by Cursor Bugbot for commit 733aeee. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Mar 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hash Ready Ready Preview, Comment Mar 19, 2026 3:44pm
hashdotdesign Ready Ready Preview, Comment Mar 19, 2026 3:44pm
hashdotdesign-tokens Ready Ready Preview, Comment Mar 19, 2026 3:44pm
petrinaut Ready Ready Preview, Comment Mar 19, 2026 3:44pm

@github-actions github-actions bot added area/deps Relates to third-party dependencies (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > backend Owned by the @backend team labels Mar 19, 2026
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@TimDiekmann TimDiekmann requested a review from indietyp March 19, 2026 15:25
@augmentcode
Copy link

augmentcode bot commented Mar 19, 2026

🤖 Augment PR Summary

Summary: Updates Rust dependency lockfile entries and adjusts the HashQL compiletest “human” UI to avoid an anstream compatibility issue after dependency upgrades.

Changes:

  • Refreshes many Cargo dependencies to newer versions (via Cargo.lock changes).
  • Introduces an additional anstream version in the workspace to help resolve transitive version conflicts.
  • Consolidates certain dependency versions (e.g., aligns darling to a single newer version) to reduce duplication.
  • Updates parser-related dependencies (e.g., winnow) to accommodate upstream requirements.
  • Fixes build breakage in hashql-compiletest by switching its stdout writer from anstream::stdout() to std::io::stdout().

Technical Notes: The compiletest runner’s output path now uses the standard library stdout handle, which may affect color/ANSI behavior depending on the environment.

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 1 suggestion posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@codecov
Copy link

codecov bot commented Mar 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.49%. Comparing base (e0e4091) to head (733aeee).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8563      +/-   ##
==========================================
- Coverage   62.60%   62.49%   -0.11%     
==========================================
  Files        1317     1318       +1     
  Lines      133977   134211     +234     
  Branches     5517     5517              
==========================================
  Hits        83877    83877              
- Misses      49185    49419     +234     
  Partials      915      915              
Flag Coverage Δ
apps.hash-ai-worker-ts 1.40% <ø> (ø)
apps.hash-api 0.00% <ø> (ø)
blockprotocol.type-system 40.84% <ø> (ø)
local.claude-hooks 0.00% <ø> (ø)
local.harpc-client 51.24% <ø> (ø)
local.hash-graph-sdk 9.63% <ø> (ø)
local.hash-isomorphic-utils 0.00% <ø> (ø)
rust.antsi 0.00% <ø> (ø)
rust.error-stack 90.88% <ø> (ø)
rust.harpc-codec 84.70% <ø> (ø)
rust.harpc-net 96.16% <ø> (ø)
rust.harpc-tower 66.80% <ø> (ø)
rust.harpc-types 0.00% <ø> (ø)
rust.harpc-wire-protocol 92.23% <ø> (ø)
rust.hash-codec 72.76% <ø> (ø)
rust.hash-graph-api 2.52% <ø> (ø)
rust.hash-graph-authorization 62.34% <ø> (ø)
rust.hash-graph-postgres-store 26.39% <ø> (-0.34%) ⬇️
rust.hash-graph-store 37.76% <ø> (-0.13%) ⬇️
rust.hash-graph-temporal-versioning 47.95% <ø> (ø)
rust.hash-graph-types 0.00% <ø> (ø)
rust.hash-graph-validation 83.45% <ø> (ø)
rust.hashql-ast 87.23% <ø> (ø)
rust.hashql-compiletest 29.69% <ø> (ø)
rust.hashql-core 82.29% <ø> (ø)
rust.hashql-diagnostics 72.43% <ø> (ø)
rust.hashql-eval 69.13% <ø> (ø)
rust.hashql-hir 89.06% <ø> (ø)
rust.hashql-mir 92.64% <ø> (ø)
rust.hashql-syntax-jexpr 94.05% <ø> (ø)

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vercel vercel bot temporarily deployed to Preview – petrinaut March 19, 2026 15:29 Inactive
@codspeed-hq
Copy link

codspeed-hq bot commented Mar 19, 2026

Merging this PR will not alter performance

✅ 80 untouched benchmarks


Comparing t/h-6341-bump-transitive-cargo-dependencies (733aeee) with main (1512579)

Open in CodSpeed

@github-actions
Copy link
Contributor

Benchmark results

@rust/hash-graph-benches – Integrations

policy_resolution_large

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2002 $$28.1 \mathrm{ms} \pm 224 \mathrm{μs}\left({\color{gray}0.275 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.54 \mathrm{ms} \pm 16.3 \mathrm{μs}\left({\color{gray}-0.367 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1001 $$12.5 \mathrm{ms} \pm 109 \mathrm{μs}\left({\color{gray}-4.625 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 3314 $$44.1 \mathrm{ms} \pm 347 \mathrm{μs}\left({\color{gray}0.815 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$15.1 \mathrm{ms} \pm 125 \mathrm{μs}\left({\color{gray}-0.749 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 1526 $$24.4 \mathrm{ms} \pm 190 \mathrm{μs}\left({\color{gray}0.813 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 2078 $$29.1 \mathrm{ms} \pm 189 \mathrm{μs}\left({\color{gray}0.902 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.86 \mathrm{ms} \pm 20.3 \mathrm{μs}\left({\color{gray}-0.487 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 1033 $$13.5 \mathrm{ms} \pm 89.1 \mathrm{μs}\left({\color{gray}-1.936 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_medium

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 102 $$3.90 \mathrm{ms} \pm 20.1 \mathrm{μs}\left({\color{gray}-0.304 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.09 \mathrm{ms} \pm 13.6 \mathrm{μs}\left({\color{gray}-0.188 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 51 $$3.47 \mathrm{ms} \pm 22.8 \mathrm{μs}\left({\color{gray}-0.353 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 269 $$5.38 \mathrm{ms} \pm 38.0 \mathrm{μs}\left({\color{gray}0.897 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.68 \mathrm{ms} \pm 17.0 \mathrm{μs}\left({\color{gray}0.447 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 107 $$4.29 \mathrm{ms} \pm 26.1 \mathrm{μs}\left({\color{gray}1.75 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 133 $$4.60 \mathrm{ms} \pm 30.9 \mathrm{μs}\left({\color{gray}-0.134 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.53 \mathrm{ms} \pm 17.6 \mathrm{μs}\left({\color{gray}-0.242 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 63 $$4.25 \mathrm{ms} \pm 29.3 \mathrm{μs}\left({\color{gray}1.72 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_none

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2 $$2.83 \mathrm{ms} \pm 11.7 \mathrm{μs}\left({\color{gray}1.23 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.76 \mathrm{ms} \pm 11.4 \mathrm{μs}\left({\color{gray}-0.146 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1 $$2.91 \mathrm{ms} \pm 16.4 \mathrm{μs}\left({\color{gray}0.723 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 8 $$3.17 \mathrm{ms} \pm 19.6 \mathrm{μs}\left({\color{gray}0.537 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.96 \mathrm{ms} \pm 15.2 \mathrm{μs}\left({\color{gray}-1.037 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 3 $$3.24 \mathrm{ms} \pm 16.4 \mathrm{μs}\left({\color{gray}0.149 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_small

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 52 $$3.22 \mathrm{ms} \pm 17.9 \mathrm{μs}\left({\color{gray}1.51 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.90 \mathrm{ms} \pm 11.0 \mathrm{μs}\left({\color{gray}1.17 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 25 $$3.08 \mathrm{ms} \pm 14.9 \mathrm{μs}\left({\color{gray}1.27 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 94 $$3.65 \mathrm{ms} \pm 21.8 \mathrm{μs}\left({\color{gray}1.12 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.20 \mathrm{ms} \pm 18.7 \mathrm{μs}\left({\color{gray}1.56 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 26 $$3.45 \mathrm{ms} \pm 18.0 \mathrm{μs}\left({\color{gray}2.62 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 66 $$3.55 \mathrm{ms} \pm 18.4 \mathrm{μs}\left({\color{gray}0.636 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.18 \mathrm{ms} \pm 20.7 \mathrm{μs}\left({\color{gray}1.40 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 29 $$3.47 \mathrm{ms} \pm 18.5 \mathrm{μs}\left({\color{gray}1.93 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_complete

Function Value Mean Flame graphs
entity_by_id;one_depth 1 entities $$45.0 \mathrm{ms} \pm 164 \mathrm{μs}\left({\color{gray}-0.966 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 10 entities $$83.5 \mathrm{ms} \pm 404 \mathrm{μs}\left({\color{gray}-0.096 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 25 entities $$51.2 \mathrm{ms} \pm 324 \mathrm{μs}\left({\color{gray}2.55 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 5 entities $$53.2 \mathrm{ms} \pm 308 \mathrm{μs}\left({\color{gray}1.22 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 50 entities $$63.2 \mathrm{ms} \pm 414 \mathrm{μs}\left({\color{gray}1.91 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 1 entities $$47.5 \mathrm{ms} \pm 186 \mathrm{μs}\left({\color{gray}-0.413 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 10 entities $$424 \mathrm{ms} \pm 1.29 \mathrm{ms}\left({\color{gray}-0.232 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 25 entities $$102 \mathrm{ms} \pm 588 \mathrm{μs}\left({\color{gray}-0.497 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 5 entities $$92.1 \mathrm{ms} \pm 383 \mathrm{μs}\left({\color{gray}0.297 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 50 entities $$322 \mathrm{ms} \pm 694 \mathrm{μs}\left({\color{red}10.4 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 1 entities $$19.5 \mathrm{ms} \pm 110 \mathrm{μs}\left({\color{gray}-4.818 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 10 entities $$20.3 \mathrm{ms} \pm 126 \mathrm{μs}\left({\color{gray}0.401 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 25 entities $$20.5 \mathrm{ms} \pm 116 \mathrm{μs}\left({\color{gray}0.305 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 5 entities $$20.2 \mathrm{ms} \pm 92.4 \mathrm{μs}\left({\color{gray}-2.955 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 50 entities $$24.8 \mathrm{ms} \pm 130 \mathrm{μs}\left({\color{gray}0.610 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$19.9 \mathrm{ms} \pm 89.3 \mathrm{μs}\left({\color{gray}0.082 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$19.8 \mathrm{ms} \pm 108 \mathrm{μs}\left({\color{gray}0.625 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$20.0 \mathrm{ms} \pm 138 \mathrm{μs}\left({\color{gray}1.58 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$20.1 \mathrm{ms} \pm 117 \mathrm{μs}\left({\color{gray}-0.051 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$26.6 \mathrm{ms} \pm 193 \mathrm{μs}\left({\color{gray}0.021 \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/block/v/1 $$36.5 \mathrm{ms} \pm 304 \mathrm{μs}\left({\color{gray}3.55 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$34.6 \mathrm{ms} \pm 290 \mathrm{μs}\left({\color{gray}1.96 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$35.1 \mathrm{ms} \pm 345 \mathrm{μs}\left({\color{gray}0.151 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$35.3 \mathrm{ms} \pm 355 \mathrm{μs}\left({\color{gray}3.79 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$34.1 \mathrm{ms} \pm 272 \mathrm{μs}\left({\color{gray}-1.671 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$35.1 \mathrm{ms} \pm 327 \mathrm{μs}\left({\color{gray}2.56 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$35.5 \mathrm{ms} \pm 251 \mathrm{μs}\left({\color{gray}-1.083 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$36.0 \mathrm{ms} \pm 293 \mathrm{μs}\left({\color{gray}2.11 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$36.0 \mathrm{ms} \pm 284 \mathrm{μs}\left({\color{gray}4.00 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity_type

Function Value Mean Flame graphs
get_entity_type_by_id Account ID: bf5a9ef5-dc3b-43cf-a291-6210c0321eba $$8.69 \mathrm{ms} \pm 47.2 \mathrm{μs}\left({\color{gray}0.745 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property traversal_paths=0 0 $$92.9 \mathrm{ms} \pm 424 \mathrm{μs}\left({\color{gray}-0.707 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=255 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true $$145 \mathrm{ms} \pm 735 \mathrm{μs}\left({\color{gray}-0.828 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false $$100.0 \mathrm{ms} \pm 457 \mathrm{μs}\left({\color{gray}0.409 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true $$109 \mathrm{ms} \pm 486 \mathrm{μs}\left({\color{gray}-0.102 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true $$118 \mathrm{ms} \pm 524 \mathrm{μs}\left({\color{gray}-0.132 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true $$124 \mathrm{ms} \pm 483 \mathrm{μs}\left({\color{gray}-0.342 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=0 0 $$100 \mathrm{ms} \pm 502 \mathrm{μs}\left({\color{gray}-1.181 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=255 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true $$128 \mathrm{ms} \pm 423 \mathrm{μs}\left({\color{gray}-0.549 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false $$107 \mathrm{ms} \pm 625 \mathrm{μs}\left({\color{gray}-0.215 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true $$116 \mathrm{ms} \pm 593 \mathrm{μs}\left({\color{gray}-0.063 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true $$118 \mathrm{ms} \pm 434 \mathrm{μs}\left({\color{gray}-0.141 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true $$118 \mathrm{ms} \pm 519 \mathrm{μs}\left({\color{gray}0.095 \mathrm{\%}}\right) $$

scenarios

Function Value Mean Flame graphs
full_test query-limited $$133 \mathrm{ms} \pm 473 \mathrm{μs}\left({\color{gray}0.409 \mathrm{\%}}\right) $$ Flame Graph
full_test query-unlimited $$141 \mathrm{ms} \pm 525 \mathrm{μs}\left({\color{gray}-0.921 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-limited $$106 \mathrm{ms} \pm 628 \mathrm{μs}\left({\color{gray}-1.125 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-unlimited $$583 \mathrm{ms} \pm 3.28 \mathrm{ms}\left({\color{gray}3.22 \mathrm{\%}}\right) $$ Flame Graph

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) area/libs Relates to first-party libraries/crates/packages (area) type/eng > backend Owned by the @backend team

Development

Successfully merging this pull request may close these issues.

1 participant