hashintel / hash

🚀 The open-source, multi-tenant, self-building knowledge graph
https://hash.dev
Other
1.08k stars 83 forks source link

Update Rust crate `scc` to v2.2.5 #5654

Closed hash-worker[bot] closed 1 day ago

hash-worker[bot] commented 1 day ago

This PR contains the following updates:

Package Type Update Change
scc workspace.dependencies patch =2.2.4 -> =2.2.5

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.



This PR has been generated by Renovate Bot.

codecov[bot] commented 1 day ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 19.83%. Comparing base (76b5ec9) to head (89392f5). Report is 8 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #5654 +/- ## ========================================== - Coverage 19.84% 19.83% -0.01% ========================================== Files 515 515 Lines 17323 17327 +4 Branches 2547 2548 +1 ========================================== Hits 3437 3437 - Misses 13848 13852 +4 Partials 38 38 ``` | [Flag](https://app.codecov.io/gh/hashintel/hash/pull/5654/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashintel) | Coverage Δ | | |---|---|---| | [apps.hash-ai-worker-ts](https://app.codecov.io/gh/hashintel/hash/pull/5654/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashintel) | `1.38% <ø> (ø)` | | | [apps.hash-api](https://app.codecov.io/gh/hashintel/hash/pull/5654/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashintel) | `1.17% <ø> (-0.01%)` | :arrow_down: | | [blockprotocol.type-system](https://app.codecov.io/gh/hashintel/hash/pull/5654/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashintel) | `47.40% <ø> (ø)` | | | [local.hash-backend-utils](https://app.codecov.io/gh/hashintel/hash/pull/5654/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashintel) | `8.80% <ø> (ø)` | | | [local.hash-graph-sdk](https://app.codecov.io/gh/hashintel/hash/pull/5654/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashintel) | `100.00% <ø> (ø)` | | | [local.hash-isomorphic-utils](https://app.codecov.io/gh/hashintel/hash/pull/5654/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashintel) | `1.05% <ø> (ø)` | | | [local.hash-subgraph](https://app.codecov.io/gh/hashintel/hash/pull/5654/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashintel) | `24.54% <ø> (ø)` | | | [rust.deer](https://app.codecov.io/gh/hashintel/hash/pull/5654/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashintel) | `6.66% <ø> (ø)` | | | [rust.error-stack](https://app.codecov.io/gh/hashintel/hash/pull/5654/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashintel) | `72.51% <ø> (ø)` | | | [rust.sarif](https://app.codecov.io/gh/hashintel/hash/pull/5654/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashintel) | `87.66% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashintel#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 1 day ago

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/block/v/1` | $$16.5 \mathrm{ms} \pm 158 \mathrm{μs}\left({\color{gray}-1.382 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_entity/entity_by_id/entity+type+ID_+`https___blockprotocol.org_@alice_types_entity-t/flamegraph.svg) | | entity_by_id | entity type ID: `https://blockprotocol.org/@alice/types/entity-type/page/v/2` | $$15.9 \mathrm{ms} \pm 155 \mathrm{μs}\left({\color{gray}-4.813 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_entity/entity_by_id/entity+type+ID_+`https___blockprotocol.org_@alice_types_entity-t_5/flamegraph.svg) | | entity_by_id | entity type ID: `https://blockprotocol.org/@alice/types/entity-type/building/v/1` | $$17.3 \mathrm{ms} \pm 208 \mathrm{μs}\left({\color{gray}4.79 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_entity/entity_by_id/entity+type+ID_+`https___blockprotocol.org_@alice_types_entity-t_4/flamegraph.svg) | | entity_by_id | entity type ID: `https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1` | $$17.1 \mathrm{ms} \pm 190 \mathrm{μs}\left({\color{red}5.29 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_entity/entity_by_id/entity+type+ID_+`https___blockprotocol.org_@alice_types_entity-t_8/flamegraph.svg) | | entity_by_id | entity type ID: `https://blockprotocol.org/@alice/types/entity-type/organization/v/1` | $$17.9 \mathrm{ms} \pm 198 \mathrm{μs}\left({\color{red}9.28 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_entity/entity_by_id/entity+type+ID_+`https___blockprotocol.org_@alice_types_entity-t_7/flamegraph.svg) | | entity_by_id | entity type ID: `https://blockprotocol.org/@alice/types/entity-type/book/v/1` | $$17.1 \mathrm{ms} \pm 193 \mathrm{μs}\left({\color{gray}2.15 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_entity/entity_by_id/entity+type+ID_+`https___blockprotocol.org_@alice_types_entity-t_9/flamegraph.svg) | | entity_by_id | entity type ID: `https://blockprotocol.org/@alice/types/entity-type/playlist/v/1` | $$17.2 \mathrm{ms} \pm 209 \mathrm{μs}\left({\color{gray}0.885 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_entity/entity_by_id/entity+type+ID_+`https___blockprotocol.org_@alice_types_entity-t_6/flamegraph.svg) | | entity_by_id | entity type ID: `https://blockprotocol.org/@alice/types/entity-type/song/v/1` | $$17.1 \mathrm{ms} \pm 230 \mathrm{μs}\left({\color{gray}0.864 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_entity/entity_by_id/entity+type+ID_+`https___blockprotocol.org_@alice_types_entity-t_2/flamegraph.svg) | | entity_by_id | entity type ID: `https://blockprotocol.org/@alice/types/entity-type/person/v/1` | $$16.5 \mathrm{ms} \pm 178 \mathrm{μs}\left({\color{gray}2.55 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_entity/entity_by_id/entity+type+ID_+`https___blockprotocol.org_@alice_types_entity-t_3/flamegraph.svg) | ## 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 425 \mathrm{μs}\left({\color{gray}-1.080 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_multiple_entities/entity_by_property/depths_+DT=255,+PT=255,+ET=255,+E=255/flamegraph.svg) | | entity_by_property | depths: DT=0, PT=0, ET=0, E=0 | $$40.5 \mathrm{ms} \pm 243 \mathrm{μs}\left({\color{gray}1.26 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_multiple_entities/entity_by_property/depths_+DT=0,+PT=0,+ET=0,+E=0/flamegraph.svg) | | entity_by_property | depths: DT=2, PT=2, ET=2, E=2 | $$58.5 \mathrm{ms} \pm 315 \mathrm{μs}\left({\color{gray}-0.522 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_multiple_entities/entity_by_property/depths_+DT=2,+PT=2,+ET=2,+E=2/flamegraph.svg) | | entity_by_property | depths: DT=0, PT=0, ET=0, E=2 | $$44.2 \mathrm{ms} \pm 324 \mathrm{μs}\left({\color{gray}-0.595 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_multiple_entities/entity_by_property/depths_+DT=0,+PT=0,+ET=0,+E=2/flamegraph.svg) | | entity_by_property | depths: DT=0, PT=0, ET=2, E=2 | $$49.4 \mathrm{ms} \pm 210 \mathrm{μs}\left({\color{gray}-0.611 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_multiple_entities/entity_by_property/depths_+DT=0,+PT=0,+ET=2,+E=2/flamegraph.svg) | | entity_by_property | depths: DT=0, PT=2, ET=2, E=2 | $$54.0 \mathrm{ms} \pm 269 \mathrm{μs}\left({\color{gray}-0.658 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_multiple_entities/entity_by_property/depths_+DT=0,+PT=2,+ET=2,+E=2/flamegraph.svg) | | link_by_source_by_property | depths: DT=255, PT=255, ET=255, E=255 | $$107 \mathrm{ms} \pm 493 \mathrm{μs}\left({\color{gray}-1.000 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_multiple_entities/link_by_source_by_property/depths_+DT=255,+PT=255,+ET=255,+E=255/flamegraph.svg) | | link_by_source_by_property | depths: DT=0, PT=0, ET=0, E=0 | $$42.1 \mathrm{ms} \pm 238 \mathrm{μs}\left({\color{gray}-1.599 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_multiple_entities/link_by_source_by_property/depths_+DT=0,+PT=0,+ET=0,+E=0/flamegraph.svg) | | link_by_source_by_property | depths: DT=2, PT=2, ET=2, E=2 | $$98.3 \mathrm{ms} \pm 592 \mathrm{μs}\left({\color{gray}-0.315 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_multiple_entities/link_by_source_by_property/depths_+DT=2,+PT=2,+ET=2,+E=2/flamegraph.svg) | | link_by_source_by_property | depths: DT=0, PT=0, ET=0, E=2 | $$80.0 \mathrm{ms} \pm 364 \mathrm{μs}\left({\color{gray}-0.356 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_multiple_entities/link_by_source_by_property/depths_+DT=0,+PT=0,+ET=0,+E=2/flamegraph.svg) | | link_by_source_by_property | depths: DT=0, PT=0, ET=2, E=2 | $$89.0 \mathrm{ms} \pm 613 \mathrm{μs}\left({\color{gray}0.444 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_multiple_entities/link_by_source_by_property/depths_+DT=0,+PT=0,+ET=2,+E=2/flamegraph.svg) | | link_by_source_by_property | depths: DT=0, PT=2, ET=2, E=2 | $$93.2 \mathrm{ms} \pm 497 \mathrm{μs}\left({\color{gray}-0.823 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_multiple_entities/link_by_source_by_property/depths_+DT=0,+PT=2,+ET=2,+E=2/flamegraph.svg) | ## representative_read_entity_type | Function | Value | Mean | Flame graphs | |----------|-------|------|--------------| | get_entity_type_by_id | Account ID: `d4e16033-c281-4cde-aa35-9085bf2e7579` | $$1.38 \mathrm{ms} \pm 5.95 \mathrm{μs}\left({\color{gray}0.103 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/representative_read_entity_type/get_entity_type_by_id/Account+ID_+`d4e16033-c281-4cde-aa35-9085bf2e7579`/flamegraph.svg) | ## scaling_read_entity_complete_one_depth | Function | Value | Mean | Flame graphs | |----------|-------|------|--------------| | entity_by_id | 50 entities | $$261 \mathrm{ms} \pm 2.76 \mathrm{ms}\left({\color{gray}0.785 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/scaling_read_entity_complete_one_depth/entity_by_id/50+entities/flamegraph.svg) | | entity_by_id | 5 entities | $$25.3 \mathrm{ms} \pm 96.1 \mathrm{μs}\left({\color{gray}0.496 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/scaling_read_entity_complete_one_depth/entity_by_id/5+entities/flamegraph.svg) | | entity_by_id | 1 entities | $$20.1 \mathrm{ms} \pm 89.7 \mathrm{μs}\left({\color{gray}-0.859 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/scaling_read_entity_complete_one_depth/entity_by_id/1+entities/flamegraph.svg) | | entity_by_id | 10 entities | $$46.9 \mathrm{ms} \pm 2.52 \mathrm{ms}\left({\color{lightgreen}-9.350 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/scaling_read_entity_complete_one_depth/entity_by_id/10+entities/flamegraph.svg) | | entity_by_id | 25 entities | $$70.0 \mathrm{ms} \pm 406 \mathrm{μs}\left({\color{gray}-1.803 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/scaling_read_entity_complete_one_depth/entity_by_id/25+entities/flamegraph.svg) | ## scaling_read_entity_linkless | Function | Value | Mean | Flame graphs | |----------|-------|------|--------------| | entity_by_id | 1 entities | $$1.86 \mathrm{ms} \pm 4.72 \mathrm{μs}\left({\color{gray}-0.260 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/scaling_read_entity_linkless/entity_by_id/1+entities/flamegraph.svg) | | entity_by_id | 100 entities | $$2.05 \mathrm{ms} \pm 8.77 \mathrm{μs}\left({\color{gray}-0.071 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/scaling_read_entity_linkless/entity_by_id/100+entities/flamegraph.svg) | | entity_by_id | 10 entities | $$1.90 \mathrm{ms} \pm 4.98 \mathrm{μs}\left({\color{gray}-1.054 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/scaling_read_entity_linkless/entity_by_id/10+entities/flamegraph.svg) | | entity_by_id | 1000 entities | $$2.81 \mathrm{ms} \pm 9.46 \mathrm{μs}\left({\color{gray}-4.023 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/scaling_read_entity_linkless/entity_by_id/1000+entities/flamegraph.svg) | | entity_by_id | 10000 entities | $$14.0 \mathrm{ms} \pm 57.1 \mathrm{μs}\left({\color{gray}3.15 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/scaling_read_entity_linkless/entity_by_id/10000+entities/flamegraph.svg) | ## scaling_read_entity_complete_zero_depth | Function | Value | Mean | Flame graphs | |----------|-------|------|--------------| | entity_by_id | 50 entities | $$4.23 \mathrm{ms} \pm 21.0 \mathrm{μs}\left({\color{gray}-1.737 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/scaling_read_entity_complete_zero_depth/entity_by_id/50+entities/flamegraph.svg) | | entity_by_id | 5 entities | $$1.95 \mathrm{ms} \pm 10.3 \mathrm{μs}\left({\color{gray}2.49 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/scaling_read_entity_complete_zero_depth/entity_by_id/5+entities/flamegraph.svg) | | entity_by_id | 1 entities | $$1.86 \mathrm{ms} \pm 8.83 \mathrm{μs}\left({\color{gray}-1.055 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/scaling_read_entity_complete_zero_depth/entity_by_id/1+entities/flamegraph.svg) | | entity_by_id | 10 entities | $$2.12 \mathrm{ms} \pm 12.3 \mathrm{μs}\left({\color{gray}0.417 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/scaling_read_entity_complete_zero_depth/entity_by_id/10+entities/flamegraph.svg) | | entity_by_id | 25 entities | $$3.30 \mathrm{ms} \pm 14.9 \mathrm{μs}\left({\color{gray}0.132 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/89392f5ec28122ff2cc622b9dd4c6378103ca620/scaling_read_entity_complete_zero_depth/entity_by_id/25+entities/flamegraph.svg) |