Thanks to visit codestin.com
Credit goes to github.com

Skip to content

enhance: Simplify Invalidate schema code #3453

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ntucker
Copy link
Collaborator

@ntucker ntucker commented Apr 7, 2025

Motivation

  • Reduced bundlesize
  • Simpler/easier to follow

Solution

Copy link

changeset-bot bot commented Apr 7, 2025

⚠️ No Changeset found

Latest commit: 247b9df

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

Copy link
Contributor

github-actions bot commented Apr 7, 2025

Size Change: -29 B (-0.04%)

Total Size: 77.8 kB

Filename Size Change
examples/test-bundlesize/dist/rdcEndpoint.js 5.62 kB -29 B (-0.51%)
ℹ️ View Unchanged
Filename Size
examples/test-bundlesize/dist/App.js 3.42 kB
examples/test-bundlesize/dist/polyfill.js 311 B
examples/test-bundlesize/dist/rdcClient.js 10.2 kB
examples/test-bundlesize/dist/react.js 57.5 kB
examples/test-bundlesize/dist/webpack-runtime.js 726 B

compressed-size-action

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: 247b9df Previous: 4939456 Ratio
normalizeLong 506 ops/sec (±0.29%) 503 ops/sec (±0.71%) 0.99
infer All 9165 ops/sec (±1.59%) 9258 ops/sec (±1.36%) 1.01
denormalizeLong 282 ops/sec (±2.65%) 275 ops/sec (±2.25%) 0.98
denormalizeLong donotcache 981 ops/sec (±0.35%) 1010 ops/sec (±0.31%) 1.03
denormalizeShort donotcache 500x 1407 ops/sec (±0.28%) 1408 ops/sec (±0.47%) 1.00
denormalizeShort 500x 767 ops/sec (±1.97%) 777 ops/sec (±2.27%) 1.01
denormalizeShort 500x withCache 5214 ops/sec (±0.24%) 5203 ops/sec (±0.22%) 1.00
queryShort 500x withCache 2407 ops/sec (±0.29%) 2302 ops/sec (±0.28%) 0.96
denormalizeLong with mixin Entity 267 ops/sec (±1.77%) 258 ops/sec (±1.96%) 0.97
denormalizeLong withCache 6563 ops/sec (±0.25%) 6928 ops/sec (±0.17%) 1.06
denormalizeLong All withCache 7139 ops/sec (±0.32%) 7201 ops/sec (±0.36%) 1.01
denormalizeLong Query-sorted withCache 6994 ops/sec (±0.45%) 6818 ops/sec (±0.92%) 0.97
denormalizeLongAndShort withEntityCacheOnly 1694 ops/sec (±0.71%) 1703 ops/sec (±0.44%) 1.01
getResponse 6089 ops/sec (±1.10%) 6061 ops/sec (±1.39%) 1.00
getResponse (null) 5917858 ops/sec (±0.67%) 5139703 ops/sec (±0.53%) 0.87
getResponse (clear cache) 266 ops/sec (±1.81%) 261 ops/sec (±2.08%) 0.98
getSmallResponse 2683 ops/sec (±0.46%) 2679 ops/sec (±0.30%) 1.00
getSmallInferredResponse 2081 ops/sec (±0.58%) 2096 ops/sec (±0.35%) 1.01
getResponse Collection 7032 ops/sec (±1.02%) 6530 ops/sec (±0.96%) 0.93
get Collection 5958 ops/sec (±0.45%) 5950 ops/sec (±0.45%) 1.00
get Query-sorted 6669 ops/sec (±0.73%) 6735 ops/sec (±0.31%) 1.01
setLong 509 ops/sec (±0.58%) 508 ops/sec (±0.38%) 1.00
setLongWithMerge 229 ops/sec (±0.50%) 228 ops/sec (±0.32%) 1.00
setLongWithSimpleMerge 241 ops/sec (±0.41%) 240 ops/sec (±0.46%) 1.00
setSmallResponse 500x 922 ops/sec (±0.24%) 919 ops/sec (±0.32%) 1.00

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

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.

1 participant