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 pdfium-render to v0.8.27 #6098

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

Conversation

hash-worker[bot]
Copy link
Contributor

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

This PR contains the following updates:

Package Type Update Change
pdfium-render workspace.dependencies patch =0.8.26 -> =0.8.27

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 9, 2025 00:25
@hash-worker hash-worker bot requested a review from a team January 9, 2025 00:25
@hash-worker
Copy link
Contributor Author

hash-worker bot commented Jan 9, 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 --workspace
    Updating crates.io index
error: failed to select a version for `wasm-bindgen`.
    ... required by package `pdfium-render v0.8.27`
    ... which satisfies dependency `pdfium-render = "=0.8.27"` of package `chonky v0.0.0 (/tmp/renovate/repos/github/hashintel/hash/libs/chonky)`
versions that meet the requirements `<=0.2.95` are: 0.2.95, 0.2.93, 0.2.92, 0.2.91, 0.2.90, 0.2.89, 0.2.87, 0.2.86, 0.2.85, 0.2.84, 0.2.83, 0.2.82, 0.2.81, 0.2.80, 0.2.79, 0.2.78, 0.2.77, 0.2.76, 0.2.75, 0.2.74, 0.2.73, 0.2.72, 0.2.71, 0.2.70, 0.2.69, 0.2.68, 0.2.67, 0.2.66, 0.2.65, 0.2.64, 0.2.63, 0.2.62, 0.2.61, 0.2.60, 0.2.59, 0.2.58, 0.2.57, 0.2.56, 0.2.55, 0.2.54, 0.2.53, 0.2.52, 0.2.51, 0.2.50, 0.2.49, 0.2.48, 0.2.47, 0.2.46, 0.2.45, 0.2.44, 0.2.43, 0.2.42, 0.2.41, 0.2.40, 0.2.39, 0.2.38, 0.2.37, 0.2.36, 0.2.35, 0.2.34, 0.2.33, 0.2.32, 0.2.31, 0.2.30, 0.2.29, 0.2.28, 0.2.27, 0.2.26, 0.2.25, 0.2.24, 0.2.23, 0.2.22, 0.2.21, 0.2.20, 0.2.19, 0.2.18, 0.2.17, 0.2.16, 0.2.15, 0.2.14, 0.2.13, 0.2.12, 0.2.11, 0.2.10, 0.2.9, 0.2.8, 0.2.7, 0.2.6, 0.2.5, 0.2.4, 0.2.3, 0.2.2, 0.2.1, 0.2.0, 0.1.0

the package `pdfium-render` depends on `wasm-bindgen`, with features: `enable-interning` but `wasm-bindgen` does not have these features.


all possible versions conflict with previously selected packages.

  previously selected package `wasm-bindgen v0.2.99`
    ... which satisfies dependency `wasm-bindgen = "^0.2.89"` of package `reqwest v0.12.12`
    ... which satisfies dependency `reqwest = "=0.12.12"` of package `hash-graph v0.0.0 (/tmp/renovate/repos/github/hashintel/hash/apps/hash-graph)`

failed to select a version for `wasm-bindgen` which could resolve this conflict

Copy link
Contributor

