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

enhance: Remove throttle from fetch action #3138

Merged
merged 1 commit into from
Jul 8, 2024
Merged

enhance: Remove throttle from fetch action #3138

merged 1 commit into from
Jul 8, 2024

Conversation

ntucker
Copy link
Collaborator

@ntucker ntucker commented Jul 8, 2024

Motivation

Simpler actions; less code

Solution

Remove throttle from FETCH_TYPE action

BREAKING CHANGE: action.meta.throttle -> !action.endpoint.sideEffect

Copy link

changeset-bot bot commented Jul 8, 2024

🦋 Changeset detected

Latest commit: 935fab9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@data-client/core Minor
@data-client/react Minor
example-benchmark Patch
coinbase-lite Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 935fab9 Previous: 2ad1811 Ratio
normalizeLong 513 ops/sec (±0.39%) 506 ops/sec (±0.61%) 0.99
infer All 9817 ops/sec (±0.60%) 9677 ops/sec (±0.57%) 0.99
denormalizeLong 339 ops/sec (±1.40%) 327 ops/sec (±2.76%) 0.96
denormalizeLong donotcache 908 ops/sec (±0.22%) 896 ops/sec (±0.25%) 0.99
denormalizeShort donotcache 500x 1351 ops/sec (±0.16%) 1367 ops/sec (±0.21%) 1.01
denormalizeShort 500x 968 ops/sec (±0.92%) 969 ops/sec (±0.32%) 1.00
denormalizeShort 500x withCache 5061 ops/sec (±0.38%) 4885 ops/sec (±0.53%) 0.97
denormalizeLong with mixin Entity 298 ops/sec (±0.45%) 289 ops/sec (±0.64%) 0.97
denormalizeLong withCache 6561 ops/sec (±0.11%) 6241 ops/sec (±0.21%) 0.95
denormalizeLong All withCache 6985 ops/sec (±0.15%) 6614 ops/sec (±0.16%) 0.95
denormalizeLong Query-sorted withCache 6736 ops/sec (±0.65%) 6317 ops/sec (±0.51%) 0.94
denormalizeLongAndShort withEntityCacheOnly 1504 ops/sec (±0.88%) 1514 ops/sec (±1.32%) 1.01
getResponse 5938 ops/sec (±1.48%) 5788 ops/sec (±1.73%) 0.97
getResponse (null) 5526242 ops/sec (±0.45%) 5167211 ops/sec (±0.51%) 0.94
getResponse (clear cache) 290 ops/sec (±0.48%) 290 ops/sec (±0.37%) 1
getSmallResponse 2690 ops/sec (±0.29%) 2712 ops/sec (±0.33%) 1.01
getSmallInferredResponse 2055 ops/sec (±0.12%) 2028 ops/sec (±0.22%) 0.99
getResponse Query-sorted 5539 ops/sec (±0.56%) 5586 ops/sec (±0.34%) 1.01
getResponse Collection 6462 ops/sec (±1.10%) 6418 ops/sec (±1.19%) 0.99
get Collection 5801 ops/sec (±0.98%) 5790 ops/sec (±1.06%) 1.00
setLong 515 ops/sec (±0.37%) 513 ops/sec (±0.30%) 1.00
setLongWithMerge 204 ops/sec (±0.32%) 202 ops/sec (±0.20%) 0.99
setLongWithSimpleMerge 212 ops/sec (±0.37%) 213 ops/sec (±0.44%) 1.00
setSmallResponse 500x 901 ops/sec (±0.22%) 886 ops/sec (±1.80%) 0.98

This comment was automatically generated by workflow using github-action-benchmark.

@ntucker ntucker merged commit ee509fb into master Jul 8, 2024
24 checks passed
@ntucker ntucker deleted the throttle-meta branch July 8, 2024 14:16
@github-actions github-actions bot mentioned this pull request Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant