Skip to content

Conversation

hash-worker[bot]
Copy link
Contributor

@hash-worker hash-worker bot commented Feb 20, 2025

This PR contains the following updates:

Package Change Age Confidence
eslint (source) 9.20.1 -> 9.34.0 age confidence
eslint-config-prettier 10.0.1 -> 10.1.8 age confidence
eslint-import-resolver-typescript 3.8.1 -> 3.10.1 age confidence
eslint-plugin-import 2.31.0 -> 2.32.0 age confidence
eslint-plugin-react-hooks (source) 5.1.0 -> 5.2.0 age confidence
eslint-plugin-storybook (source) 0.11.3 -> 0.12.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

eslint/eslint (eslint)

v9.34.0

Compare Source

Features
  • 0bb777a feat: multithread linting (#​19794) (Francesco Trotta)
  • 43a5f9e feat: add eslint-plugin-regexp to eslint-config-eslint base config (#​19951) (Pixel998)
Bug Fixes
  • 9b89903 fix: default value of accessor-pairs option in rule.d.ts file (#​20024) (Tanuj Kanti)
  • 6c07420 fix: fix spurious failure in neostandard integration test (#​20023) (Kirk Waiblinger)
  • 676f4ac fix: allow scientific notation with trailing zeros matching exponent (#​20002) (Sweta Tanwar)
Documentation
  • 0b4a590 docs: make rulesdir deprecation clearer (#​20018) (Domenico Gemoli)
  • 327c672 docs: Update README (GitHub Actions Bot)
  • bf26229 docs: Fix typo in core-concepts/index.md (#​20009) (Tobias Hernstig)
  • 2309327 docs: fix typo in the "Configuring Rules" section (#​20001) (ghazi-git)
  • 2b87e21 docs: [no-else-return] clarify sample code. (#​19991) (Yuki Takada (Yukinosuke Takada))
  • c36570c docs: Update README (GitHub Actions Bot)
Chores

v9.33.0

Compare Source

Features
  • e07820e feat: add global object access detection to no-restricted-globals (#​19939) (sethamus)
  • 90b050e feat: support explicit resource management in one-var (#​19941) (Sweta Tanwar)
Bug Fixes
  • 732433c fix: allow any type for meta.docs.recommended in custom rules (#​19995) (Francesco Trotta)
  • e8a6914 fix: Fixed potential bug in check-emfile-handling.js (#​19975) (諏訪原慶斗)
Documentation
  • 34f0723 docs: playground button for TypeScript code example (#​19671) (Tanuj Kanti)
  • dc942a4 docs: Update README (GitHub Actions Bot)
  • 5a4b6f7 docs: Update no-multi-assign.md (#​19979) (Yuki Takada (Yukinosuke Takada))
  • 247e156 docs: add missing let declarations in no-plusplus (#​19980) (Yuki Takada (Yukinosuke Takada))
  • 0d17242 docs: Update README (GitHub Actions Bot)
  • fa20b9d docs: Clarify when to open an issue for a PR (#​19974) (Nicholas C. Zakas)
Build Related
  • 27fa865 build: use ESLint class to generate formatter examples (#​19972) (Milos Djermanovic)
Chores

v9.32.0

Compare Source

Features
Bug Fixes
Documentation
  • 86e7426 docs: Update README (GitHub Actions Bot)
Chores
  • 50de1ce chore: package.json update for @​eslint/js release (Jenkins)
  • 74f01a3 ci: unpin jiti to version ^2.5.1 (#​19970) (루밀LuMir)
  • 2ab1381 ci: pin jiti to version 2.4.2 (#​19964) (Francesco Trotta)
  • b7f7545 test: switch to flat config mode in SourceCode tests (#​19953) (Milos Djermanovic)
  • f5a35e3 test: switch to flat config mode in eslint-fuzzer (#​19960) (Milos Djermanovic)
  • e22af8c refactor: use CustomRuleDefinitionType in JSRuleDefinition (#​19949) (Francesco Trotta)
  • e855717 chore: switch performance tests to hyperfine (#​19919) (Francesco Trotta)
  • 2f73a23 test: switch to flat config mode in ast-utils tests (#​19948) (Milos Djermanovic)
  • c565a53 chore: exclude further_reading_links.json from Prettier formatting (#​19943) (Milos Djermanovic)

v9.31.0

Compare Source

Features
  • 35cf44c feat: output full actual location in rule tester if different (#​19904) (ST-DDT)
  • a6a6325 feat: support explicit resource management in no-loop-func (#​19895) (Milos Djermanovic)
  • 4682cdc feat: support explicit resource management in no-undef-init (#​19894) (Milos Djermanovic)
  • 5848216 feat: support explicit resource management in init-declarations (#​19893) (Milos Djermanovic)
  • bb370b8 feat: support explicit resource management in no-const-assign (#​19892) (Milos Djermanovic)
Bug Fixes
  • 07fac6c fix: retry on EMFILE when writing autofix results (#​19926) (TKDev7)
  • 28cc7ab fix: Remove incorrect RuleContext types (#​19910) (Nicholas C. Zakas)
Documentation
  • 664cb44 docs: Update README (GitHub Actions Bot)
  • 40dbe2a docs: fix mismatch between globalIgnores() code and text (#​19914) (MaoShizhong)
  • 5a0069d docs: Update README (GitHub Actions Bot)
  • fef04b5 docs: Update working on issues info (#​19902) (Nicholas C. Zakas)
Chores

v9.30.1

Compare Source

Bug Fixes
  • e91bb87 fix: allow separate default and named type imports (#​19899) (xbinaryx)
Documentation
Chores

v9.30.0

Compare Source

Features
  • 52a5fca feat: Support basePath property in config objects (#​19879) (Milos Djermanovic)
  • 4ab4482 feat: add allowSeparateTypeImports option to no-duplicate-imports (#​19872) (sethamus)
  • b8a7e7a feat: throw error when column is negative in getIndexFromLoc (#​19831) (루밀LuMir)
Bug Fixes
  • 6a0f164 fix: handle null type loc in getIndexFromLoc method (#​19862) (루밀LuMir)
  • 3fbcd70 fix: update error message for no-restricted-properties (#​19855) (Tanuj Kanti)
  • 7ef4cf7 fix: remove unnecessary semicolon from fixes (#​19857) (Francesco Trotta)
  • 7dabc38 fix: use process.version in --env-info (#​19865) (TKDev7)
Documentation
  • 8662ed1 docs: adopt eslint-stylistic sub packages related changes (#​19887) (ntnyq)
  • 20158b0 docs: typo in comment for unused variables handling (#​19870) (leopardracer)
  • ebfb5b4 docs: Fixed Typo in configuration-files.md (#​19873) (0-20)
  • 4112fd0 docs: clarify that boolean is still allowed for rule meta.deprecated (#​19866) (Bryan Mishkin)
Chores

v9.29.0

Compare Source

Features
  • f686fcb feat: add ecmaVersion: 2026, parsing using and await using (#​19832) (Milos Djermanovic)
  • 19cdd22 feat: prune suppressions for non-existent files (#​19825) (TKDev7)
  • b3d720f feat: add ES2025 globals (#​19835) (fisker Cheung)
  • 677a283 feat: add auto-accessor fields support to class-methods-use-this (#​19789) (sethamus)
  • dbba058 feat: allow global type declaration in no-var (#​19714) (Remco Haszing)
  • 342bd29 feat: ignore type annotations in no-restricted-globals (#​19781) (sethamus)
  • 786bcd1 feat: add allowProperties option to no-restricted-properties (#​19772) (sethamus)
  • 05b66d0 feat: add sourceCode.isGlobalReference(node) method (#​19695) (Nitin Kumar)
Bug Fixes
  • 85c082c fix: explicit matching behavior with negated patterns and arrays (#​19845) (Milos Djermanovic)
  • 9bda4a9 fix: fix LintOptions.filterCodeBlock types (#​19837) (ntnyq)
  • 7ab77a2 fix: correct breaking deprecation of FlatConfig type (#​19826) (Logicer)
  • 1ba3318 fix: add language and dialects to no-use-before-define (#​19808) (Francesco Trotta)
Documentation
  • 00e3e6a docs: add support for custom name parameter to includeIgnoreFile (#​19795) (루밀LuMir)
  • 3aed075 docs: Update README (GitHub Actions Bot)
  • a2f888d docs: enhance documentation with links and fix typos (#​19761) (루밀LuMir)
  • 53c3235 docs: update to clarify prompt usage (#​19748) (Jennifer Davis)
Chores

v9.28.0

Compare Source

Features
  • b0674be feat: Customization of serialization for languageOptions (#​19760) (Nicholas C. Zakas)
  • a95721f feat: Add --pass-on-unpruned-suppressions CLI option (#​19773) (Milos Djermanovic)
  • bfd0e7a feat: support TypeScript syntax in no-use-before-define (#​19566) (Tanuj Kanti)
  • 68c61c0 feat: support TS syntax in no-shadow (#​19565) (Nitin Kumar)
  • 0f773ef feat: support TS syntax in no-magic-numbers (#​19561) (Nitin Kumar)
  • c4a6b60 feat: add allowTypeAnnotation to func-style (#​19754) (sethamus)
  • b03ad17 feat: add TypeScript support to prefer-arrow-callback (#​19678) (Tanuj Kanti)
  • bc3c331 feat: ignore overloaded function declarations in func-style rule (#​19755) (sethamus)
Bug Fixes
Documentation
  • 3ec2082 docs: Nested arrays in files config entry (#​19799) (Nicholas C. Zakas)
  • 89a65b0 docs: clarify how config arrays can apply to subsets of files (#​19788) (Shais Ch)
  • 2ba8a0d docs: Add description of meta.namespace to plugin docs (#​19798) (Nicholas C. Zakas)
  • 59dd7e6 docs: update func-style with examples (#​19793) (Tanuj Kanti)
  • e9129e0 docs: add global scope's implicit field to Scope Manager docs (#​19770) (Milos Djermanovic)
  • 52f5b7a docs: fix minor typos and add links (#​19743) (루밀LuMir)
  • 00716a3 docs: upfront recommend against using the no-return-await rule (#​19727) (Mike DiDomizio)
Chores

v9.27.0

Compare Source

Features
  • d71e37f feat: Allow flags to be set in ESLINT_FLAGS env variable (#​19717) (Nicholas C. Zakas)
  • ba456e0 feat: Externalize MCP server (#​19699) (Nicholas C. Zakas)
  • 07c1a7e feat: add allowRegexCharacters to no-useless-escape (#​19705) (sethamus)
  • 7bc6c71 feat: add no-unassigned-vars rule (#​19618) (Jacob Bandes-Storch)
  • ee40364 feat: convert no-array-constructor suggestions to autofixes (#​19621) (sethamus)
  • 32957cd feat: support TS syntax in max-params (#​19557) (Nitin Kumar)
Bug Fixes
  • 5687ce7 fix: correct mismatched removed rules (#​19734) (루밀LuMir)
  • dc5ed33 fix: correct types and tighten type definitions in SourceCode class (#​19731) (루밀LuMir)
  • de1b5de fix: correct service property name in Linter.ESLintParseResult type (#​19713) (Francesco Trotta)
  • 60c3e2c fix: sort keys in eslint-suppressions.json to avoid git churn (#​19711) (Ron Waldon-Howe)
  • 9da90ca fix: add allowReserved to Linter.ParserOptions type (#​19710) (Francesco Trotta)
  • fbb8be9 fix: add info to ESLint.DeprecatedRuleUse type (#​19701) (Francesco Trotta)
Documentation
  • 25de550 docs: Update description of frozen rules to mention TypeScript (#​19736) (Nicholas C. Zakas)
  • bd5def6 docs: Clean up configuration files docs (#​19735) (Nicholas C. Zakas)
  • 4d0c60d docs: Add Neovim to editor integrations (#​19729) (Maria José Solano)
  • 71317eb docs: Update README (GitHub Actions Bot)
  • 4c289e6 docs: Update README (GitHub Actions Bot)
  • f0f0d46 docs: clarify that unused suppressions cause non-zero exit code (#​19698) (Milos Djermanovic)
  • 8ed3273 docs: fix internal usages of ConfigData type (#​19688) (Francesco Trotta)
  • eb316a8 docs: add fmt and check sections to Package.json Conventions (#​19686) (루밀LuMir)
  • a3a2559 docs: fix wording in Combine Configs (#​19685) (Milos Djermanovic)
  • c8d17e1 docs: Update README (GitHub Actions Bot)
Chores

v9.26.0

Compare Source

Features
Bug Fixes
  • 96e84de fix: check cache file existence before deletion (#​19648) (sethamus)
  • d683aeb fix: don't crash on tests with circular references in RuleTester (#​19664) (Milos Djermanovic)
  • 9736d5d fix: add namespace to Plugin.meta type (#​19661) (Milos Djermanovic)
  • 17bae69 fix: update RuleTester.run() type (#​19634) (Nitin Kumar)
Documentation
  • dd98d63 docs: Update README (GitHub Actions Bot)
  • c25e858 docs: Update README (GitHub Actions Bot)
  • b2397e9 docs: Update README (GitHub Actions Bot)
  • addd0a6 docs: fix formatting of unordered lists in Markdown (#​19660) (Milos Djermanovic)
  • a21b38d docs: Update README (GitHub Actions Bot)
  • c0721a7 docs: fix double space in command (#​19657) (CamWass)
Chores

v9.25.1

Compare Source

Bug Fixes
  • cdc8e8c fix: revert directive detection in no-unused-expressions (#​19639) (sethamus)
Chores

v9.25.0

Compare Source

Features
  • dcd95aa feat: support TypeScript syntax in no-empty-function rule (#​19551) (sethamus)
  • 77d6d5b feat: support TS syntax in no-unused-expressions (#​19564) (Sweta Tanwar)
  • 90228e5 feat: support JSRuleDefinition type (#​19604) (루밀LuMir)
  • 59ba6b7 feat: add allowObjects option to no-restricted-properties (#​19607) (sethamus)
  • db650a0 feat: support TypeScript syntax in no-invalid-this rule (#​19532) (Tanuj Kanti)
  • 9535cff feat: support TS syntax in no-loop-func (#​19559) (Nitin Kumar)
Bug Fixes
  • 910bd13 fix: nodeTypeKey not being used in NodeEventGenerator (#​19631) (StyleShit)
Documentation
  • ca7a735 docs: update no-undef-init when not to use section (#​19624) (Tanuj Kanti)
  • 1b870c9 docs: use eslint-config-xo in the getting started guide (#​19629) (Nitin Kumar)
  • 5d4af16 docs: add types for multiple rule options (#​19616) (Tanuj Kanti)
  • e8f8d57 docs: Update README (GitHub Actions Bot)
  • a40348f docs: no-use-before-define tweaks (#​19622) (Kirk Waiblinger)
  • 0ba3ae3 docs: Update README (GitHub Actions Bot)
  • 865dbfe docs: ensure "learn more" deprecation links point to useful resource (#​19590) (Kirk Waiblinger)
  • f80b746 docs: add known limitations for no-self-compare (#​19612) (Nitin Kumar)
  • 865aed6 docs: Update README (GitHub Actions Bot)
Chores

Configuration

📅 Schedule: Branch creation - "before 4am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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/libs Relates to first-party libraries/crates/packages (area) type/eng > backend Owned by the @backend team labels Feb 20, 2025
hashdotai
hashdotai previously approved these changes Feb 20, 2025
Copy link

codecov bot commented Feb 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.96%. Comparing base (b108617) to head (df05811).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6493      +/-   ##
==========================================
- Coverage   54.96%   54.96%   -0.01%     
==========================================
  Files        1085     1085              
  Lines       96778    96778              
  Branches     4547     4547              
==========================================
- Hits        53195    53194       -1     
- Misses      42991    42992       +1     
  Partials      592      592              
Flag Coverage Δ
blockprotocol.type-system 35.85% <ø> (ø)
local.harpc-client 50.93% <ø> (ø)
rust.antsi 0.00% <ø> (ø)
rust.error-stack 88.77% <ø> (ø)
rust.harpc-codec 84.22% <ø> (ø)
rust.harpc-net 96.08% <ø> (-0.02%) ⬇️
rust.harpc-tower 66.80% <ø> (ø)
rust.harpc-types 0.00% <ø> (ø)
rust.harpc-wire-protocol 92.23% <ø> (ø)
rust.hash-codec 72.52% <ø> (ø)
rust.hash-graph-temporal-versioning 48.22% <ø> (ø)
rust.hashql-ast 86.58% <ø> (ø)
rust.hashql-core 82.82% <ø> (ø)
rust.hashql-diagnostics 50.24% <ø> (ø)
rust.hashql-hir 85.96% <ø> (ø)
rust.hashql-syntax-jexpr 94.20% <ø> (ø)
rust.sarif 97.93% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hash-worker hash-worker bot force-pushed the deps/js/eslint-npm-packages branch from 1423a6f to 1c3df10 Compare February 20, 2025 11:09
@hash-worker hash-worker bot changed the title Update npm package eslint-import-resolver-typescript to v3.8.2 Update npm package eslint-import-resolver-typescript to v3.8.3 Feb 20, 2025
hashdotai
hashdotai previously approved these changes Feb 20, 2025
@hash-worker hash-worker bot force-pushed the deps/js/eslint-npm-packages branch from 1c3df10 to b0ff98f Compare February 21, 2025 15:09
@hash-worker hash-worker bot changed the title Update npm package eslint-import-resolver-typescript to v3.8.3 Update npm package eslint-import-resolver-typescript to v3.8.2 Feb 21, 2025
hashdotai
hashdotai previously approved these changes Feb 21, 2025
@hash-worker hash-worker bot force-pushed the deps/js/eslint-npm-packages branch from b0ff98f to fa15389 Compare February 23, 2025 11:09
@hash-worker hash-worker bot changed the title Update npm package eslint-import-resolver-typescript to v3.8.2 Update npm package eslint-import-resolver-typescript to v3.8.3 Feb 23, 2025
hashdotai
hashdotai previously approved these changes Feb 23, 2025
hashdotai
hashdotai previously approved these changes Aug 26, 2025
hashdotai
hashdotai previously approved these changes Aug 26, 2025
@github-actions github-actions bot added area/apps > hash* Affects HASH (a `hash-*` app) area/apps > hash-api Affects the HASH API (app) area/blocks Relates to first-party blocks (area) area/tests New or updated tests area/tests > integration New or updated integration tests area/tests > playwright New or updated Playwright tests area/apps > hash-realtime area/apps > hash-search-loader area/apps labels Aug 26, 2025
@hash-worker hash-worker bot force-pushed the deps/js/eslint-npm-packages branch from ce65f9f to 51c3b24 Compare September 1, 2025 10:13
hashdotai
hashdotai previously approved these changes Sep 1, 2025
Copy link
Contributor

github-actions bot commented Sep 1, 2025

Benchmark results

@rust/hash-graph-benches – Integrations

policy_resolution_extra_large

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 10002 $$97.1 \mathrm{ms} \pm 573 \mathrm{μs}\left({\color{gray}1.14 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$5.50 \mathrm{ms} \pm 24.1 \mathrm{μs}\left({\color{gray}0.345 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 5001 $$77.1 \mathrm{ms} \pm 472 \mathrm{μs}\left({\color{gray}0.678 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 27604 $$290 \mathrm{ms} \pm 917 \mathrm{μs}\left({\color{gray}2.44 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$21.0 \mathrm{ms} \pm 200 \mathrm{μs}\left({\color{gray}-2.085 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 13450 $$227 \mathrm{ms} \pm 882 \mathrm{μs}\left({\color{gray}1.11 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 11308 $$174 \mathrm{ms} \pm 15.7 \mathrm{ms}\left({\color{gray}1.18 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$6.44 \mathrm{ms} \pm 34.0 \mathrm{μs}\left({\color{gray}0.041 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 5628 $$86.5 \mathrm{ms} \pm 466 \mathrm{μs}\left({\color{gray}-0.179 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_large

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2002 $$28.0 \mathrm{ms} \pm 145 \mathrm{μs}\left({\color{gray}-0.814 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.48 \mathrm{ms} \pm 15.2 \mathrm{μs}\left({\color{gray}-1.901 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1001 $$12.9 \mathrm{ms} \pm 82.3 \mathrm{μs}\left({\color{gray}0.133 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 3314 $$37.9 \mathrm{ms} \pm 296 \mathrm{μs}\left({\color{gray}-1.167 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$13.7 \mathrm{ms} \pm 80.9 \mathrm{μs}\left({\color{gray}1.11 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 1526 $$24.0 \mathrm{ms} \pm 123 \mathrm{μs}\left({\color{gray}0.794 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 2078 $$47.4 \mathrm{ms} \pm 196 \mathrm{μs}\left({\color{gray}1.73 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.76 \mathrm{ms} \pm 14.2 \mathrm{μs}\left({\color{gray}-1.331 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 1033 $$14.0 \mathrm{ms} \pm 89.0 \mathrm{μs}\left({\color{lightgreen}-9.133 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_medium

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 102 $$3.94 \mathrm{ms} \pm 13.1 \mathrm{μs}\left({\color{gray}1.32 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.09 \mathrm{ms} \pm 16.5 \mathrm{μs}\left({\color{gray}1.88 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 51 $$3.50 \mathrm{ms} \pm 19.2 \mathrm{μs}\left({\color{gray}3.56 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 269 $$5.36 \mathrm{ms} \pm 27.4 \mathrm{μs}\left({\color{gray}0.784 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.68 \mathrm{ms} \pm 13.2 \mathrm{μs}\left({\color{gray}0.774 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 107 $$4.27 \mathrm{ms} \pm 27.0 \mathrm{μs}\left({\color{gray}1.91 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 133 $$4.62 \mathrm{ms} \pm 21.3 \mathrm{μs}\left({\color{gray}-0.217 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.55 \mathrm{ms} \pm 12.6 \mathrm{μs}\left({\color{gray}0.322 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 63 $$4.17 \mathrm{ms} \pm 17.9 \mathrm{μs}\left({\color{gray}0.739 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_none

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2 $$2.56 \mathrm{ms} \pm 11.8 \mathrm{μs}\left({\color{red}8.41 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.50 \mathrm{ms} \pm 11.6 \mathrm{μs}\left({\color{red}8.82 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1 $$2.53 \mathrm{ms} \pm 10.2 \mathrm{μs}\left({\color{gray}4.47 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 8 $$2.82 \mathrm{ms} \pm 15.1 \mathrm{μs}\left({\color{red}7.66 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.66 \mathrm{ms} \pm 9.51 \mathrm{μs}\left({\color{red}7.54 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 3 $$2.82 \mathrm{ms} \pm 9.02 \mathrm{μs}\left({\color{gray}4.37 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_small

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 52 $$3.01 \mathrm{ms} \pm 15.2 \mathrm{μs}\left({\color{red}7.41 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.63 \mathrm{ms} \pm 9.98 \mathrm{μs}\left({\color{red}7.53 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 25 $$2.80 \mathrm{ms} \pm 12.0 \mathrm{μs}\left({\color{red}6.42 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 94 $$3.32 \mathrm{ms} \pm 16.2 \mathrm{μs}\left({\color{red}7.45 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$2.90 \mathrm{ms} \pm 11.4 \mathrm{μs}\left({\color{red}7.50 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 26 $$3.12 \mathrm{ms} \pm 12.4 \mathrm{μs}\left({\color{red}6.82 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 66 $$3.22 \mathrm{ms} \pm 16.7 \mathrm{μs}\left({\color{red}6.65 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.88 \mathrm{ms} \pm 14.7 \mathrm{μs}\left({\color{red}7.79 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 29 $$3.10 \mathrm{ms} \pm 15.3 \mathrm{μs}\left({\color{red}8.26 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity

Function Value Mean Flame graphs
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$85.1 \mathrm{ms} \pm 4.51 \mathrm{ms}\left({\color{gray}-2.879 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$78.6 \mathrm{ms} \pm 4.49 \mathrm{ms}\left({\color{lightgreen}-6.235 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$94.6 \mathrm{ms} \pm 4.54 \mathrm{ms}\left({\color{red}10.4 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$97.2 \mathrm{ms} \pm 4.17 \mathrm{ms}\left({\color{gray}-3.025 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$95.2 \mathrm{ms} \pm 4.43 \mathrm{ms}\left({\color{gray}1.46 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$96.0 \mathrm{ms} \pm 4.58 \mathrm{ms}\left({\color{gray}-2.036 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$92.5 \mathrm{ms} \pm 4.67 \mathrm{ms}\left({\color{gray}3.92 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$95.3 \mathrm{ms} \pm 4.16 \mathrm{ms}\left({\color{gray}1.21 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$96.4 \mathrm{ms} \pm 4.26 \mathrm{ms}\left({\color{red}7.05 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity_type

Function Value Mean Flame graphs
get_entity_type_by_id Account ID: bf5a9ef5-dc3b-43cf-a291-6210c0321eba $$9.36 \mathrm{ms} \pm 40.3 \mathrm{μs}\left({\color{gray}0.003 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$216 \mathrm{ms} \pm 1.14 \mathrm{ms}\left({\color{gray}-0.276 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$224 \mathrm{ms} \pm 980 \mathrm{μs}\left({\color{gray}0.685 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$232 \mathrm{ms} \pm 767 \mathrm{μs}\left({\color{gray}-0.363 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$241 \mathrm{ms} \pm 930 \mathrm{μs}\left({\color{gray}-0.014 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$250 \mathrm{ms} \pm 1.03 \mathrm{ms}\left({\color{gray}-0.798 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=255, PT=255, ET=255, E=255 $$275 \mathrm{ms} \pm 1.37 \mathrm{ms}\left({\color{gray}1.05 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$205 \mathrm{ms} \pm 787 \mathrm{μs}\left({\color{gray}0.102 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$385 \mathrm{ms} \pm 1.23 \mathrm{ms}\left({\color{gray}0.179 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$397 \mathrm{ms} \pm 1.34 \mathrm{ms}\left({\color{gray}0.057 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$407 \mathrm{ms} \pm 1.17 \mathrm{ms}\left({\color{gray}0.459 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$414 \mathrm{ms} \pm 1.29 \mathrm{ms}\left({\color{gray}-0.298 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$436 \mathrm{ms} \pm 1.08 \mathrm{ms}\left({\color{gray}-0.114 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 1 entities $$318 \mathrm{ms} \pm 4.17 \mathrm{ms}\left({\color{red}32.7 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$288 \mathrm{ms} \pm 6.62 \mathrm{ms}\left({\color{gray}0.310 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$394 \mathrm{ms} \pm 8.39 \mathrm{ms}\left({\color{lightgreen}-10.337 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$258 \mathrm{ms} \pm 9.06 \mathrm{ms}\left({\color{lightgreen}-17.664 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$724 \mathrm{ms} \pm 7.92 \mathrm{ms}\left({\color{lightgreen}-11.667 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 1 entities $$29.9 \mathrm{ms} \pm 292 \mathrm{μs}\left({\color{lightgreen}-72.364 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$79.8 \mathrm{ms} \pm 4.74 \mathrm{ms}\left({\color{lightgreen}-19.518 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$99.9 \mathrm{ms} \pm 2.84 \mathrm{ms}\left({\color{red}30.7 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$102 \mathrm{ms} \pm 4.69 \mathrm{ms}\left({\color{lightgreen}-7.104 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$78.7 \mathrm{ms} \pm 3.98 \mathrm{ms}\left({\color{gray}3.23 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$62.3 \mathrm{ms} \pm 469 \mathrm{μs}\left({\color{lightgreen}-38.905 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$75.1 \mathrm{ms} \pm 3.02 \mathrm{ms}\left({\color{red}9.41 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$77.9 \mathrm{ms} \pm 3.74 \mathrm{ms}\left({\color{gray}-3.917 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$76.4 \mathrm{ms} \pm 3.58 \mathrm{ms}\left({\color{gray}-0.885 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$85.6 \mathrm{ms} \pm 4.03 \mathrm{ms}\left({\color{gray}0.821 \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* Affects HASH (a `hash-*` app) area/apps > hash-api Affects the HASH API (app) area/apps > hash-realtime area/apps > hash-search-loader 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) area/tests > integration New or updated integration tests area/tests > playwright New or updated Playwright tests area/tests New or updated tests 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