hashintel / hash

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

Update `clap` Rust crates #5644

Closed hash-worker[bot] closed 3 days ago

hash-worker[bot] commented 3 days ago

This PR contains the following updates:

Package Type Update Change
clap workspace.dependencies patch =4.5.20 -> =4.5.21
clap_builder workspace.dependencies patch =4.5.20 -> =4.5.21
clap_complete workspace.dependencies patch =4.5.37 -> =4.5.38

Release Notes

clap-rs/clap (clap) ### [`v4.5.21`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4521---2024-11-13) [Compare Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.20...v4.5.21) ##### Fixes - *(parser)* Ensure defaults are filled in on error with `ignore_errors(true)`

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.



This PR has been generated by Renovate Bot.

github-actions[bot] commented 3 days ago

Benchmark results

@rust/hash-graph-benches – Integrations

## scaling_read_entity_complete_one_depth | Function | Value | Mean | Flame graphs | |----------|-------|------|--------------| | entity_by_id | 25 entities | $$71.6 \mathrm{ms} \pm 529 \mathrm{μs}\left({\color{gray}0.654 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/scaling_read_entity_complete_one_depth/entity_by_id/25+entities/flamegraph.svg) | | entity_by_id | 5 entities | $$25.1 \mathrm{ms} \pm 252 \mathrm{μs}\left({\color{gray}-0.468 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/scaling_read_entity_complete_one_depth/entity_by_id/5+entities/flamegraph.svg) | | entity_by_id | 1 entities | $$20.4 \mathrm{ms} \pm 117 \mathrm{μs}\left({\color{gray}0.718 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/scaling_read_entity_complete_one_depth/entity_by_id/1+entities/flamegraph.svg) | | entity_by_id | 10 entities | $$50.7 \mathrm{ms} \pm 150 \mathrm{μs}\left({\color{red}25.1 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/scaling_read_entity_complete_one_depth/entity_by_id/10+entities/flamegraph.svg) | | entity_by_id | 50 entities | $$548 \mathrm{ms} \pm 4.33 \mathrm{ms}\left({\color{red}113 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/scaling_read_entity_complete_one_depth/entity_by_id/50+entities/flamegraph.svg) | ## 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.5 \mathrm{ms} \pm 211 \mathrm{μs}\left({\color{gray}2.65 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/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/page/v/2` | $$16.7 \mathrm{ms} \pm 153 \mathrm{μs}\left({\color{red}5.97 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/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/book/v/1` | $$17.1 \mathrm{ms} \pm 212 \mathrm{μs}\left({\color{red}5.90 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/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/playlist/v/1` | $$16.6 \mathrm{ms} \pm 231 \mathrm{μs}\left({\color{gray}-2.367 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/representative_read_entity/entity_by_id/entity+type+ID_+`https___blockprotocol.org_@alice_types_entity-t_3/flamegraph.svg) | | entity_by_id | entity type ID: `https://blockprotocol.org/@alice/types/entity-type/person/v/1` | $$16.4 \mathrm{ms} \pm 210 \mathrm{μs}\left({\color{gray}-2.434 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/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/building/v/1` | $$17.0 \mathrm{ms} \pm 201 \mathrm{μs}\left({\color{red}6.62 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/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/song/v/1` | $$16.8 \mathrm{ms} \pm 173 \mathrm{μs}\left({\color{gray}-0.421 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/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/organization/v/1` | $$16.8 \mathrm{ms} \pm 209 \mathrm{μs}\left({\color{gray}0.702 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/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/block/v/1` | $$16.2 \mathrm{ms} \pm 187 \mathrm{μs}\left({\color{gray}-4.516 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/representative_read_entity/entity_by_id/entity+type+ID_+`https___blockprotocol.org_@alice_types_entity-t_2/flamegraph.svg) | ## scaling_read_entity_complete_zero_depth | Function | Value | Mean | Flame graphs | |----------|-------|------|--------------| | entity_by_id | 25 entities | $$3.33 \mathrm{ms} \pm 19.0 \mathrm{μs}\left({\color{red}20.8 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/scaling_read_entity_complete_zero_depth/entity_by_id/25+entities/flamegraph.svg) | | entity_by_id | 5 entities | $$1.90 \mathrm{ms} \pm 8.87 \mathrm{μs}\left({\color{gray}-2.027 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/scaling_read_entity_complete_zero_depth/entity_by_id/5+entities/flamegraph.svg) | | entity_by_id | 1 entities | $$1.90 \mathrm{ms} \pm 12.4 \mathrm{μs}\left({\color{gray}0.838 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/scaling_read_entity_complete_zero_depth/entity_by_id/1+entities/flamegraph.svg) | | entity_by_id | 10 entities | $$2.12 \mathrm{ms} \pm 9.26 \mathrm{μs}\left({\color{gray}-0.481 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/scaling_read_entity_complete_zero_depth/entity_by_id/10+entities/flamegraph.svg) | | entity_by_id | 50 entities | $$5.43 \mathrm{ms} \pm 21.8 \mathrm{μs}\left({\color{gray}2.77 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/scaling_read_entity_complete_zero_depth/entity_by_id/50+entities/flamegraph.svg) | ## scaling_read_entity_linkless | Function | Value | Mean | Flame graphs | |----------|-------|------|--------------| | entity_by_id | 1 entities | $$1.87 \mathrm{ms} \pm 6.27 \mathrm{μs}\left({\color{gray}0.235 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/scaling_read_entity_linkless/entity_by_id/1+entities/flamegraph.svg) | | entity_by_id | 10000 entities | $$13.8 \mathrm{ms} \pm 94.4 \mathrm{μs}\left({\color{gray}1.44 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/scaling_read_entity_linkless/entity_by_id/10000+entities/flamegraph.svg) | | entity_by_id | 100 entities | $$2.04 \mathrm{ms} \pm 9.00 \mathrm{μs}\left({\color{gray}2.71 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/scaling_read_entity_linkless/entity_by_id/100+entities/flamegraph.svg) | | entity_by_id | 1000 entities | $$2.93 \mathrm{ms} \pm 20.7 \mathrm{μs}\left({\color{gray}2.98 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/scaling_read_entity_linkless/entity_by_id/1000+entities/flamegraph.svg) | | entity_by_id | 10 entities | $$1.92 \mathrm{ms} \pm 7.14 \mathrm{μs}\left({\color{gray}1.28 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/scaling_read_entity_linkless/entity_by_id/10+entities/flamegraph.svg) | ## representative_read_multiple_entities | Function | Value | Mean | Flame graphs | |----------|-------|------|--------------| | link_by_source_by_property | depths: DT=255, PT=255, ET=255, E=255 | $$112 \mathrm{ms} \pm 633 \mathrm{μs}\left({\color{gray}0.498 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/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=2, E=2 | $$93.1 \mathrm{ms} \pm 570 \mathrm{μs}\left({\color{gray}2.31 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/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=2, PT=2, ET=2, E=2 | $$102 \mathrm{ms} \pm 535 \mathrm{μs}\left({\color{gray}-0.127 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/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=0 | $$44.8 \mathrm{ms} \pm 184 \mathrm{μs}\left({\color{gray}0.908 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/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=0, PT=2, ET=2, E=2 | $$97.0 \mathrm{ms} \pm 669 \mathrm{μs}\left({\color{gray}-0.546 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/representative_read_multiple_entities/link_by_source_by_property/depths_+DT=0,+PT=2,+ET=2,+E=2/flamegraph.svg) | | link_by_source_by_property | depths: DT=0, PT=0, ET=0, E=2 | $$84.1 \mathrm{ms} \pm 365 \mathrm{μs}\left({\color{gray}1.45 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/representative_read_multiple_entities/link_by_source_by_property/depths_+DT=0,+PT=0,+ET=0,+E=2/flamegraph.svg) | | entity_by_property | depths: DT=255, PT=255, ET=255, E=255 | $$70.7 \mathrm{ms} \pm 392 \mathrm{μs}\left({\color{gray}-0.341 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/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=2, E=2 | $$50.8 \mathrm{ms} \pm 341 \mathrm{μs}\left({\color{gray}-0.218 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/representative_read_multiple_entities/entity_by_property/depths_+DT=0,+PT=0,+ET=2,+E=2/flamegraph.svg) | | entity_by_property | depths: DT=2, PT=2, ET=2, E=2 | $$61.5 \mathrm{ms} \pm 347 \mathrm{μs}\left({\color{gray}0.190 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/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=0 | $$41.2 \mathrm{ms} \pm 399 \mathrm{μs}\left({\color{red}5.25 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/representative_read_multiple_entities/entity_by_property/depths_+DT=0,+PT=0,+ET=0,+E=0/flamegraph.svg) | | entity_by_property | depths: DT=0, PT=2, ET=2, E=2 | $$55.3 \mathrm{ms} \pm 304 \mathrm{μs}\left({\color{gray}-0.650 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/representative_read_multiple_entities/entity_by_property/depths_+DT=0,+PT=2,+ET=2,+E=2/flamegraph.svg) | | entity_by_property | depths: DT=0, PT=0, ET=0, E=2 | $$45.4 \mathrm{ms} \pm 282 \mathrm{μs}\left({\color{gray}-0.251 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/representative_read_multiple_entities/entity_by_property/depths_+DT=0,+PT=0,+ET=0,+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.40 \mathrm{ms} \pm 8.65 \mathrm{μs}\left({\color{gray}1.60 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/c957921b24d59fdc9f1356f23af7a2f64020ac78/representative_read_entity_type/get_entity_type_by_id/Account+ID_+`d4e16033-c281-4cde-aa35-9085bf2e7579`/flamegraph.svg) |