github-actions bot commented Jan 9, 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/person/v/1 $$16.6 \mathrm{ms} \pm 183 \mathrm{μs}\left({\color{lightgreen}-26.982 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$15.5 \mathrm{ms} \pm 201 \mathrm{μs}\left({\color{lightgreen}-6.581 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$17.0 \mathrm{ms} \pm 194 \mathrm{μs}\left({\color{gray}3.96 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$16.9 \mathrm{ms} \pm 215 \mathrm{μs}\left({\color{red}9.13 \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 193 \mathrm{μs}\left({\color{gray}2.13 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$16.5 \mathrm{ms} \pm 186 \mathrm{μs}\left({\color{gray}4.21 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$17.2 \mathrm{ms} \pm 220 \mathrm{μs}\left({\color{red}5.89 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$15.9 \mathrm{ms} \pm 176 \mathrm{μs}\left({\color{lightgreen}-29.626 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$17.4 \mathrm{ms} \pm 207 \mathrm{μs}\left({\color{red}7.36 \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 $$65.2 \mathrm{ms} \pm 413 \mathrm{μs}\left({\color{gray}-0.183 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$37.6 \mathrm{ms} \pm 264 \mathrm{μs}\left({\color{gray}-1.849 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$55.4 \mathrm{ms} \pm 202 \mathrm{μs}\left({\color{gray}-0.756 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$41.8 \mathrm{ms} \pm 335 \mathrm{μs}\left({\color{gray}-1.786 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$47.6 \mathrm{ms} \pm 303 \mathrm{μs}\left({\color{gray}-0.847 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$51.9 \mathrm{ms} \pm 198 \mathrm{μs}\left({\color{gray}-0.564 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$97.8 \mathrm{ms} \pm 434 \mathrm{μs}\left({\color{gray}-0.053 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$37.3 \mathrm{ms} \pm 255 \mathrm{μs}\left({\color{gray}-0.130 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$88.6 \mathrm{ms} \pm 319 \mathrm{μs}\left({\color{gray}-0.566 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$71.7 \mathrm{ms} \pm 245 \mathrm{μs}\left({\color{gray}-1.471 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$80.6 \mathrm{ms} \pm 336 \mathrm{μs}\left({\color{gray}-0.550 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$85.1 \mathrm{ms} \pm 442 \mathrm{μs}\left({\color{gray}-0.484 \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 9.93 \mathrm{μs}\left({\color{gray}0.901 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$5.35 \mathrm{s} \pm 537 \mathrm{ms}\left({\color{gray}-4.910 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$27.0 \mathrm{ms} \pm 124 \mathrm{μs}\left({\color{gray}0.786 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$20.7 \mathrm{ms} \pm 70.3 \mathrm{μs}\left({\color{gray}-0.173 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$31.6 \mathrm{ms} \pm 133 \mathrm{μs}\left({\color{gray}-1.289 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$176 \mathrm{ms} \pm 344 \mathrm{μs}\left({\color{gray}-0.264 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$1.97 \mathrm{ms} \pm 8.35 \mathrm{μs}\left({\color{gray}-0.531 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$2.19 \mathrm{ms} \pm 8.36 \mathrm{μs}\left({\color{gray}-0.882 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$1.98 \mathrm{ms} \pm 6.77 \mathrm{μs}\left({\color{gray}-1.604 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$2.89 \mathrm{ms} \pm 11.8 \mathrm{μs}\left({\color{lightgreen}-8.628 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$9.14 \mathrm{ms} \pm 96.9 \mathrm{μs}\left({\color{gray}-1.410 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$4.11 \mathrm{ms} \pm 22.5 \mathrm{μs}\left({\color{lightgreen}-19.117 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$2.00 \mathrm{ms} \pm 9.23 \mathrm{μs}\left({\color{gray}-0.081 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.98 \mathrm{ms} \pm 9.49 \mathrm{μs}\left({\color{gray}0.629 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$2.08 \mathrm{ms} \pm 9.35 \mathrm{μs}\left({\color{lightgreen}-6.449 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$3.36 \mathrm{ms} \pm 10.8 \mathrm{μs}\left({\color{gray}2.33 \mathrm{\%}}\right) $$ Flame Graph

@TimDiekmann
Copy link
Member

PDFium render for some reason don't allow the latest wasm-bindgen crate because it would fail their CI (but only since the version of this PR).

@TimDiekmann TimDiekmann marked this pull request as draft January 9, 2025 09:59
auto-merge was automatically disabled January 9, 2025 09:59

Pull request was converted to draft

@TimDiekmann TimDiekmann removed the request for review from a team January 15, 2025 09:09
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