Skip to content

BE-853: Add the initial problematic crate - #9683

Draft
TimDiekmann wants to merge 4 commits into
mainfrom
t/be-853-add-the-initial-problematic-crate
Draft

BE-853: Add the initial problematic crate#9683
TimDiekmann wants to merge 4 commits into
mainfrom
t/be-853-add-the-initial-problematic-crate

Conversation

@TimDiekmann

@TimDiekmann TimDiekmann commented Sep 11, 2026

Copy link
Copy Markdown
Member

🌟 What is the purpose of this PR?

Add the initial problematic Rust crate as the shared data model for HTTP Problem Details in the public Graph API. It provides serializable problem documents with typed extension members and optional JSON Schema generation. Invalid extension shapes and collisions with standard member names fail with a Serde error during serialization.

🔗 Related links

🚫 Blocked by

No prerequisites.

🔍 What does this change?

  • Add public ProblemType metadata, generic ProblemDetails<'kind, 'occurrence, E>, and NoExtensions.
  • Allow problem metadata and occurrence strings to be borrowed through Cow with separate lifetimes. Deserialization owns these strings and supports from_value and from_reader when the extension type implements DeserializeOwned.
  • Flatten extension members into the document. A serializer adapter rejects non-object extensions and top-level type, title, status, detail, or instance members, while allowing these names in nested objects.
  • Generate JSON Schema through the optional schemars feature, including examples and URI-reference annotations.
  • Add integration tests and JSON snapshot files, licenses, crate documentation, and Cargo/Turborepo workspace configuration.

Pre-Merge Checklist 🚀

🚢 Has this modified a publishable library?

This PR:

  • modifies a Cargo-publishable library, but it is not yet ready to publish

📜 Does this require a change to the docs?

The changes in this PR:

  • require changes to docs which are made as part of this PR

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

The changes in this PR:

  • add a package using the existing lint:clippy and test:unit task definitions, with workspace wiring and task-dependency documentation included.

⚠️ Known issues

The crate is an initial draft at version 0.0.0-reserved. Its API is still evolving.

🐾 Next steps

Continue the HTTP response, handler, middleware, and OpenAPI integration under BE-353.

🛡 What tests cover this?

Twenty-one integration tests cover typed extension roundtrips, borrowed fields and owned deserialization, omitted occurrence fields, invalid extension shapes, reserved member names, nested objects, map-key serialization, error propagation, and the base and extended JSON schemas. Eighteen run without the schemars feature. The static metadata example is covered by a doc-test.

❓ How to test this?

cargo nextest run --package problematic --all-features
cargo nextest run --package problematic --no-default-features
cargo test --package problematic --all-features --doc
cargo clippy --package problematic --all-features --all-targets --no-deps
cargo doc --package problematic --all-features --no-deps

📹 Demo

The base and extended schemas are available as .snap.json files under libs/problematic/rust/tests/snapshots.

@vercel

vercel Bot commented Sep 11, 2026

Copy link
Copy Markdown

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

4 Skipped Deployments
Project Deployment Actions Updated
hash Ignored Ignored Preview Sep 12, 2026 1:08pm UTC
hashdotdesign-tokens Ignored Ignored Preview Sep 12, 2026 1:08pm UTC
petrinaut Skipped Skipped Sep 12, 2026 1:08pm UTC
petrinaut-docs Skipped Skipped Sep 12, 2026 1:08pm 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) area/tests New or updated tests type/legal Owned by the @legal team labels Sep 11, 2026
@TimDiekmann TimDiekmann self-assigned this Sep 11, 2026
@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.

@codecov

codecov Bot commented Sep 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 60.08230% with 97 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.89%. Comparing base (fb728e4) to head (0a39b46).
⚠️ Report is 21 commits behind head on main.

