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(deps): upgrade vitest to v2.1.8 #8018

Merged
merged 1 commit into from
Dec 14, 2024
Merged

chore(deps): upgrade vitest to v2.1.8 #8018

merged 1 commit into from
Dec 14, 2024

Conversation

rexxars
Copy link
Member

@rexxars rexxars commented Dec 12, 2024

Description

Gets rid of some peer dependency warnings.

What to review

Tests still run as before.

Testing

No changes needed.

Notes for release

None.

@rexxars rexxars marked this pull request as ready for review December 12, 2024 00:33
Copy link

vercel bot commented Dec 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
page-building-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2024 0:48am
performance-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2024 0:48am
test-next-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2024 0:48am
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2024 0:48am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Dec 12, 2024 0:48am

@rexxars rexxars requested review from a team as code owners December 12, 2024 00:33
@rexxars rexxars requested review from cngonzalez and removed request for a team December 12, 2024 00:33
Copy link

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] Transitive: environment, filesystem, shell, unsafe +59 9.22 MB antfu, oreanno, patak, ...1 more

View full report↗︎

Copy link
Contributor

No changes to documentation

Copy link
Contributor

Component Testing Report Updated Dec 12, 2024 12:43 AM (UTC)

✅ All Tests Passed -- expand for details
File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 1m 17s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 15s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ✅ Passed (Inspect) 43s 6 0 0
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 1m 0s 11 7 0
formBuilder/inputs/PortableText/copyPaste/CopyPasteFields.spec.tsx ✅ Passed (Inspect) 0s 0 12 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 32s 6 0 0
formBuilder/inputs/PortableText/DisableFocusAndUnset.spec.tsx ✅ Passed (Inspect) 17s 3 0 0
formBuilder/inputs/PortableText/DragAndDrop.spec.tsx ✅ Passed (Inspect) 2m 11s 2 0 0
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ✅ Passed (Inspect) 1m 19s 15 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 2m 50s 21 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 1m 55s 18 0 0
formBuilder/inputs/PortableText/PresenceCursors.spec.tsx ✅ Passed (Inspect) 16s 3 9 0
formBuilder/inputs/PortableText/RangeDecoration.spec.tsx ✅ Passed (Inspect) 44s 9 0 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 31s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 1m 1s 12 0 0
formBuilder/tree-editing/TreeEditing.spec.tsx ✅ Passed (Inspect) 0s 0 3 0
formBuilder/tree-editing/TreeEditingNestedObjects.spec.tsx ✅ Passed (Inspect) 0s 0 3 0

Copy link
Contributor

⚡️ Editor Performance Report

Updated Thu, 12 Dec 2024 00:45:00 GMT

Benchmark reference
latency of sanity@latest
experiment
latency of this branch
Δ (%)
latency difference
article (title) 24.4 efps (41ms) 25.3 efps (40ms) -2ms (-3.7%)
article (body) 67.6 efps (15ms) 71.9 efps (14ms) -1ms (-/-%)
article (string inside object) 25.6 efps (39ms) 27.8 efps (36ms) -3ms (-7.7%)
article (string inside array) 23.3 efps (43ms) 25.0 efps (40ms) -3ms (-7.0%)
recipe (name) 52.6 efps (19ms) 52.6 efps (19ms) +0ms (-/-%)
recipe (description) 58.8 efps (17ms) 60.6 efps (17ms) -1ms (-2.9%)
recipe (instructions) 99.9+ efps (5ms) 99.9+ efps (5ms) +0ms (-/-%)
synthetic (title) 19.6 efps (51ms) 20.0 efps (50ms) -1ms (-2.0%)
synthetic (string inside object) 20.0 efps (50ms) 20.0 efps (50ms) +0ms (-/-%)

efps — editor "frames per second". The number of updates assumed to be possible within a second.

Derived from input latency. efps = 1000 / input_latency

Detailed information

🏠 Reference result

The performance result of sanity@latest

Benchmark latency p75 p90 p99 blocking time test duration
article (title) 41ms 47ms 61ms 83ms 169ms 10.5s
article (body) 15ms 17ms 28ms 134ms 218ms 5.0s
article (string inside object) 39ms 44ms 51ms 211ms 246ms 6.8s
article (string inside array) 43ms 46ms 49ms 150ms 286ms 7.1s
recipe (name) 19ms 21ms 26ms 41ms 0ms 6.9s
recipe (description) 17ms 18ms 20ms 37ms 0ms 4.4s
recipe (instructions) 5ms 7ms 8ms 9ms 0ms 3.1s
synthetic (title) 51ms 54ms 79ms 271ms 570ms 13.2s
synthetic (string inside object) 50ms 55ms 71ms 616ms 539ms 8.9s

🧪 Experiment result

The performance result of this branch

Benchmark latency p75 p90 p99 blocking time test duration
article (title) 40ms 43ms 52ms 170ms 197ms 11.9s
article (body) 14ms 18ms 27ms 93ms 196ms 5.4s
article (string inside object) 36ms 38ms 39ms 113ms 233ms 6.9s
article (string inside array) 40ms 42ms 50ms 156ms 125ms 6.8s
recipe (name) 19ms 21ms 26ms 40ms 0ms 6.7s
recipe (description) 17ms 18ms 19ms 31ms 0ms 4.4s
recipe (instructions) 5ms 7ms 8ms 9ms 0ms 3.3s
synthetic (title) 50ms 53ms 58ms 316ms 542ms 13.4s
synthetic (string inside object) 50ms 56ms 85ms 457ms 785ms 8.3s

📚 Glossary

column definitions

  • benchmark — the name of the test, e.g. "article", followed by the label of the field being measured, e.g. "(title)".
  • latency — the time between when a key was pressed and when it was rendered. derived from a set of samples. the median (p50) is shown to show the most common latency.
  • p75 — the 75th percentile of the input latency in the test run. 75% of the sampled inputs in this benchmark were processed faster than this value. this provides insight into the upper range of typical performance.
  • p90 — the 90th percentile of the input latency in the test run. 90% of the sampled inputs were faster than this. this metric helps identify slower interactions that occurred less frequently during the benchmark.
  • p99 — the 99th percentile of the input latency in the test run. only 1% of sampled inputs were slower than this. this represents the worst-case scenarios encountered during the benchmark, useful for identifying potential performance outliers.
  • blocking time — the total time during which the main thread was blocked, preventing user input and UI updates. this metric helps identify performance bottlenecks that may cause the interface to feel unresponsive.
  • test duration — how long the test run took to complete.

@rexxars rexxars added this pull request to the merge queue Dec 14, 2024
Merged via the queue into next with commit 27b0e84 Dec 14, 2024
58 checks passed
@rexxars rexxars deleted the chore/upgrade-vitest branch December 14, 2024 00:39
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.

3 participants