Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update react monorepo #5111

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Update react monorepo #5111

wants to merge 1 commit into from

Conversation

hash-worker[bot]
Copy link
Contributor

@hash-worker hash-worker bot commented Sep 12, 2024

This PR contains the following updates:

Package Type Update Change
@types/react (source) resolutions minor 18.2.68 -> 18.3.12
@types/react (source) devDependencies minor 18.2.68 -> 18.3.12
@types/react-dom (source) devDependencies minor 18.2.25 -> 18.3.1
@types/react-dom (source) devDependencies minor 18.0.9 -> 18.3.1
react (source) resolutions minor 18.2.0 -> 18.3.1
react (source) devDependencies minor 18.2.0 -> 18.3.1
react (source) dependencies minor 18.2.0 -> 18.3.1
react-dom (source) resolutions minor 18.2.0 -> 18.3.1
react-dom (source) devDependencies minor 18.2.0 -> 18.3.1
react-dom (source) dependencies minor 18.2.0 -> 18.3.1
react-refresh (source) devDependencies patch 0.14.0 -> 0.14.2

Release Notes

facebook/react (react)

v18.3.1

Compare Source

  • Export act from react f1338f

v18.3.0

Compare Source

This release is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19.

Read the React 19 Upgrade Guide for more info.

React
  • Allow writing to this.refs to support string ref codemod 909071
  • Warn for deprecated findDOMNode outside StrictMode c3b283
  • Warn for deprecated test-utils methods d4ea75
  • Warn for deprecated Legacy Context outside StrictMode 415ee0
  • Warn for deprecated string refs outside StrictMode #​25383
  • Warn for deprecated defaultProps for function components #​25699
  • Warn when spreading key #​25697
  • Warn when using act from test-utils d4ea75
React DOM
  • Warn for deprecated unmountComponentAtNode 8a015b
  • Warn for deprecated renderToStaticNodeStream #​28874

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@github-actions github-actions bot added area/deps Relates to third-party dependencies (area) area/apps > hash* Affects HASH (a `hash-*` app) area/blocks Relates to first-party blocks (area) area/apps > hash.dev Affects the `hash.dev` developer site (app) area/libs Relates to first-party libraries/crates/packages (area) type/eng > frontend Owned by the @frontend team type/eng > backend Owned by the @backend team area/apps area/apps > hash.design Affects the `hash.design` design site (app) labels Sep 12, 2024
hashdotai
hashdotai previously approved these changes Sep 12, 2024
hashdotai
hashdotai previously approved these changes Sep 12, 2024
hashdotai
hashdotai previously approved these changes Nov 29, 2024
Copy link
Contributor

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/page/v/2 $$15.8 \mathrm{ms} \pm 197 \mathrm{μs}\left({\color{lightgreen}-7.794 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$16.3 \mathrm{ms} \pm 189 \mathrm{μs}\left({\color{gray}-2.963 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$16.6 \mathrm{ms} \pm 180 \mathrm{μs}\left({\color{gray}-1.408 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$17.2 \mathrm{ms} \pm 194 \mathrm{μs}\left({\color{red}5.77 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$16.8 \mathrm{ms} \pm 212 \mathrm{μs}\left({\color{gray}-0.344 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$16.8 \mathrm{ms} \pm 177 \mathrm{μs}\left({\color{gray}4.93 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$17.3 \mathrm{ms} \pm 191 \mathrm{μs}\left({\color{red}7.36 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$17.1 \mathrm{ms} \pm 181 \mathrm{μs}\left({\color{gray}0.717 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$16.1 \mathrm{ms} \pm 164 \mathrm{μs}\left({\color{gray}3.63 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property depths: DT=255, PT=255, ET=255, E=255 $$67.7 \mathrm{ms} \pm 363 \mathrm{μs}\left({\color{gray}-0.399 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$38.5 \mathrm{ms} \pm 187 \mathrm{μs}\left({\color{gray}-1.811 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$57.5 \mathrm{ms} \pm 357 \mathrm{μs}\left({\color{gray}-0.581 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$42.7 \mathrm{ms} \pm 186 \mathrm{μs}\left({\color{gray}-0.964 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$48.4 \mathrm{ms} \pm 253 \mathrm{μs}\left({\color{gray}-0.633 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$53.2 \mathrm{ms} \pm 318 \mathrm{μs}\left({\color{gray}-0.496 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$106 \mathrm{ms} \pm 567 \mathrm{μs}\left({\color{gray}-0.145 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$41.0 \mathrm{ms} \pm 277 \mathrm{μs}\left({\color{gray}-1.085 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$95.8 \mathrm{ms} \pm 315 \mathrm{μs}\left({\color{gray}-0.740 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$78.5 \mathrm{ms} \pm 438 \mathrm{μs}\left({\color{gray}-0.499 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$87.0 \mathrm{ms} \pm 466 \mathrm{μs}\left({\color{gray}-0.624 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$91.6 \mathrm{ms} \pm 575 \mathrm{μs}\left({\color{gray}-0.638 \mathrm{\%}}\right) $$ Flame Graph

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 4.30 \mathrm{μs}\left({\color{gray}-0.640 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$541 \mathrm{ms} \pm 3.59 \mathrm{ms}\left({\color{red}109 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$25.1 \mathrm{ms} \pm 163 \mathrm{μs}\left({\color{gray}-0.166 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$19.9 \mathrm{ms} \pm 115 \mathrm{μs}\left({\color{gray}-2.847 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$30.7 \mathrm{ms} \pm 140 \mathrm{μs}\left({\color{gray}-1.716 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$71.6 \mathrm{ms} \pm 366 \mathrm{μs}\left({\color{gray}-1.346 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$1.85 \mathrm{ms} \pm 4.89 \mathrm{μs}\left({\color{gray}-0.713 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$2.00 \mathrm{ms} \pm 7.22 \mathrm{μs}\left({\color{gray}-2.082 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$1.90 \mathrm{ms} \pm 5.59 \mathrm{μs}\left({\color{gray}-0.279 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$2.79 \mathrm{ms} \pm 13.4 \mathrm{μs}\left({\color{lightgreen}-6.040 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$13.3 \mathrm{ms} \pm 49.2 \mathrm{μs}\left({\color{gray}-0.604 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$5.29 \mathrm{ms} \pm 26.7 \mathrm{μs}\left({\color{red}23.5 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$1.88 \mathrm{ms} \pm 10.2 \mathrm{μs}\left({\color{gray}-2.151 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.84 \mathrm{ms} \pm 7.04 \mathrm{μs}\left({\color{gray}-2.196 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$2.11 \mathrm{ms} \pm 9.78 \mathrm{μs}\left({\color{gray}0.717 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$3.28 \mathrm{ms} \pm 14.5 \mathrm{μs}\left({\color{gray}-0.908 \mathrm{\%}}\right) $$ Flame Graph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/apps > hash.design Affects the `hash.design` design site (app) area/apps > hash.dev Affects the `hash.dev` developer site (app) area/apps > hash* Affects HASH (a `hash-*` app) area/apps area/blocks Relates to first-party blocks (area) area/deps Relates to third-party dependencies (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > backend Owned by the @backend team type/eng > frontend Owned by the @frontend team
Development

Successfully merging this pull request may close these issues.

2 participants