Update `effect` npm packages
This PR contains the following updates:
| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| @effect/platform (source) | devDependencies | minor | 0.79.2 -> 0.85.1 |
0.85.2 |
| @effect/platform-node (source) | devDependencies | minor | 0.75.2 -> 0.86.2 |
0.86.4 (+1) |
| effect (source) | dependencies | minor | 3.13.11 -> 3.16.8 |
[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
Effect-TS/effect (@effect/platform)
v0.85.1
Patch Changes
v0.85.0
Minor Changes
-
#5042
93687ddThanks @tim-smart! - HttpApiBuilder .handleRaw no longer parses the request body
Patch Changes
-
#5042
93687ddThanks @tim-smart! - allow return HttpServerResponse from HttpApiBuilder .handle -
#5042
93687ddThanks @tim-smart! - add HttpApiSchema.MultipartStream
v0.84.11
Patch Changes
- Updated dependencies [
1bb0d8a]:
v0.84.10
Patch Changes
-
#5032
bf369b2Thanks @tim-smart! - allow property signatures in HttpApiSchema.param
v0.84.9
Patch Changes
- Updated dependencies [
bf418ef]:
v0.84.8
Patch Changes
-
#4996
8b9db77Thanks @tim-smart! - allow literals in HttpApiSchema.param
v0.84.7
Patch Changes
v0.84.6
Patch Changes
-
#4975
ceea77aThanks @tim-smart! - allow wrapping a web Response with HttpServerResponse.raw on some platforms
v0.84.5
Patch Changes
-
#4964
ec52c6aThanks @tim-smart! - ensure HttpApi security middleware cache is not shared
v0.84.4
Patch Changes
v0.84.3
Patch Changes
-
#4941
ab7684fThanks @tim-smart! - decode HttpApiClient response from ArrayBuffer
v0.84.2
Patch Changes
- Updated dependencies [
0ddf148]:
v0.84.1
Patch Changes
- Updated dependencies [
1bb0d8a]:
v0.84.0
Patch Changes
- Updated dependencies [
ee0bd5d,5189800,58bfeaa,194d748,918c9ea,9198e6f,2a370bf,58ccb91,fd47834]:
v0.83.0
Minor Changes
-
#4932
5522520Thanks @tim-smart! - refactor PlatformError and make it a schema
Patch Changes
- Updated dependencies [
cc5bb2b]:
v0.82.8
Patch Changes
v0.82.7
Patch Changes
-
#4921
c20b95aThanks @tim-smart! - update /platform dependencies -
#4916
94ada43Thanks @mattiamanzati! - Fix missing encoding of path parameters in HttpApiClient
v0.82.6
Patch Changes
-
#4855
618903bThanks @gcanti! - Enhance OpenAPI documentation handling by adding safe serialization and HTML escaping functions. This prevents script injection and ensures valid JSON output in the Swagger UI
v0.82.5
Patch Changes
-
#4912
7764a07Thanks @tim-smart! - add HttpClient.withScope, for tying the lifetime of the request to a Scope -
#4909
30a0d9cThanks @tim-smart! - add HttpClientRequest.toUrl -
Updated dependencies [
4577f54]:
v0.82.4
Patch Changes
-
#4896
d45e8a8Thanks @seniorkonung! - HandleRespondabledefects intoResponseOrElseDefect -
#4890
d13b68eThanks @KhraksMamtsov! -Url.setPasswordsupportsRedacted<string>values
v0.82.3
Patch Changes
-
#4889
a328f4bThanks @tim-smart! - add HttpBody.formDataRecord -
Updated dependencies [
b8722b8]:
v0.82.2
Patch Changes
-
#4882
739a3d4Thanks @tim-smart! - remove content headers for FormData bodies
v0.82.1
Patch Changes
v0.82.0
Minor Changes
-
#4641
a9b3fb7Thanks @thewilkybarkid! - Allow removing multiple Headers
Patch Changes
- Updated dependencies [
c654595,d9f5dea,49aa723,74c14d0,e4f49b6,6f02224,1dcfd41,b21ab16,fcf1822,0061dd1,8421e6e,fa10f56]:
v0.81.1
Patch Changes
- Updated dependencies [
24a9ebb]:
v0.81.0
Minor Changes
-
#4842
672920fThanks @tim-smart! - allow overriding http span namesimport { FetchHttpClient, HttpClient } from "@​effect/platform" import { NodeRuntime } from "@​effect/platform-node" import { Effect } from "effect" Effect.gen(function* () { const client = (yield* HttpClient.HttpClient).pipe( // Customize the span names for this HttpClient HttpClient.withSpanNameGenerator( (request) => `http.client ${request.method} ${request.url}` ) ) yield* client.get("https://jsonplaceholder.typicode.com/posts/1") }).pipe(Effect.provide(FetchHttpClient.layer), NodeRuntime.runMain)And for a server:
import { HttpMiddleware, HttpRouter, HttpServer, HttpServerResponse } from "@​effect/platform" import { NodeHttpServer, NodeRuntime } from "@​effect/platform-node" import { Layer } from "effect" import { createServer } from "http" HttpRouter.empty.pipe( HttpRouter.get("/", HttpServerResponse.empty()), HttpServer.serve(), // Customize the span names for this HttpApp HttpMiddleware.withSpanNameGenerator((request) => `GET ${request.url}`), Layer.provide(NodeHttpServer.layer(createServer, { port: 3000 })), Layer.launch, NodeRuntime.runMain )
v0.80.21
Patch Changes
- Updated dependencies [
2f3b7d4]:
v0.80.20
Patch Changes
- Updated dependencies [
17e2f30]:
v0.80.19
Patch Changes
-
#4821
e25e7bbThanks @seniorkonung! - Ensure HttpApp defects are always 500
v0.80.18
Patch Changes
- Updated dependencies [
b1164d4]:
v0.80.17
Patch Changes
v0.80.16
Patch Changes
-
#4803
f1c8583Thanks @tim-smart! - expose uninteruptible option to HttpApiBuilder .handle apis -
Updated dependencies [
ee14444]:
v0.80.15
Patch Changes
v0.80.14
Patch Changes
- Updated dependencies [
6ed8d15]:
v0.80.13
Patch Changes
v0.80.12
Patch Changes
v0.80.11
Patch Changes
- Updated dependencies [
e536127]:
v0.80.10
Patch Changes
- Updated dependencies [
bc7efa3]:
v0.80.9
Patch Changes
- Updated dependencies [
d78249f]:
v0.80.8
Patch Changes
- Updated dependencies [
b3a2d32]:
v0.80.7
Patch Changes
- Updated dependencies [
b542a4b]:
v0.80.6
Patch Changes
v0.80.5
Patch Changes
v0.80.4
Patch Changes
- Updated dependencies [
e4ba2c6]:
v0.80.3
Patch Changes
v0.80.2
Patch Changes
- Updated dependencies [
2f3b7d4]:
v0.80.1
Patch Changes
-
#4821
e25e7bbThanks @seniorkonung! - Ensure HttpApp defects are always 500
v0.80.0
Minor Changes
-
#4469
3131f8fThanks @tim-smart! - refactor of @effect/cluster packages
Patch Changes
-
#4469
aba2d1dThanks @tim-smart! - move the MsgPack, Ndjson & ChannelSchema modules to @effect/platform -
#4469
aba2d1dThanks @tim-smart! - add HttpRouter.Tag.serve api -
#4469
aba2d1dThanks @tim-smart! - Move SocketServer modules to @effect/platform -
Updated dependencies [
1f47e4e,26dd75f,04dff2d,c7fac0c,aba2d1d,ffaa3f3,ab957c1,35db9ce,cf77ea9,26dd75f,baaab60]:
v0.79.4
Patch Changes
-
#4592
5662363Thanks @tim-smart! - support nested records in UrlParams module -
#4615
5f1fd15Thanks @KhraksMamtsov! - - RelaxUrl.setPortconstraint- Use
URL | ...forbaseUrlinHttpApiClient.make
- Use
-
#4614
8bb1460Thanks @gcanti! - HttpApiEndpoint: add missingheadandoptionsconstructors, closes #4613.
v0.79.3
Patch Changes
Effect-TS/effect (@effect/platform-node)
v0.86.2
Patch Changes
- Updated dependencies [
ddfd1e4]:- @effect/rpc@0.62.2
- @effect/cluster@0.39.2
- @effect/platform-node-shared@0.40.2
v0.86.1
Patch Changes
- Updated dependencies [
8cb98d5,db2dd3c]:- [email protected]
- @effect/cluster@0.39.1
- @effect/platform@0.85.1
- @effect/platform-node-shared@0.40.1
- @effect/rpc@0.62.1
- @effect/sql@0.38.1
v0.86.0
Patch Changes
- Updated dependencies [
93687dd,93687dd,93687dd]:- @effect/platform@0.85.0
- @effect/cluster@0.39.0
- @effect/platform-node-shared@0.40.0
- @effect/rpc@0.62.0
- @effect/sql@0.38.0
v0.85.16
Patch Changes
- Updated dependencies [
1bb0d8a,cbac1ac]:- [email protected]
- @effect/cluster@0.38.16
- @effect/rpc@0.61.15
- @effect/platform@0.84.11
- @effect/platform-node-shared@0.39.16
- @effect/sql@0.37.12
v0.85.15
Patch Changes
- Updated dependencies [
a5f7595,a02470c,bf369b2,f891d45]:- [email protected]
- @effect/platform@0.84.10
- @effect/cluster@0.38.15
- @effect/platform-node-shared@0.39.15
- @effect/rpc@0.61.14
- @effect/sql@0.37.11
v0.85.14
Patch Changes
- Updated dependencies [
ee3a197,ee3a197]:- @effect/rpc@0.61.13
- @effect/cluster@0.38.14
- @effect/platform-node-shared@0.39.14
v0.85.13
Patch Changes
- Updated dependencies [
e0d3d42]:- @effect/rpc@0.61.12
- @effect/cluster@0.38.13
- @effect/platform-node-shared@0.39.13
v0.85.12
Patch Changes
- Updated dependencies [
dca92fd]:- @effect/cluster@0.38.12
- @effect/rpc@0.61.11
- @effect/platform-node-shared@0.39.12
v0.85.11
Patch Changes
- Updated dependencies [
cc283b9]:- @effect/cluster@0.38.11
- @effect/platform-node-shared@0.39.11
v0.85.10
Patch Changes
- Updated dependencies [
6e2e886,bf418ef]:- @effect/cluster@0.38.10
- [email protected]
- @effect/platform-node-shared@0.39.10
- @effect/platform@0.84.9
- @effect/rpc@0.61.10
- @effect/sql@0.37.10
v0.85.9
Patch Changes
- Updated dependencies [
7bf6cb9,7bf6cb9]:- @effect/rpc@0.61.9
- @effect/cluster@0.38.9
- @effect/platform-node-shared@0.39.9
v0.85.8
Patch Changes
- Updated dependencies []:
- @effect/cluster@0.38.8
- @effect/platform-node-shared@0.39.8
v0.85.7
Patch Changes
- Updated dependencies [
22166f8]:- @effect/cluster@0.38.7
- @effect/platform-node-shared@0.39.7
v0.85.6
Patch Changes
-
#4998
f8ff7dcThanks @tim-smart! - expose MessageStorage in cluster clientOnly layers -
Updated dependencies [
f8ff7dc,8b9db77]:- @effect/platform-node-shared@0.39.6
- @effect/platform@0.84.8
- @effect/cluster@0.38.6
- @effect/rpc@0.61.8
- @effect/sql@0.37.9
v0.85.5
Patch Changes
- Updated dependencies [
74ab9a0,770008e]:- [email protected]
- @effect/cluster@0.38.5
- @effect/platform@0.84.7
- @effect/platform-node-shared@0.39.5
- @effect/rpc@0.61.7
- @effect/sql@0.37.8
v0.85.4
Patch Changes
- Updated dependencies [
7e59d0e]:- @effect/cluster@0.38.4
- @effect/platform-node-shared@0.39.4
v0.85.3
Patch Changes
- Updated dependencies [
59575c5]:- @effect/cluster@0.38.3
- @effect/platform-node-shared@0.39.3
- @effect/sql@0.37.7
v0.85.2
Patch Changes
- Updated dependencies [
d244b63,ceea77a]:- @effect/cluster@0.38.2
- @effect/platform@0.84.6
- @effect/platform-node-shared@0.39.2
- @effect/rpc@0.61.6
- @effect/sql@0.37.6
v0.85.1
Patch Changes
- Updated dependencies [
1bb0d8a,cbac1ac]:- [email protected]
- @effect/cluster@0.38.16
- @effect/rpc@0.61.15
- @effect/platform@0.84.11
- @effect/platform-node-shared@0.39.16
- @effect/sql@0.37.12
v0.85.0
Patch Changes
- Updated dependencies [
3086405,ec52c6a,71e1e6c,d0067ca,8c79abe]:- @effect/cluster@0.38.0
- @effect/platform@0.84.5
- @effect/rpc@0.61.5
- @effect/platform-node-shared@0.39.0
- @effect/sql@0.37.5
v0.84.2
Patch Changes
- Updated dependencies [
6dfbae9]:- @effect/cluster@0.37.2
- @effect/platform-node-shared@0.38.2
v0.84.1
Patch Changes
- Updated dependencies []:
- @effect/cluster@0.37.1
- @effect/platform-node-shared@0.38.1
v0.84.0
Patch Changes
- Updated dependencies [
87722fc,36217ee,a116aea]:- [email protected]
- @effect/rpc@0.61.4
- @effect/cluster@0.37.0
- @effect/platform@0.84.4
- @effect/platform-node-shared@0.38.0
- @effect/sql@0.37.4
v0.83.3
Patch Changes
- Updated dependencies [
ab7684f]:- @effect/platform@0.84.3
- @effect/cluster@0.36.3
- @effect/platform-node-shared@0.37.3
- @effect/rpc@0.61.3
- @effect/sql@0.37.3
v0.83.2
Patch Changes
- Updated dependencies [
0ddf148,a77afb1]:- [email protected]
- @effect/rpc@0.61.2
- @effect/cluster@0.36.2
- @effect/platform@0.84.2
- @effect/platform-node-shared@0.37.2
- @effect/sql@0.37.2
v0.83.1
Patch Changes
- Updated dependencies [
71174d0,d615e6e]:- @effect/platform@0.84.1
- [email protected]
- @effect/cluster@0.36.1
- @effect/platform-node-shared@0.37.1
- @effect/rpc@0.61.1
- @effect/sql@0.37.1
v0.83.0
Patch Changes
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.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 55.20%. Comparing base (a4d8341) to head (02bda88).
:warning: Report is 1 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #6770 +/- ##
==========================================
- Coverage 55.21% 55.20% -0.02%
==========================================
Files 1103 1103
Lines 98474 98375 -99
Branches 4579 4577 -2
==========================================
- Hits 54375 54307 -68
+ Misses 43479 43448 -31
Partials 620 620
| Flag | Coverage Δ | |
|---|---|---|
| apps.hash-ai-worker-ts | 1.32% <ø> (ø) |
|
| apps.hash-api | 0.00% <ø> (ø) |
|
| local.hash-backend-utils | 4.06% <ø> (ø) |
|
| local.hash-graph-sdk | 10.88% <ø> (ø) |
|
| local.hash-isomorphic-utils | 0.00% <ø> (ø) |
|
| rust.hash-graph-api | 2.85% <ø> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
[!WARNING] This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite. Learn more
-
#7446
-
#6770
👈 (View in Graphite)
-
#6473
-
#7865
-
main
This stack of pull requests is managed by Graphite. Learn more about stacking.
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.
Merge activity
- Oct 15, 8:17 AM UTC: Graphite rebased this pull request, because this pull request is set to merge when ready.
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 | $$99.0 \mathrm{ms} \pm 640 \mathrm{μs}\left({\color{gray}-0.823 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: empty, selectivity: low, policies: 1 | $$5.54 \mathrm{ms} \pm 25.2 \mathrm{μs}\left({\color{gray}-2.066 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: empty, selectivity: medium, policies: 5001 | $$77.7 \mathrm{ms} \pm 551 \mathrm{μs}\left({\color{gray}-2.822 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: seeded, selectivity: high, policies: 27604 | $$294 \mathrm{ms} \pm 1.29 \mathrm{ms}\left({\color{gray}0.291 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: seeded, selectivity: low, policies: 1 | $$21.7 \mathrm{ms} \pm 203 \mathrm{μs}\left({\color{gray}-1.055 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: seeded, selectivity: medium, policies: 13450 | $$232 \mathrm{ms} \pm 853 \mathrm{μs}\left({\color{gray}0.203 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: system, selectivity: high, policies: 11308 | $$469 \mathrm{ms} \pm 2.02 \mathrm{ms}\left({\color{red}227 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: system, selectivity: low, policies: 1 | $$6.57 \mathrm{ms} \pm 43.5 \mathrm{μs}\left({\color{gray}0.157 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: system, selectivity: medium, policies: 5628 | $$88.7 \mathrm{ms} \pm 559 \mathrm{μs}\left({\color{gray}-1.152 \mathrm{\%}}\right) $$ | Flame Graph |
policy_resolution_large
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| resolve_policies_for_actor | user: empty, selectivity: high, policies: 2002 | $$29.4 \mathrm{ms} \pm 126 \mathrm{μs}\left({\color{gray}0.610 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: empty, selectivity: low, policies: 1 | $$3.57 \mathrm{ms} \pm 18.9 \mathrm{μs}\left({\color{gray}1.64 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: empty, selectivity: medium, policies: 1001 | $$14.1 \mathrm{ms} \pm 84.1 \mathrm{μs}\left({\color{gray}-1.381 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: seeded, selectivity: high, policies: 3314 | $$40.0 \mathrm{ms} \pm 327 \mathrm{μs}\left({\color{gray}1.68 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: seeded, selectivity: low, policies: 1 | $$14.4 \mathrm{ms} \pm 72.7 \mathrm{μs}\left({\color{gray}1.83 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: seeded, selectivity: medium, policies: 1526 | $$25.6 \mathrm{ms} \pm 143 \mathrm{μs}\left({\color{gray}1.25 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: system, selectivity: high, policies: 2078 | $$29.9 \mathrm{ms} \pm 162 \mathrm{μs}\left({\color{lightgreen}-38.068 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: system, selectivity: low, policies: 1 | $$3.90 \mathrm{ms} \pm 23.2 \mathrm{μs}\left({\color{gray}2.81 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: system, selectivity: medium, policies: 1033 | $$14.7 \mathrm{ms} \pm 158 \mathrm{μs}\left({\color{lightgreen}-45.942 \mathrm{\%}}\right) $$ | Flame Graph |
policy_resolution_medium
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| resolve_policies_for_actor | user: empty, selectivity: high, policies: 102 | $$3.72 \mathrm{ms} \pm 17.4 \mathrm{μs}\left({\color{lightgreen}-6.527 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: empty, selectivity: low, policies: 1 | $$3.14 \mathrm{ms} \pm 14.9 \mathrm{μs}\left({\color{gray}1.76 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: empty, selectivity: medium, policies: 51 | $$3.23 \mathrm{ms} \pm 17.6 \mathrm{μs}\left({\color{lightgreen}-6.502 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: seeded, selectivity: high, policies: 269 | $$5.40 \mathrm{ms} \pm 29.8 \mathrm{μs}\left({\color{gray}0.333 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: seeded, selectivity: low, policies: 1 | $$3.67 \mathrm{ms} \pm 17.4 \mathrm{μs}\left({\color{gray}-0.990 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: seeded, selectivity: medium, policies: 107 | $$4.26 \mathrm{ms} \pm 20.1 \mathrm{μs}\left({\color{gray}-0.580 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: system, selectivity: high, policies: 133 | $$4.37 \mathrm{ms} \pm 29.4 \mathrm{μs}\left({\color{gray}-4.981 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: system, selectivity: low, policies: 1 | $$3.36 \mathrm{ms} \pm 15.3 \mathrm{μs}\left({\color{lightgreen}-7.709 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: system, selectivity: medium, policies: 63 | $$3.98 \mathrm{ms} \pm 22.1 \mathrm{μs}\left({\color{lightgreen}-5.551 \mathrm{\%}}\right) $$ | Flame Graph |
policy_resolution_none
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| resolve_policies_for_actor | user: empty, selectivity: high, policies: 2 | $$2.57 \mathrm{ms} \pm 11.4 \mathrm{μs}\left({\color{gray}4.97 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: empty, selectivity: low, policies: 1 | $$2.46 \mathrm{ms} \pm 11.8 \mathrm{μs}\left({\color{gray}4.23 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: empty, selectivity: medium, policies: 1 | $$2.52 \mathrm{ms} \pm 11.2 \mathrm{μs}\left({\color{gray}1.72 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: system, selectivity: high, policies: 8 | $$2.84 \mathrm{ms} \pm 15.1 \mathrm{μs}\left({\color{red}6.42 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: system, selectivity: low, policies: 1 | $$2.64 \mathrm{ms} \pm 12.6 \mathrm{μs}\left({\color{gray}4.77 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: system, selectivity: medium, policies: 3 | $$2.88 \mathrm{ms} \pm 15.7 \mathrm{μs}\left({\color{gray}4.86 \mathrm{\%}}\right) $$ | Flame Graph |
policy_resolution_small
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| resolve_policies_for_actor | user: empty, selectivity: high, policies: 52 | $$3.08 \mathrm{ms} \pm 15.0 \mathrm{μs}\left({\color{red}8.98 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: empty, selectivity: low, policies: 1 | $$2.70 \mathrm{ms} \pm 13.5 \mathrm{μs}\left({\color{red}9.52 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: empty, selectivity: medium, policies: 25 | $$2.91 \mathrm{ms} \pm 12.5 \mathrm{μs}\left({\color{red}10.2 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: seeded, selectivity: high, policies: 94 | $$3.41 \mathrm{ms} \pm 20.6 \mathrm{μs}\left({\color{red}7.70 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: seeded, selectivity: low, policies: 1 | $$2.93 \mathrm{ms} \pm 16.6 \mathrm{μs}\left({\color{red}8.35 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: seeded, selectivity: medium, policies: 26 | $$3.17 \mathrm{ms} \pm 15.6 \mathrm{μs}\left({\color{red}6.88 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: system, selectivity: high, policies: 66 | $$3.30 \mathrm{ms} \pm 19.3 \mathrm{μs}\left({\color{red}8.52 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: system, selectivity: low, policies: 1 | $$2.91 \mathrm{ms} \pm 15.6 \mathrm{μs}\left({\color{red}8.35 \mathrm{\%}}\right) $$ | Flame Graph |
| resolve_policies_for_actor | user: system, selectivity: medium, policies: 29 | $$3.12 \mathrm{ms} \pm 14.9 \mathrm{μs}\left({\color{red}7.95 \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 |
$$32.8 \mathrm{ms} \pm 290 \mathrm{μs}\left({\color{red}5.28 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 |
$$30.6 \mathrm{ms} \pm 272 \mathrm{μs}\left({\color{lightgreen}-6.625 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 |
$$30.9 \mathrm{ms} \pm 242 \mathrm{μs}\left({\color{gray}-4.677 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 |
$$31.1 \mathrm{ms} \pm 292 \mathrm{μs}\left({\color{gray}-3.182 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 |
$$30.3 \mathrm{ms} \pm 316 \mathrm{μs}\left({\color{gray}-4.553 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 |
$$31.3 \mathrm{ms} \pm 246 \mathrm{μs}\left({\color{lightgreen}-5.472 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 |
$$31.5 \mathrm{ms} \pm 310 \mathrm{μs}\left({\color{gray}-0.655 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 |
$$31.6 \mathrm{ms} \pm 306 \mathrm{μs}\left({\color{gray}0.595 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 |
$$32.5 \mathrm{ms} \pm 282 \mathrm{μs}\left({\color{gray}0.999 \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.43 \mathrm{ms} \pm 41.6 \mathrm{μs}\left({\color{gray}-1.195 \mathrm{\%}}\right) $$ | Flame Graph |
representative_read_multiple_entities
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| entity_by_property | traversal_paths=0 | 0 | $$58.4 \mathrm{ms} \pm 270 \mathrm{μs}\left({\color{gray}-1.833 \mathrm{\%}}\right) $$ |
| entity_by_property | traversal_paths=255 | 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true | $$114 \mathrm{ms} \pm 406 \mathrm{μs}\left({\color{gray}0.154 \mathrm{\%}}\right) $$ |
| entity_by_property | traversal_paths=2 | 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false | $$62.8 \mathrm{ms} \pm 346 \mathrm{μs}\left({\color{gray}-1.850 \mathrm{\%}}\right) $$ |
| entity_by_property | traversal_paths=2 | 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true | $$71.8 \mathrm{ms} \pm 333 \mathrm{μs}\left({\color{gray}-1.839 \mathrm{\%}}\right) $$ |
| entity_by_property | traversal_paths=2 | 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true | $$82.1 \mathrm{ms} \pm 317 \mathrm{μs}\left({\color{gray}-1.562 \mathrm{\%}}\right) $$ |
| entity_by_property | traversal_paths=2 | 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true | $$90.3 \mathrm{ms} \pm 357 \mathrm{μs}\left({\color{gray}-0.404 \mathrm{\%}}\right) $$ |
| link_by_source_by_property | traversal_paths=0 | 0 | $$53.3 \mathrm{ms} \pm 254 \mathrm{μs}\left({\color{gray}-0.648 \mathrm{\%}}\right) $$ |
| link_by_source_by_property | traversal_paths=255 | 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true | $$80.7 \mathrm{ms} \pm 353 \mathrm{μs}\left({\color{gray}-1.661 \mathrm{\%}}\right) $$ |
| link_by_source_by_property | traversal_paths=2 | 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false | $$57.3 \mathrm{ms} \pm 307 \mathrm{μs}\left({\color{gray}-1.884 \mathrm{\%}}\right) $$ |
| link_by_source_by_property | traversal_paths=2 | 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true | $$66.9 \mathrm{ms} \pm 316 \mathrm{μs}\left({\color{gray}-1.534 \mathrm{\%}}\right) $$ |
| link_by_source_by_property | traversal_paths=2 | 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true | $$69.7 \mathrm{ms} \pm 428 \mathrm{μs}\left({\color{gray}-0.365 \mathrm{\%}}\right) $$ |
| link_by_source_by_property | traversal_paths=2 | 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true | $$69.1 \mathrm{ms} \pm 306 \mathrm{μs}\left({\color{gray}-2.444 \mathrm{\%}}\right) $$ |
scaling_read_entity_complete_one_depth
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| entity_by_id | 1 entities | $$44.0 \mathrm{ms} \pm 275 \mathrm{μs}\left({\color{gray}-1.838 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 10 entities | $$52.5 \mathrm{ms} \pm 234 \mathrm{μs}\left({\color{lightgreen}-5.192 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 25 entities | $$51.9 \mathrm{ms} \pm 249 \mathrm{μs}\left({\color{gray}0.838 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 5 entities | $$48.7 \mathrm{ms} \pm 769 \mathrm{μs}\left({\color{gray}3.71 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 50 entities | $$71.8 \mathrm{ms} \pm 1.55 \mathrm{ms}\left({\color{gray}-2.767 \mathrm{\%}}\right) $$ | Flame Graph |
scaling_read_entity_complete_zero_depth
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| entity_by_id | 1 entities | $$43.5 \mathrm{ms} \pm 176 \mathrm{μs}\left({\color{gray}-1.800 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 10 entities | $$52.9 \mathrm{ms} \pm 401 \mathrm{μs}\left({\color{lightgreen}-6.392 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 25 entities | $$51.2 \mathrm{ms} \pm 235 \mathrm{μs}\left({\color{gray}-1.522 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 5 entities | $$46.8 \mathrm{ms} \pm 224 \mathrm{μs}\left({\color{gray}-0.440 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 50 entities | $$73.0 \mathrm{ms} \pm 450 \mathrm{μs}\left({\color{gray}-1.553 \mathrm{\%}}\right) $$ | Flame Graph |
scaling_read_entity_linkless
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| entity_by_id | 1 entities | $$15.3 \mathrm{ms} \pm 70.0 \mathrm{μs}\left({\color{gray}-1.003 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 10 entities | $$15.1 \mathrm{ms} \pm 65.7 \mathrm{μs}\left({\color{gray}0.293 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 100 entities | $$15.4 \mathrm{ms} \pm 74.7 \mathrm{μs}\left({\color{gray}2.50 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 1000 entities | $$15.6 \mathrm{ms} \pm 79.0 \mathrm{μs}\left({\color{gray}-1.425 \mathrm{\%}}\right) $$ | Flame Graph |
| entity_by_id | 10000 entities | $$23.8 \mathrm{ms} \pm 144 \mathrm{μs}\left({\color{gray}0.043 \mathrm{\%}}\right) $$ | Flame Graph |
scenarios
| Function | Value | Mean | Flame graphs |
|---|---|---|---|
| full_test | query-limited | $$142 \mathrm{ms} \pm 430 \mathrm{μs}\left({\color{gray}0.687 \mathrm{\%}}\right) $$ | Flame Graph |
| full_test | query-unlimited | $$139 \mathrm{ms} \pm 487 \mathrm{μs}\left({\color{gray}1.79 \mathrm{\%}}\right) $$ | Flame Graph |
| linked_queries | query-limited | $$44.7 \mathrm{ms} \pm 189 \mathrm{μs}\left({\color{lightgreen}-57.908 \mathrm{\%}}\right) $$ | Flame Graph |
| linked_queries | query-unlimited | $$580 \mathrm{ms} \pm 1.13 \mathrm{ms}\left({\color{gray}1.25 \mathrm{\%}}\right) $$ | Flame Graph |