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

v1 #456

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open

v1 #456

wants to merge 27 commits into from

Conversation

mdjastrzebski
Copy link
Member

@mdjastrzebski mdjastrzebski commented Feb 20, 2024

Summary

  • Rename: measurePerformance => measureRenders
  • Rename: resetToDefault() => resetToDefaults()
  • Modify measure* output to allow multiple tests
  • Migration guide

Test plan

Copy link

changeset-bot bot commented Feb 20, 2024

🦋 Changeset detected

Latest commit: f90ee3c

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

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

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 bot commented Feb 21, 2024

Performance Comparison Report

  • Current: HEAD (8a7eb47) - 2024-05-16 10:23:24Z
  • Baseline: main (5708d67) - 2024-05-16 10:22:04Z

Significant Changes To Duration

Name Type Duration Count
fib 30 function 86.9 ms → 38.4 ms (-48.5 ms, -55.8%) 🟢🟢 1 → 1
Other Component 20 render 114.0 ms → 65.5 ms (-48.5 ms, -42.6%) 🟢🟢 4 → 4
Other Component 10 legacy scenario render 116.6 ms → 66.8 ms (-49.8 ms, -42.7%) 🟢🟢 4 → 4
Other Component 10 render 115.7 ms → 64.2 ms (-51.5 ms, -44.5%) 🟢🟢 4 → 4
Async Component render 186.8 ms → 105.7 ms (-81.1 ms, -43.4%) 🟢🟢 7 → 7
fib 31 function 145.1 ms → 63.1 ms (-82.0 ms, -56.5%) 🟢🟢 1 → 1
fib 32 function 217.2 ms → 100.7 ms (-116.5 ms, -53.6%) 🟢🟢 1 → 1
Show details
Name Type Duration Count
fib 30 function Baseline
Mean: 86.9 ms
Stdev: 0.5 ms (0.6%)
Runs: 87.7 87.6 87.5 87.2 86.7 86.6 86.5 86.5 86.5 86.4

Current
Mean: 38.4 ms
Stdev: 0.0 ms (0.1%)
Runs: 38.4 38.4 38.4 38.5 38.5 38.4 38.5 38.4 38.5 38.4
Baseline
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1

Current
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
Other Component 20 render Baseline
Mean: 114.0 ms
Stdev: 5.1 ms (4.5%)
Runs: 127 120 119 119 119 118 116 116 114 114 112 112 111 111 110 110 109 109 108 107

Current
Mean: 65.5 ms
Stdev: 5.2 ms (7.9%)
Runs: 62 59 68 62 64 67 63 61 71 74 62 65 63 63 80 62 72 62 65 65
Baseline
Mean: 4
Stdev: 0 (0.0%)
Runs: 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4

Current
Mean: 4
Stdev: 0 (0.0%)
Runs: 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
Other Component 10 legacy scenario render Baseline
Mean: 116.6 ms
Stdev: 4.5 ms (3.9%)
Runs: 124 121 120 119 118 115 114 114 111 110

Current
Mean: 66.8 ms
Stdev: 4.0 ms (6.0%)
Runs: 65 62 71 72 63 71 68 62 64 70
Baseline
Mean: 4
Stdev: 0 (0.0%)
Runs: 4 4 4 4 4 4 4 4 4 4

Current
Mean: 4
Stdev: 0 (0.0%)
Runs: 4 4 4 4 4 4 4 4 4 4
Other Component 10 render Baseline
Mean: 115.7 ms
Stdev: 4.1 ms (3.5%)
Runs: 123 119 119 118 117 114 112 112 112 111

Current
Mean: 64.2 ms
Stdev: 6.6 ms (10.3%)
Runs: 63 56 73 65 55 61 72 63 61 73
Baseline
Mean: 4
Stdev: 0 (0.0%)
Runs: 4 4 4 4 4 4 4 4 4 4

Current
Mean: 4
Stdev: 0 (0.0%)
Runs: 4 4 4 4 4 4 4 4 4 4
Async Component render Baseline
Mean: 186.8 ms
Stdev: 11.1 ms (5.9%)
Runs: 206 200 195 188 187 184 181 181 177 169

Current
Mean: 105.7 ms
Stdev: 5.0 ms (4.7%)
Runs: 103 109 107 102 105 110 101 116 105 99
Baseline
Mean: 7
Stdev: 0 (0.0%)
Runs: 7 7 7 7 7 7 7 7 7 7

Current
Mean: 7
Stdev: 0 (0.0%)
Runs: 7 7 7 7 7 7 7 7 7 7
fib 31 function Baseline
Mean: 145.1 ms
Stdev: 1.2 ms (0.8%)
Runs: 148.1 145.4 145.3 145.3 145.2 145.2 144.8 144.5 144.2 143.5

Current
Mean: 63.1 ms
Stdev: 1.3 ms (2.0%)
Runs: 62.2 62.8 62.8 62.9 62.8 66.7 62.8 62.8 62.8 62.9
Baseline
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1

Current
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
fib 32 function Baseline
Mean: 217.2 ms
Stdev: 6.1 ms (2.8%)
Runs: 227.6 227.4 219.9 215.5 215.5 215.3 215.3 215.2 211.1 209.2

Current
Mean: 100.7 ms
Stdev: 0.3 ms (0.3%)
Runs: 100.9 100.9 100.5 100.5 100.7 100.6 100.6 100.6 100.5 101.5
Baseline
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1

Current
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1

Meaningless Changes To Duration

There are no entries

Changes To Count

There are no entries

Added Scenarios

There are no entries

Removed Scenarios

There are no entries

Generated by 🚫 dangerJS against f90ee3c

* chore: yarn berry (wip)

chore: forward reassure cli in the main package

chore: remove --force

chore: fix ci

chore: fix ci

chore: fix typecheck

chore: fix danger

chore: fix danger

chore: fix ci

chore: fix danger

refactor: tweaks

* chore: workspace deps

* chore: add changeset
chore: update danger.js
* chore: upgrade turbo

* chore: update React Native / test app

* chore: fix wasm error
* chore: update other deps

* chore: update peer deps

* chore: update deps
* chore: tweak workflow

* chore: update docs
* chore: export types

* chore: gen yarn.lock

* chore: tweaks docs

* refactor: rename types

* chore: add docs
* chore: clean scripts

* chore: tweak turbo
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