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 Rust crate itertools to 0.14.0 #6036

Merged
merged 1 commit into from
Jan 1, 2025
Merged

Conversation

hash-worker[bot]
Copy link
Contributor

@hash-worker hash-worker bot commented Jan 1, 2025

This PR contains the following updates:

Package Type Update Change
itertools workspace.dependencies minor 0.13.0 -> 0.14.0

Release Notes

rust-itertools/itertools (itertools)

v0.14.0

Compare Source

Breaking
  • Increased MSRV to 1.63.0 (#​960)
  • Removed generic parameter from cons_tuples (#​988)
Added
  • Added array_combinations (#​991)
  • Added k_smallest_relaxed and variants (#​925)
  • Added next_array and collect_array (#​560)
  • Implemented DoubleEndedIterator for FilterOk (#​948)
  • Implemented DoubleEndedIterator for FilterMapOk (#​950)
Changed
  • Allow Q: ?Sized in Itertools::contains (#​971)
  • Improved hygiene of chain! (#​943)
  • Improved into_group_map_by documentation (#​1000)
  • Improved tree_reduce documentation (#​955)
  • Improved discoverability of merge_join_by (#​966)
  • Improved discoverability of take_while_inclusive (#​972)
  • Improved documentation of find_or_last and find_or_first (#​984)
  • Prevented exponentially large type sizes in tuple_combinations (#​945)
  • Added track_caller attr for asser_equal (#​976)
Notable Internal Changes
  • Fixed clippy lints (#​956, #​987, #​1008)
  • Addressed warnings within doctests (#​964)
  • CI: Run most tests with miri (#​961)
  • CI: Speed up "cargo-semver-checks" action (#​938)
  • Changed an instance of default_features in Cargo.toml to default-features (#​985)

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.


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

This PR has been generated by Renovate Bot.

@hash-worker hash-worker bot enabled auto-merge January 1, 2025 01:37
@hash-worker hash-worker bot requested a review from a team January 1, 2025 01:37
@hash-worker
Copy link
Contributor Author

hash-worker bot commented Jan 1, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package [email protected] --precise 0.14.0
    Updating crates.io index
error: failed to select a version for the requirement `itertools = "^0.13"`
candidate versions found which didn't match: 0.14.0
location searched: crates.io index
required by package `test-fuzz-macro v7.0.1`
    ... which satisfies dependency `test-fuzz-macro = "=7.0.1"` (locked to 7.0.1) of package `test-fuzz v7.0.1`
    ... which satisfies dependency `test-fuzz = "=7.0.1"` (locked to 7.0.1) of package `hql-syntax-jexpr v0.0.0 (/tmp/renovate/repos/github/hashintel/hash/libs/@local/hql/syntax-jexpr)`

@github-actions github-actions bot added the area/deps Relates to third-party dependencies (area) label Jan 1, 2025
@hash-worker hash-worker bot added this pull request to the merge queue Jan 1, 2025
Merged via the queue into main with commit 87cef3a Jan 1, 2025
164 of 166 checks passed
@hash-worker hash-worker bot deleted the deps/rs/itertools-0.x branch January 1, 2025 02:18
Copy link
Contributor

github-actions bot commented Jan 1, 2025

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/uk-address/v/1 $$16.3 \mathrm{ms} \pm 202 \mathrm{μs}\left({\color{lightgreen}-28.819 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$16.3 \mathrm{ms} \pm 173 \mathrm{μs}\left({\color{gray}-2.407 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$16.3 \mathrm{ms} \pm 161 \mathrm{μs}\left({\color{gray}0.832 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$16.5 \mathrm{ms} \pm 206 \mathrm{μs}\left({\color{red}9.30 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$15.5 \mathrm{ms} \pm 174 \mathrm{μs}\left({\color{gray}-2.064 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$15.1 \mathrm{ms} \pm 144 \mathrm{μs}\left({\color{lightgreen}-9.765 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$16.0 \mathrm{ms} \pm 165 \mathrm{μs}\left({\color{gray}-3.059 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$16.1 \mathrm{ms} \pm 190 \mathrm{μs}\left({\color{lightgreen}-30.189 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$16.9 \mathrm{ms} \pm 187 \mathrm{μs}\left({\color{gray}2.56 \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 $$68.0 \mathrm{ms} \pm 455 \mathrm{μs}\left({\color{gray}-0.025 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$40.1 \mathrm{ms} \pm 247 \mathrm{μs}\left({\color{gray}-0.472 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$58.3 \mathrm{ms} \pm 311 \mathrm{μs}\left({\color{gray}-0.366 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$44.7 \mathrm{ms} \pm 289 \mathrm{μs}\left({\color{gray}0.194 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$50.3 \mathrm{ms} \pm 301 \mathrm{μs}\left({\color{gray}-1.773 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$54.9 \mathrm{ms} \pm 254 \mathrm{μs}\left({\color{gray}-1.736 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$104 \mathrm{ms} \pm 522 \mathrm{μs}\left({\color{gray}-0.117 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$39.7 \mathrm{ms} \pm 282 \mathrm{μs}\left({\color{gray}-0.852 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$95.0 \mathrm{ms} \pm 400 \mathrm{μs}\left({\color{gray}0.032 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$78.2 \mathrm{ms} \pm 316 \mathrm{μs}\left({\color{gray}-0.473 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$86.5 \mathrm{ms} \pm 405 \mathrm{μs}\left({\color{gray}-0.184 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$91.2 \mathrm{ms} \pm 379 \mathrm{μs}\left({\color{gray}-0.255 \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 $$2.13 \mathrm{ms} \pm 7.71 \mathrm{μs}\left({\color{gray}-0.105 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$5.37 \mathrm{s} \pm 538 \mathrm{ms}\left({\color{gray}-0.021 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$27.2 \mathrm{ms} \pm 219 \mathrm{μs}\left({\color{gray}1.67 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$20.7 \mathrm{ms} \pm 87.4 \mathrm{μs}\left({\color{gray}-0.466 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$57.6 \mathrm{ms} \pm 226 \mathrm{μs}\left({\color{gray}-0.264 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$84.5 \mathrm{ms} \pm 379 \mathrm{μs}\left({\color{lightgreen}-51.961 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$1.95 \mathrm{ms} \pm 9.15 \mathrm{μs}\left({\color{gray}0.852 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$2.15 \mathrm{ms} \pm 7.83 \mathrm{μs}\left({\color{gray}0.377 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$1.94 \mathrm{ms} \pm 4.02 \mathrm{μs}\left({\color{gray}-0.133 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$2.91 \mathrm{ms} \pm 16.3 \mathrm{μs}\left({\color{gray}1.31 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$9.47 \mathrm{ms} \pm 139 \mathrm{μs}\left({\color{gray}0.696 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$4.08 \mathrm{ms} \pm 22.0 \mathrm{μs}\left({\color{gray}-0.052 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$1.96 \mathrm{ms} \pm 7.19 \mathrm{μs}\left({\color{gray}0.222 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.95 \mathrm{ms} \pm 9.74 \mathrm{μs}\left({\color{gray}-1.305 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$2.07 \mathrm{ms} \pm 9.29 \mathrm{μs}\left({\color{gray}-3.334 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$3.28 \mathrm{ms} \pm 14.4 \mathrm{μs}\left({\color{gray}-0.565 \mathrm{\%}}\right) $$ Flame Graph

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)
Development

Successfully merging this pull request may close these issues.

2 participants