Skip to content

BE-1253: Add the hash-graph-relay crate - #10701

Open
TimDiekmann wants to merge 2 commits into
pe/be-1233-graph-change-publishingfrom
t/be-1253-add-the-hash-graph-relay-crate
Open

TimDiekmann wants to merge 2 commits into
pe/be-1233-graph-change-publishingfrom
t/be-1253-add-the-hash-graph-relay-crate

Conversation

@TimDiekmann

@TimDiekmann TimDiekmann commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

🌟 Purpose

The relay will read entity changes from the outbox (#10687, #10690) and publish them to the message queue through hash-queue (#10700). It gets a library crate of its own, with a thin subcommand in apps/hash-graph, like hash-graph-atlas. This PR adds the empty crate, so that the relay logic can follow in a PR of its own.

🔍 Changes

  • hash-graph-relay under libs/@local/graph/relay is empty. Its only dependency is simple-mermaid, for the dependency diagram in the crate documentation.
  • The crate is a workspace member and has an entry in [workspace.dependencies]. Cargo warns about that entry until a crate depends on it.
  • The crate's test:unit task runs one placeholder test, because the unit test run fails for a crate that runs no test.

⚠️ Known issues

  • Nothing depends on the crate yet. The relay logic and the hash-graph relay subcommand follow.

@TimDiekmann TimDiekmann self-assigned this Dec 3, 2026
@vercel

vercel Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
hash Ready Ready Preview Dec 3, 2026 10:49am UTC
petrinaut Ready Ready Preview Dec 3, 2026 10:49am UTC
2 Skipped Deployments
Project Deployment Actions Updated
hashdotdesign-tokens Ignored Ignored Preview Dec 3, 2026 10:49am UTC
petrinaut-docs Ignored Ignored Preview Dec 3, 2026 10:49am UTC

Request Review

@github-actions github-actions Bot added area/deps Relates to third-party dependencies (area) area/infra Relates to version control, CI, CD or IaC (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > backend Owned by the @backend team type/legal Owned by the @legal team labels Dec 3, 2026
@TimDiekmann
TimDiekmann added this pull request to stack #10688 December 3, 2026 10:41
@github-advanced-security

Copy link
Copy Markdown
Contributor

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@TimDiekmann
TimDiekmann marked this pull request as ready for review December 3, 2026 10:49
@TimDiekmann
TimDiekmann requested review from a team as code owners December 3, 2026 10:49
Copilot AI balanced review requested due to automatic review settings December 3, 2026 10:49
@cursor

cursor Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
Adds an empty library crate and workspace wiring only; no runtime, data, or auth behavior changes.

Overview
Introduces hash-graph-relay, a new workspace crate under libs/@local/graph/relay, as scaffolding for relay logic that will read entity changes from the graph transactional outbox and publish them to the message queue (to be implemented in follow-up PRs).

The crate is wired into the root Cargo.toml workspace members and [workspace.dependencies], with Cargo.lock updated accordingly. libs/@local/graph/README.md now documents relay alongside the other graph crates.

Implementation is intentionally minimal: crate docs describe the intended purpose, embed a Mermaid dependency diagram via simple-mermaid, and include a placeholder unit test so CI’s test:unit task does not fail on an empty test suite. Standard repo chores (turbo.json, docs/task-dependencies.json, LICENSE.md) mirror other graph library crates. Nothing in apps/hash-graph or elsewhere depends on the crate yet.

Reviewed by Cursor Bugbot for commit e0f0e83. Bugbot is set up for automated code reviews on this repo. Configure here.

@veria-ai

veria-ai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

PR overview

No security issues were found in this pull request.

Reviews

@codecov

codecov Bot commented Dec 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.38%. Comparing base (88344dd) to head (e0f0e83).

Additional details and impacted files
@@                         Coverage Diff                         @@
##           pe/be-1233-graph-change-publishing   #10701   +/-   ##
===================================================================
  Coverage                               70.38%   70.38%           
===================================================================
  Files                                    2141     2142    +1     
  Lines                                  226436   226437    +1     
  Branches                                 9820     9820           
===================================================================
+ Hits                                   159380   159381    +1     
  Misses                                  65004    65004           
  Partials                                 2052     2052           
Flag Coverage Δ
hash-graph-relay 100.00% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are recorded for the relay crate scaffold.

No open issues 🎉

What changed in this PR

Adds the empty hash-graph-relay library as groundwork for publishing transactional outbox events through hash-queue. Relay logic and the CLI subcommand remain deferred.

Changes:

  • Registers the crate in the Cargo workspace.
  • Adds documentation, licensing, and dependency diagrams.
  • Configures lint and test tasks with a placeholder unit test.
File Description
libs/​@local/​graph/​relay/​turbo.json Defines documentation, lint, and test commands.
libs/​@local/​graph/​relay/​src/​lib.rs Adds crate documentation and a placeholder test.
libs/​@local/​graph/​relay/​LICENSE.md Includes the AGPL license.
libs/​@local/​graph/​relay/​docs/​task-dependencies.json Records task dependencies and settings.
libs/​@local/​graph/​relay/​docs/​dependency-diagram.mmd Adds the initial dependency diagram.
libs/​@local/​graph/​relay/​Cargo.toml Defines crate metadata and its documentation dependency.
libs/​@local/​graph/​README.md Describes the relay’s intended role.
Cargo.toml Registers the workspace member and dependency entry.
Cargo.lock Records the new crate.

Review effort: Balanced

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Benchmark results

hash-graph-benches – Integrations

policy_resolution_large

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2002 $$29.2 \mathrm{ms} \pm 365 \mathrm{μs}\left({\color{gray}-1.394 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.76 \mathrm{ms} \pm 50.8 \mathrm{μs}\left({\color{gray}0.788 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1002 $$14.2 \mathrm{ms} \pm 145 \mathrm{μs}\left({\color{gray}0.663 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 3314 $$206 \mathrm{ms} \pm 2.91 \mathrm{ms}\left({\color{red}32.5 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$16.6 \mathrm{ms} \pm 200 \mathrm{μs}\left({\color{gray}1.30 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 1527 $$27.4 \mathrm{ms} \pm 416 \mathrm{μs}\left({\color{gray}2.95 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 2079 $$31.3 \mathrm{ms} \pm 498 \mathrm{μs}\left({\color{gray}-1.786 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.90 \mathrm{ms} \pm 38.2 \mathrm{μs}\left({\color{gray}-4.283 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 1034 $$15.4 \mathrm{ms} \pm 208 \mathrm{μs}\left({\color{gray}0.686 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_medium

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 102 $$4.34 \mathrm{ms} \pm 43.9 \mathrm{μs}\left({\color{red}9.81 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.40 \mathrm{ms} \pm 36.3 \mathrm{μs}\left({\color{red}8.63 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 52 $$3.92 \mathrm{ms} \pm 41.4 \mathrm{μs}\left({\color{red}12.7 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 269 $$5.94 \mathrm{ms} \pm 58.8 \mathrm{μs}\left({\color{red}7.52 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$4.08 \mathrm{ms} \pm 39.8 \mathrm{μs}\left({\color{red}5.44 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 108 $$4.84 \mathrm{ms} \pm 47.7 \mathrm{μs}\left({\color{red}9.26 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 134 $$5.03 \mathrm{ms} \pm 68.6 \mathrm{μs}\left({\color{gray}2.78 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.95 \mathrm{ms} \pm 35.8 \mathrm{μs}\left({\color{red}7.15 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 64 $$4.76 \mathrm{ms} \pm 48.5 \mathrm{μs}\left({\color{red}5.66 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_none

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2 $$3.04 \mathrm{ms} \pm 35.0 \mathrm{μs}\left({\color{gray}4.64 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.00 \mathrm{ms} \pm 24.4 \mathrm{μs}\left({\color{gray}4.36 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 2 $$3.08 \mathrm{ms} \pm 26.2 \mathrm{μs}\left({\color{gray}4.13 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 9 $$3.52 \mathrm{ms} \pm 32.4 \mathrm{μs}\left({\color{red}8.33 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.17 \mathrm{ms} \pm 28.3 \mathrm{μs}\left({\color{red}5.47 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 4 $$3.55 \mathrm{ms} \pm 35.9 \mathrm{μs}\left({\color{red}9.13 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_small

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 52 $$3.46 \mathrm{ms} \pm 32.4 \mathrm{μs}\left({\color{gray}1.27 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.16 \mathrm{ms} \pm 42.4 \mathrm{μs}\left({\color{red}6.09 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 26 $$3.38 \mathrm{ms} \pm 32.5 \mathrm{μs}\left({\color{gray}4.62 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 94 $$4.01 \mathrm{ms} \pm 41.9 \mathrm{μs}\left({\color{gray}1.69 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.52 \mathrm{ms} \pm 32.8 \mathrm{μs}\left({\color{red}8.26 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 27 $$3.81 \mathrm{ms} \pm 48.5 \mathrm{μs}\left({\color{red}9.91 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 67 $$3.97 \mathrm{ms} \pm 42.8 \mathrm{μs}\left({\color{gray}-1.815 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.38 \mathrm{ms} \pm 26.2 \mathrm{μs}\left({\color{gray}2.69 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 30 $$3.94 \mathrm{ms} \pm 46.5 \mathrm{μs}\left({\color{red}7.81 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_complete

Function Value Mean Flame graphs
entity_by_id;one_depth 1 entities $$38.0 \mathrm{ms} \pm 373 \mathrm{μs}\left({\color{gray}1.60 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 10 entities $$79.8 \mathrm{ms} \pm 926 \mathrm{μs}\left({\color{gray}1.06 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 25 entities $$44.6 \mathrm{ms} \pm 423 \mathrm{μs}\left({\color{gray}4.58 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 5 entities $$46.0 \mathrm{ms} \pm 354 \mathrm{μs}\left({\color{gray}1.32 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 50 entities $$54.3 \mathrm{ms} \pm 675 \mathrm{μs}\left({\color{gray}2.14 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 1 entities $$40.8 \mathrm{ms} \pm 388 \mathrm{μs}\left({\color{gray}3.40 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 10 entities $$437 \mathrm{ms} \pm 2.14 \mathrm{ms}\left({\color{gray}-1.170 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 25 entities $$116 \mathrm{ms} \pm 801 \mathrm{μs}\left({\color{lightgreen}-5.433 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 5 entities $$87.6 \mathrm{ms} \pm 915 \mathrm{μs}\left({\color{gray}1.32 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 50 entities $$359 \mathrm{ms} \pm 1.52 \mathrm{ms}\left({\color{lightgreen}-15.330 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 1 entities $$12.8 \mathrm{ms} \pm 117 \mathrm{μs}\left({\color{gray}-2.251 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 10 entities $$13.6 \mathrm{ms} \pm 132 \mathrm{μs}\left({\color{red}5.93 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 25 entities $$14.0 \mathrm{ms} \pm 128 \mathrm{μs}\left({\color{red}7.83 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 5 entities $$12.8 \mathrm{ms} \pm 112 \mathrm{μs}\left({\color{gray}-2.419 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 50 entities $$13.4 \mathrm{ms} \pm 144 \mathrm{μs}\left({\color{red}6.25 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$13.3 \mathrm{ms} \pm 139 \mathrm{μs}\left({\color{gray}2.71 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$13.2 \mathrm{ms} \pm 170 \mathrm{μs}\left({\color{red}7.13 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$13.0 \mathrm{ms} \pm 141 \mathrm{μs}\left({\color{gray}3.76 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$13.4 \mathrm{ms} \pm 141 \mathrm{μs}\left({\color{gray}4.88 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$13.4 \mathrm{ms} \pm 114 \mathrm{μs}\left({\color{gray}3.32 \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 $$14.4 \mathrm{ms} \pm 109 \mathrm{μs}\left({\color{gray}0.726 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$14.8 \mathrm{ms} \pm 122 \mathrm{μs}\left({\color{gray}-0.184 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$14.8 \mathrm{ms} \pm 134 \mathrm{μs}\left({\color{gray}0.322 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$14.6 \mathrm{ms} \pm 150 \mathrm{μs}\left({\color{gray}-0.559 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$14.6 \mathrm{ms} \pm 174 \mathrm{μs}\left({\color{gray}1.48 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$14.8 \mathrm{ms} \pm 153 \mathrm{μs}\left({\color{gray}2.84 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$14.8 \mathrm{ms} \pm 152 \mathrm{μs}\left({\color{gray}-1.323 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$14.5 \mathrm{ms} \pm 132 \mathrm{μs}\left({\color{gray}0.461 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$14.5 \mathrm{ms} \pm 111 \mathrm{μs}\left({\color{gray}-0.801 \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.47 \mathrm{ms} \pm 60.4 \mathrm{μs}\left({\color{gray}-1.382 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property traversal_paths=0 0 $$59.6 \mathrm{ms} \pm 446 \mathrm{μs}\left({\color{gray}-2.401 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=255 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true $$118 \mathrm{ms} \pm 966 \mathrm{μs}\left({\color{gray}-0.757 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false $$68.5 \mathrm{ms} \pm 747 \mathrm{μs}\left({\color{gray}-2.046 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true $$77.1 \mathrm{ms} \pm 754 \mathrm{μs}\left({\color{gray}-1.875 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true $$86.4 \mathrm{ms} \pm 705 \mathrm{μs}\left({\color{gray}-1.103 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true $$94.8 \mathrm{ms} \pm 954 \mathrm{μs}\left({\color{gray}-0.741 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=0 0 $$57.7 \mathrm{ms} \pm 587 \mathrm{μs}\left({\color{gray}-1.127 \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 $$88.3 \mathrm{ms} \pm 722 \mathrm{μs}\left({\color{gray}-1.856 \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 $$64.8 \mathrm{ms} \pm 630 \mathrm{μs}\left({\color{gray}-2.513 \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 $$74.2 \mathrm{ms} \pm 726 \mathrm{μs}\left({\color{gray}-1.993 \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 $$77.0 \mathrm{ms} \pm 543 \mathrm{μs}\left({\color{gray}-0.290 \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 $$77.8 \mathrm{ms} \pm 682 \mathrm{μs}\left({\color{gray}-0.555 \mathrm{\%}}\right) $$

scenarios

Function Value Mean Flame graphs
full_test query-limited $$127 \mathrm{ms} \pm 1.09 \mathrm{ms}\left({\color{lightgreen}-6.134 \mathrm{\%}}\right) $$ Flame Graph
full_test query-unlimited $$137 \mathrm{ms} \pm 1.17 \mathrm{ms}\left({\color{lightgreen}-5.581 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-limited $$33.3 \mathrm{ms} \pm 291 \mathrm{μs}\left({\color{gray}-1.081 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-unlimited $$542 \mathrm{ms} \pm 1.92 \mathrm{ms}\left({\color{gray}-1.074 \mathrm{\%}}\right) $$ Flame Graph

This branch was successfully deployed

4 active (2 outdated) deployments
Preview – hash — e0f0e83d Deployed Dec 3, 2026 by vercel[bot]
Preview – petrinaut — e0f0e83d Deployed Dec 3, 2026 by vercel[bot]
Preview – petrinaut-docs — d28367e0 Deployed Dec 3, 2026 by vercel[bot]
Preview – hashdotdesign-tokens — d28367e0 Deployed Dec 3, 2026 by vercel[bot]
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/infra Relates to version control, CI, CD or IaC (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > backend Owned by the @backend team type/legal Owned by the @legal team

Development

Successfully merging this pull request may close these issues.

3 participants