hashintel / hash

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

Update npm package `rollup` to v4.26.0 #5638

Closed hash-worker[bot] closed 4 days ago

hash-worker[bot] commented 4 days ago

This PR contains the following updates:

Package Type Update Change
rollup (source) devDependencies minor 4.25.0 -> 4.26.0

Release Notes

rollup/rollup (rollup) ### [`v4.26.0`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4260) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.25.0...v4.26.0) *2024-11-13* ##### Features - Allow to avoid `await bundle.close()` via explicit resource management in TypeScript ([#​5721](https://redirect.github.com/rollup/rollup/issues/5721)) ##### Pull Requests - [#​5721](https://redirect.github.com/rollup/rollup/pull/5721): feat: support `using` for `RollupBuild` ([@​shulaoda](https://redirect.github.com/shulaoda))

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.

github-actions[bot] commented 4 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.0 \mathrm{ms} \pm 422 \mathrm{μs}\left({\color{gray}-0.585 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/scaling_read_entity_complete_one_depth/entity_by_id/25+entities/flamegraph.svg) | | entity_by_id | 5 entities | $$25.6 \mathrm{ms} \pm 253 \mathrm{μs}\left({\color{gray}1.60 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/scaling_read_entity_complete_one_depth/entity_by_id/5+entities/flamegraph.svg) | | entity_by_id | 1 entities | $$20.0 \mathrm{ms} \pm 91.1 \mathrm{μs}\left({\color{gray}-1.692 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/scaling_read_entity_complete_one_depth/entity_by_id/1+entities/flamegraph.svg) | | entity_by_id | 10 entities | $$45.2 \mathrm{ms} \pm 2.90 \mathrm{ms}\left({\color{lightgreen}-12.470 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/scaling_read_entity_complete_one_depth/entity_by_id/10+entities/flamegraph.svg) | | entity_by_id | 50 entities | $$263 \mathrm{ms} \pm 2.20 \mathrm{ms}\left({\color{gray}1.85 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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/song/v/1` | $$16.2 \mathrm{ms} \pm 207 \mathrm{μs}\left({\color{gray}-2.675 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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/block/v/1` | $$16.7 \mathrm{ms} \pm 209 \mathrm{μs}\left({\color{gray}-2.633 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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/page/v/2` | $$16.4 \mathrm{ms} \pm 179 \mathrm{μs}\left({\color{gray}-1.377 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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/person/v/1` | $$17.0 \mathrm{ms} \pm 224 \mathrm{μs}\left({\color{gray}3.03 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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/building/v/1` | $$16.4 \mathrm{ms} \pm 209 \mathrm{μs}\left({\color{lightgreen}-6.261 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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/playlist/v/1` | $$17.5 \mathrm{ms} \pm 189 \mathrm{μs}\left({\color{red}7.80 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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/book/v/1` | $$16.4 \mathrm{ms} \pm 157 \mathrm{μs}\left({\color{gray}0.012 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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.6 \mathrm{ms} \pm 210 \mathrm{μs}\left({\color{gray}-0.312 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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/organization/v/1` | $$17.4 \mathrm{ms} \pm 226 \mathrm{μs}\left({\color{gray}3.07 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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.29 \mathrm{ms} \pm 12.4 \mathrm{μs}\left({\color{gray}-0.600 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/scaling_read_entity_complete_zero_depth/entity_by_id/25+entities/flamegraph.svg) | | entity_by_id | 5 entities | $$1.88 \mathrm{ms} \pm 8.62 \mathrm{μs}\left({\color{gray}-1.313 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/scaling_read_entity_complete_zero_depth/entity_by_id/5+entities/flamegraph.svg) | | entity_by_id | 1 entities | $$1.88 \mathrm{ms} \pm 8.78 \mathrm{μs}\left({\color{gray}-0.005 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/scaling_read_entity_complete_zero_depth/entity_by_id/1+entities/flamegraph.svg) | | entity_by_id | 10 entities | $$2.10 \mathrm{ms} \pm 12.4 \mathrm{μs}\left({\color{gray}0.248 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/scaling_read_entity_complete_zero_depth/entity_by_id/10+entities/flamegraph.svg) | | entity_by_id | 50 entities | $$4.30 \mathrm{ms} \pm 34.3 \mathrm{μs}\left({\color{gray}0.289 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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.89 \mathrm{ms} \pm 10.8 \mathrm{μs}\left({\color{gray}1.67 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/scaling_read_entity_linkless/entity_by_id/1+entities/flamegraph.svg) | | entity_by_id | 10000 entities | $$13.7 \mathrm{ms} \pm 68.1 \mathrm{μs}\left({\color{gray}0.103 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/scaling_read_entity_linkless/entity_by_id/10000+entities/flamegraph.svg) | | entity_by_id | 100 entities | $$2.06 \mathrm{ms} \pm 9.37 \mathrm{μs}\left({\color{gray}0.833 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/scaling_read_entity_linkless/entity_by_id/100+entities/flamegraph.svg) | | entity_by_id | 1000 entities | $$2.80 \mathrm{ms} \pm 13.1 \mathrm{μs}\left({\color{lightgreen}-5.022 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/scaling_read_entity_linkless/entity_by_id/1000+entities/flamegraph.svg) | | entity_by_id | 10 entities | $$1.91 \mathrm{ms} \pm 6.86 \mathrm{μs}\left({\color{gray}0.183 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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 | $$109 \mathrm{ms} \pm 585 \mathrm{μs}\left({\color{gray}-0.546 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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.4 \mathrm{ms} \pm 641 \mathrm{μs}\left({\color{gray}4.02 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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 | $$99.7 \mathrm{ms} \pm 419 \mathrm{μs}\left({\color{gray}0.330 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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 | $$42.2 \mathrm{ms} \pm 423 \mathrm{μs}\left({\color{gray}-1.177 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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 | $$95.4 \mathrm{ms} \pm 429 \mathrm{μs}\left({\color{gray}0.264 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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 | $$81.1 \mathrm{ms} \pm 314 \mathrm{μs}\left({\color{gray}0.670 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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 | $$68.7 \mathrm{ms} \pm 389 \mathrm{μs}\left({\color{gray}-0.297 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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.3 \mathrm{ms} \pm 484 \mathrm{μs}\left({\color{gray}1.50 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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 | $$58.2 \mathrm{ms} \pm 272 \mathrm{μs}\left({\color{gray}-2.058 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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 | $$39.5 \mathrm{ms} \pm 265 \mathrm{μs}\left({\color{gray}-0.864 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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 | $$53.5 \mathrm{ms} \pm 282 \mathrm{μs}\left({\color{gray}-1.102 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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 | $$44.1 \mathrm{ms} \pm 318 \mathrm{μs}\left({\color{gray}0.214 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/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.37 \mathrm{ms} \pm 3.40 \mathrm{μs}\left({\color{gray}-1.876 \mathrm{\\%}}\right) $$ | [Flame Graph](https://benchmarks.hash.dev/ef1e0761121a2f5e992c723f7581eeaa12bd938e/representative_read_entity_type/get_entity_type_by_id/Account+ID_+`d4e16033-c281-4cde-aa35-9085bf2e7579`/flamegraph.svg) |