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

chore: export types #489

Merged
merged 5 commits into from
May 15, 2024
Merged

chore: export types #489

merged 5 commits into from
May 15, 2024

Conversation

mdjastrzebski
Copy link
Member

Summary

Make reassure package export more useful types like: PerformanceHeader, PerformanceEntry, CompareResult, etc

Test plan

Copy link

changeset-bot bot commented May 15, 2024

⚠️ No Changeset found

Latest commit: b5800a6

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 May 15, 2024

Performance Comparison Report

  • Current: HEAD (114bab0) - 2024-05-15 11:55:48Z
  • Baseline: v1 (77f91e4) - 2024-05-15 11:54:58Z

Significant Changes To Duration

There are no entries

Meaningless Changes To Duration

Show entries
Name Type Duration Count
Async Component render 107.8 ms → 104.5 ms (-3.3 ms, -3.1%) 7 → 7
fib 30 function 38.7 ms → 38.8 ms (+0.1 ms, ±0.0%) 1 → 1
fib 31 function 62.1 ms → 62.4 ms (+0.3 ms, ±0.0%) 1 → 1
fib 32 function 103.2 ms → 101.2 ms (-2.0 ms, -2.0%) 1 → 1
Other Component 10 render 64.4 ms → 67.1 ms (+2.7 ms, +4.2%) 4 → 4
Other Component 10 legacy scenario render 66.4 ms → 68.4 ms (+2.0 ms, +3.0%) 4 → 4
Other Component 20 render 67.7 ms → 67.0 ms (-0.7 ms, -1.0%) 4 → 4
Show details
Name Type Duration Count
Async Component render Baseline
Mean: 107.8 ms
Stdev: 6.0 ms (5.6%)
Runs: 103 101 116 111 109 100 109 118 105 106

Current
Mean: 104.5 ms
Stdev: 4.5 ms (4.3%)
Runs: 97 111 105 111 107 103 102 103 106 100
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: 38.7 ms
Stdev: 0.2 ms (0.6%)
Runs: 38.4 38.5 38.5 38.8 38.8 38.8 38.8 38.8 38.6 39.2

Current
Mean: 38.8 ms
Stdev: 0.7 ms (1.8%)
Runs: 38.9 38.9 39.0 38.8 40.7 38.4 38.4 38.4 38.4 38.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
fib 31 function Baseline
Mean: 62.1 ms
Stdev: 0.0 ms (0.1%)
Runs: 62.1 62.1 62.1 62.1 62.1 62.1 62.1 62.2 62.1 62.1

Current
Mean: 62.4 ms
Stdev: 0.0 ms (0.1%)
Runs: 62.3 62.4 62.3 62.4 62.3 62.3 62.4 62.3 62.4 62.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
fib 32 function Baseline
Mean: 103.2 ms
Stdev: 6.7 ms (6.5%)
Runs: 100.4 104.8 100.8 100.5 101.8 122.0 100.4 100.5 100.5 100.4

Current
Mean: 101.2 ms
Stdev: 0.2 ms (0.2%)
Runs: 101.3 101.0 101.0 101.1 101.5 101.5 101.0 101.1 101.0 101.2
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: 64.4 ms
Stdev: 4.8 ms (7.5%)
Runs: 67 68 67 61 67 58 66 65 55 70

Current
Mean: 67.1 ms
Stdev: 4.6 ms (6.9%)
Runs: 68 64 76 65 66 64 62 73 70 63
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: 66.4 ms
Stdev: 4.2 ms (6.3%)
Runs: 60 72 64 67 67 74 68 65 63 64

Current
Mean: 68.4 ms
Stdev: 3.3 ms (4.8%)
Runs: 68 64 74 67 68 63 71 68 71 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 20 render Baseline
Mean: 67.7 ms
Stdev: 4.7 ms (6.9%)
Runs: 71 65 68 68 60 67 62 67 67 79 67 62 70 71 78 68 69 64 66 65

Current
Mean: 67.0 ms
Stdev: 3.5 ms (5.2%)
Runs: 67 66 71 64 62 64 66 66 72 76 65 70 67 62 71 65 67 67 68 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

Changes To Count

There are no entries

Added Scenarios

There are no entries

Removed Scenarios

There are no entries

Generated by 🚫 dangerJS against b5800a6

@mdjastrzebski mdjastrzebski merged commit c5e7edb into v1 May 15, 2024
2 checks passed
@mdjastrzebski mdjastrzebski deleted the chore/export-types branch May 15, 2024 12:11
mdjastrzebski added a commit that referenced this pull request Jun 16, 2024
* refactor: rename `meassurePerformance` to `measureRenders` (#433)

* chore: v1.0.0-beta

* docs: update changelogs

* docs: migration guide

* chore: update snapshots

* chore: update node ver on GH

* chore: v1.0.0-rc

* chore: v1.0.0-rc.1

* chore: reorganize repo deps (#477)

* refactor: migrate deps

* chore: dedup eslint

* chore: fix eslint deps

* chore: yarn berry (#478)

* 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: v1.0.0-rc.2

* chore: fix versions

* chore: fix version deps between packages

* chore: v1.0.0-rc.3

* fix: iso date milliseconds regex (#481)

* chore: check deps consistency (#482)

* chore: pdate deps 2024-05-09 (#484)

* chore: update deps

* chore: fix lint

* chore: update danger (#483)

chore: update danger.js

* chore: upgrade RN / test app (#485)

* chore: upgrade turbo

* chore: update React Native / test app

* chore: fix wasm error

* chore: updata other deps (#486)

* chore: update other deps

* chore: update peer deps

* chore: update deps

* feat: enable wasm by default (#488)

* chore: tweak workflow (#490)

* chore: tweak workflow

* chore: update docs

* chore: export types (#489)

* chore: export types

* chore: gen yarn.lock

* chore: tweaks docs

* refactor: rename types

* chore: add docs

* chore: clean scripts (#491)

* chore: clean scripts

* chore: tweak turbo

* chore: add missing changeset

* chore: v1.0.0-beta.4

* chore: regenerate yarn.lock

* feat: detect unnecessary render and warn user (#468)

* feat: detect unnecessary render and warn user

feat: capture json representations in an array to compare after for unnecessary rendering

fix: get current testingLibrary for comparasion only react-native for now

fix: save json representation instead of string for rendered component state and compare changes between states using dfs

fix: test name

fix: update comparasion function and save compare results into output.json and show comparation results in the end of the test

fix: update interface and variable names based on pr recommendatations

chore: rebase to v1

* refactor: improve output formatting

* refactor: fix typo

* refactor: remove unnecessary warning

* refactor: improve testing

* refactor: improve report criteria

* refactor: improve naming

* refactor: improve code structure & tests

* refactor: tweaks

* feat: improve markdown output

* refactor: custom tree comparer

* refactor: clean up code

* refactor: update JSON structure

* refactor: use "initial update count" naming

* chore: fix lint

* chore: improve tests

* refactor: tweaks

* docs: update

* refactor: self code review

* docs: tweaks

* chore: add changeset

* refactor: final tweaks

---------

Co-authored-by: Guven Karanfil <[email protected]>
Co-authored-by: Maciej Jastrzebski <[email protected]>

* chore: v1.0.0-rc.5

* chore: fix yarn.lock

* chore: fix reassure-tests.sh

---------

Co-authored-by: Güven Karanfil <[email protected]>
Co-authored-by: Guven Karanfil <[email protected]>
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