Files with missing lines Patch % Lines
libs/problematic/rust/src/serialization/key.rs 27.27% 72 Missing ⚠️
libs/problematic/rust/src/serialization/mod.rs 82.63% 25 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9683      +/-   ##
==========================================
- Coverage   65.90%   65.89%   -0.01%     
==========================================
  Files        1887     1889       +2     
  Lines      198443   198686     +243     
  Branches     8248     8248              
==========================================
+ Hits       130774   130918     +144     
- Misses      66139    66238      +99     
  Partials     1530     1530              
Flag Coverage Δ
rust.problematic 60.08% <60.08%> (?)

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.

@codspeed-hq

codspeed-hq Bot commented Sep 11, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ 6 benchmarks measured no execution time

Nothing ran under measurement, usually because the compiler removed the code under test. These results are not comparable, so they count as unchanged.

Preventing compiler optimizations

✅ 98 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
⚠️ as_constant < 1 ns < 1 ns N/A
⚠️ constant_equal < 1 ns < 1 ns N/A
⚠️ constant_not_equal < 1 ns < 1 ns N/A
⚠️ access < 1 ns < 1 ns N/A
⚠️ runtime_equal < 1 ns < 1 ns N/A
⚠️ runtime_not_equal < 1 ns < 1 ns N/A

Comparing t/be-853-add-the-initial-problematic-crate (0a39b46) with main (67f60d5)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (8aedda0) during the generation of this report, so 67f60d5 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

vilkinsons
vilkinsons previously approved these changes Sep 11, 2026
@github-actions

