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

feat: pre-v1 updates backport #459

Merged
merged 9 commits into from
Feb 21, 2024
Merged

feat: pre-v1 updates backport #459

merged 9 commits into from
Feb 21, 2024

Conversation

mdjastrzebski
Copy link
Member

Summary

Test plan

Copy link

changeset-bot bot commented Feb 21, 2024

🦋 Changeset detected

Latest commit: 47dcf28

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

This PR includes changesets to release 6 packages
Name Type
@callstack/reassure-measure Minor
reassure Minor
test-app-native Minor
@callstack/reassure-logger Minor
@callstack/reassure-compare Patch
@callstack/reassure-cli 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

* refactor: rename measurePerformance to measureRenders

* refactor: expose legacy `measurePerformance` alias

* chore: file naming

* chore: add changeset

* refactor: add `writeFile` option

* refactor: warn once

* docs: tweaks

* refactor: rename MeasureRendersOptions

* refactor: rename resetToDefaults
* chore: yarn upgrade

* refactor: cleanup logger exports

* chore: add change sets
* chore: update some deps

* chore: upgrade babel

* chore upgrade types

* chore: upgrade line

* chore: upgrade react-native

* fix: fix logger outputing undefined in report

* chore: upgrade danger and turborepo
* chore: upgrade eslint config

* refactor: fix issues

* chore: update test-app

* chore: fix ts

* chore: update snapshots

* chore: ignore `lib` in test

* chore: fix tests

* chore: fix ci dangerfile
# Conflicts:
#	packages/measure/CHANGELOG.md
#	packages/reassure/CHANGELOG.md
#	test-apps/native/CHANGELOG.md
Copy link
Contributor

github-actions bot commented Feb 21, 2024

Performance Comparison Report

  • Current: 7f5a27a - 2024-02-21 12:24:09Z
  • Baseline: main (b88261f) - 2024-02-21 12:23:16Z

Significant Changes To Duration

Name Type Duration Count
fib 32 function 250.5 ms → 246.0 ms (-4.5 ms, -1.8%) 1 → 1
fib 31 function 161.6 ms → 153.5 ms (-8.1 ms, -5.0%) 🟢 1 → 1
Show details
Name Type Duration Count
fib 32 function Baseline
Mean: 250.5 ms
Stdev: 1.6 ms (0.6%)
Runs: 253.7 250.9 250.7 250.7 250.7 250.6 250.5 250.4 250.3 246.9

Current
Mean: 246.0 ms
Stdev: 2.4 ms (1.0%)
Runs: 248.6 248.3 247.3 247.3 247.1 247.0 246.6 243.4 242.9 241.7
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 31 function Baseline
Mean: 161.6 ms
Stdev: 3.1 ms (1.9%)
Runs: 167.2 166.8 163.3 160.5 160.2 160.1 160.0 160.0 159.2 159.0

Current
Mean: 153.5 ms
Stdev: 1.1 ms (0.7%)
Runs: 156.4 153.5 153.4 153.4 153.3 153.1 153.1 152.9 152.8 152.8
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

Show entries
Name Type Duration Count
Async Component render 195.9 ms → 195.9 ms 7 → 7
fib 30 function 89.5 ms → 85.7 ms (-3.9 ms, -4.3%) 1 → 1
Other Component 10 render 120.5 ms → 117.3 ms (-3.2 ms, -2.7%) 4 → 4
Other Component 10 legacy scenario render 121.3 ms → 119.0 ms (-2.3 ms, -1.9%) 4 → 4
Other Component 20 render 121.4 ms → 118.5 ms (-2.9 ms, -2.3%) 4 → 4
Show details
Name Type Duration Count
Async Component render Baseline
Mean: 195.9 ms
Stdev: 8.9 ms (4.5%)
Runs: 211 205 199 198 198 197 194 192 183 182

Current
Mean: 195.9 ms
Stdev: 8.2 ms (4.2%)
Runs: 206 202 201 201 201 199 193 190 183 183
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 30 function Baseline
Mean: 89.5 ms
Stdev: 1.1 ms (1.3%)
Runs: 92.7 89.5 89.4 89.3 89.2 89.1 89.1 89.0 89.0 89.0

Current
Mean: 85.7 ms
Stdev: 2.1 ms (2.5%)
Runs: 91.6 85.3 85.3 85.3 85.2 85.0 84.9 84.7 84.7 84.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
Other Component 10 render Baseline
Mean: 120.5 ms
Stdev: 4.4 ms (3.7%)
Runs: 127 127 123 121 121 120 119 117 117 113

Current
Mean: 117.3 ms
Stdev: 3.8 ms (3.3%)
Runs: 124 122 119 118 118 118 115 113 113 113
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 legacy scenario render Baseline
Mean: 121.3 ms
Stdev: 4.3 ms (3.5%)
Runs: 131 123 123 121 121 121 121 120 118 114

Current
Mean: 119.0 ms
Stdev: 4.9 ms (4.2%)
Runs: 126 123 122 121 121 121 119 113 112 112
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 20 render Baseline
Mean: 121.4 ms
Stdev: 4.5 ms (3.7%)
Runs: 133 127 125 124 124 124 123 122 122 121 121 121 120 120 120 120 119 115 114 113

Current
Mean: 118.5 ms
Stdev: 4.9 ms (4.1%)
Runs: 128 126 124 124 123 121 120 119 119 119 119 118 117 116 115 114 114 113 113 109
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

Changes To Count

There are no entries

Added Scenarios

There are no entries

Removed Scenarios

There are no entries

Generated by 🚫 dangerJS against 47dcf28

@mdjastrzebski mdjastrzebski merged commit b455bd4 into main Feb 21, 2024
2 checks passed
@mdjastrzebski mdjastrzebski deleted the feat/v1-updates-backport branch February 21, 2024 12:27
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