Copy link
Copy Markdown
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 $$27.4 \mathrm{ms} \pm 200 \mathrm{μs}\left({\color{gray}-0.392 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.56 \mathrm{ms} \pm 22.9 \mathrm{μs}\left({\color{gray}1.67 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1002 $$12.4 \mathrm{ms} \pm 93.5 \mathrm{μs}\left({\color{gray}-0.389 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 3314 $$43.6 \mathrm{ms} \pm 410 \mathrm{μs}\left({\color{gray}-0.921 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$15.0 \mathrm{ms} \pm 131 \mathrm{μs}\left({\color{red}5.34 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 1527 $$24.2 \mathrm{ms} \pm 187 \mathrm{μs}\left({\color{gray}1.45 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 2078 $$28.4 \mathrm{ms} \pm 239 \mathrm{μs}\left({\color{gray}0.255 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.80 \mathrm{ms} \pm 23.1 \mathrm{μs}\left({\color{gray}1.07 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 1033 $$13.4 \mathrm{ms} \pm 127 \mathrm{μs}\left({\color{gray}-0.417 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_medium

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 102 $$3.87 \mathrm{ms} \pm 27.7 \mathrm{μs}\left({\color{gray}-0.122 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.03 \mathrm{ms} \pm 17.0 \mathrm{μs}\left({\color{gray}-0.881 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 52 $$3.36 \mathrm{ms} \pm 17.2 \mathrm{μs}\left({\color{gray}-3.189 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 269 $$5.30 \mathrm{ms} \pm 44.7 \mathrm{μs}\left({\color{gray}-0.125 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.60 \mathrm{ms} \pm 30.0 \mathrm{μs}\left({\color{gray}-0.138 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 108 $$4.29 \mathrm{ms} \pm 60.3 \mathrm{μs}\left({\color{gray}1.59 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 133 $$4.51 \mathrm{ms} \pm 35.5 \mathrm{μs}\left({\color{gray}-0.440 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.49 \mathrm{ms} \pm 23.6 \mathrm{μs}\left({\color{gray}0.372 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 63 $$4.28 \mathrm{ms} \pm 38.6 \mathrm{μs}\left({\color{gray}0.544 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_none

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2 $$2.79 \mathrm{ms} \pm 21.8 \mathrm{μs}\left({\color{gray}0.780 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.72 \mathrm{ms} \pm 18.2 \mathrm{μs}\left({\color{gray}-0.709 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 2 $$2.84 \mathrm{ms} \pm 18.1 \mathrm{μs}\left({\color{gray}-0.630 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 8 $$3.09 \mathrm{ms} \pm 22.5 \mathrm{μs}\left({\color{gray}-0.320 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.89 \mathrm{ms} \pm 17.1 \mathrm{μs}\left({\color{gray}-0.557 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 3 $$3.18 \mathrm{ms} \pm 19.3 \mathrm{μs}\left({\color{gray}-1.189 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_small

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 52 $$3.15 \mathrm{ms} \pm 23.7 \mathrm{μs}\left({\color{gray}-0.970 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.82 \mathrm{ms} \pm 16.1 \mathrm{μs}\left({\color{gray}-0.802 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 26 $$3.03 \mathrm{ms} \pm 18.9 \mathrm{μs}\left({\color{gray}-0.323 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 94 $$3.57 \mathrm{ms} \pm 19.9 \mathrm{μs}\left({\color{gray}-1.036 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.08 \mathrm{ms} \pm 26.3 \mathrm{μs}\left({\color{gray}-0.669 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 27 $$3.38 \mathrm{ms} \pm 20.4 \mathrm{μs}\left({\color{gray}-0.151 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 66 $$3.44 \mathrm{ms} \pm 24.7 \mathrm{μs}\left({\color{gray}-2.377 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.09 \mathrm{ms} \pm 22.4 \mathrm{μs}\left({\color{gray}-0.054 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 29 $$3.35 \mathrm{ms} \pm 17.1 \mathrm{μs}\left({\color{gray}-2.158 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_complete

Function Value Mean Flame graphs
entity_by_id;one_depth 1 entities $$32.0 \mathrm{ms} \pm 200 \mathrm{μs}\left({\color{gray}-1.138 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 10 entities $$70.6 \mathrm{ms} \pm 540 \mathrm{μs}\left({\color{gray}-1.537 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 25 entities $$35.2 \mathrm{ms} \pm 215 \mathrm{μs}\left({\color{gray}0.500 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 5 entities $$39.2 \mathrm{ms} \pm 203 \mathrm{μs}\left({\color{gray}-0.772 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 50 entities $$42.1 \mathrm{ms} \pm 303 \mathrm{μs}\left({\color{gray}1.68 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 1 entities $$33.6 \mathrm{ms} \pm 199 \mathrm{μs}\left({\color{gray}0.047 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 10 entities $$418 \mathrm{ms} \pm 1.11 \mathrm{ms}\left({\color{gray}-2.709 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 25 entities $$91.3 \mathrm{ms} \pm 637 \mathrm{μs}\left({\color{gray}0.578 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 5 entities $$79.2 \mathrm{ms} \pm 451 \mathrm{μs}\left({\color{gray}-0.281 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 50 entities $$274 \mathrm{ms} \pm 1.01 \mathrm{ms}\left({\color{gray}0.560 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 1 entities $$10.5 \mathrm{ms} \pm 70.6 \mathrm{μs}\left({\color{gray}-0.439 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 10 entities $$10.6 \mathrm{ms} \pm 58.8 \mathrm{μs}\left({\color{gray}0.761 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 25 entities $$10.7 \mathrm{ms} \pm 61.1 \mathrm{μs}\left({\color{gray}0.099 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 5 entities $$10.6 \mathrm{ms} \pm 59.1 \mathrm{μs}\left({\color{gray}-0.049 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 50 entities $$10.7 \mathrm{ms} \pm 63.4 \mathrm{μs}\left({\color{gray}-0.271 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$10.6 \mathrm{ms} \pm 67.7 \mathrm{μs}\left({\color{gray}0.845 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$10.5 \mathrm{ms} \pm 60.5 \mathrm{μs}\left({\color{gray}1.00 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$10.5 \mathrm{ms} \pm 60.9 \mathrm{μs}\left({\color{gray}0.396 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$10.4 \mathrm{ms} \pm 54.0 \mathrm{μs}\left({\color{gray}-0.466 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$10.8 \mathrm{ms} \pm 80.8 \mathrm{μs}\left({\color{gray}0.010 \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 $$10.9 \mathrm{ms} \pm 63.7 \mathrm{μs}\left({\color{gray}-0.583 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$11.0 \mathrm{ms} \pm 56.4 \mathrm{μs}\left({\color{gray}0.687 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$10.9 \mathrm{ms} \pm 60.1 \mathrm{μs}\left({\color{gray}-0.639 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$10.8 \mathrm{ms} \pm 52.5 \mathrm{μs}\left({\color{gray}0.333 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$11.2 \mathrm{ms} \pm 85.5 \mathrm{μs}\left({\color{gray}0.220 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$11.2 \mathrm{ms} \pm 96.8 \mathrm{μs}\left({\color{gray}2.89 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$11.0 \mathrm{ms} \pm 76.7 \mathrm{μs}\left({\color{gray}0.328 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$10.9 \mathrm{ms} \pm 57.0 \mathrm{μs}\left({\color{gray}-0.150 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$11.0 \mathrm{ms} \pm 56.9 \mathrm{μs}\left({\color{gray}1.21 \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.10 \mathrm{ms} \pm 49.5 \mathrm{μs}\left({\color{gray}-1.025 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property traversal_paths=0 0 $$55.7 \mathrm{ms} \pm 421 \mathrm{μs}\left({\color{gray}3.41 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=255 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true $$108 \mathrm{ms} \pm 597 \mathrm{μs}\left({\color{gray}1.46 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false $$61.7 \mathrm{ms} \pm 452 \mathrm{μs}\left({\color{gray}1.95 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true $$71.0 \mathrm{ms} \pm 595 \mathrm{μs}\left({\color{gray}1.98 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true $$79.5 \mathrm{ms} \pm 466 \mathrm{μs}\left({\color{gray}1.16 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true $$86.5 \mathrm{ms} \pm 555 \mathrm{μs}\left({\color{gray}1.41 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=0 0 $$44.8 \mathrm{ms} \pm 303 \mathrm{μs}\left({\color{gray}-0.233 \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 $$72.9 \mathrm{ms} \pm 419 \mathrm{μs}\left({\color{gray}-0.518 \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 $$50.6 \mathrm{ms} \pm 308 \mathrm{μs}\left({\color{gray}-1.543 \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 $$59.7 \mathrm{ms} \pm 453 \mathrm{μs}\left({\color{gray}-0.403 \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 $$62.2 \mathrm{ms} \pm 506 \mathrm{μs}\left({\color{gray}0.426 \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 $$62.2 \mathrm{ms} \pm 465 \mathrm{μs}\left({\color{gray}-0.013 \mathrm{\%}}\right) $$

scenarios

Function Value Mean Flame graphs
full_test query-limited $$119 \mathrm{ms} \pm 732 \mathrm{μs}\left({\color{gray}4.27 \mathrm{\%}}\right) $$ Flame Graph
full_test query-unlimited $$129 \mathrm{ms} \pm 664 \mathrm{μs}\left({\color{gray}2.51 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-limited $$22.6 \mathrm{ms} \pm 166 \mathrm{μs}\left({\color{gray}-0.076 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-unlimited $$504 \mathrm{ms} \pm 1.14 \mathrm{ms}\left({\color{gray}0.494 \mathrm{\%}}\right) $$ Flame Graph

@vercel
vercel Bot temporarily deployed to Preview – petrinaut September 12, 2026 13:07 Inactive
@vercel
vercel Bot temporarily deployed to Preview – petrinaut-docs September 12, 2026 13:07 Inactive
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) area/tests New or updated tests type/legal Owned by the @legal team

Development

Successfully merging this pull request may close these issues.

3 participants