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

Test some performance stuff #4522

Closed
wants to merge 2 commits into from
Closed

Test some performance stuff #4522

wants to merge 2 commits into from

Conversation

JoviDeCroock
Copy link
Member

No description provided.

Copy link

github-actions bot commented Oct 2, 2024

📊 Tachometer Benchmark Results

Summary

duration

  • create10k: unsure 🔍 -1% - +1% (-9.43ms - +6.48ms)
    preact-local vs preact-main
  • filter-list: unsure 🔍 -1% - +3% (-0.18ms - +0.46ms)
    preact-local vs preact-main
  • hydrate1k: unsure 🔍 -2% - +1% (-1.31ms - +1.18ms)
    preact-local vs preact-main
  • many-updates: unsure 🔍 -3% - +2% (-0.49ms - +0.26ms)
    preact-local vs preact-main
  • replace1k: unsure 🔍 -0% - +3% (-0.08ms - +2.22ms)
    preact-local vs preact-main
  • text-update: unsure 🔍 -2% - +5% (-0.05ms - +0.09ms)
    preact-local vs preact-main
  • todo: unsure 🔍 -2% - +2% (-0.70ms - +0.75ms)
    preact-local vs preact-main
  • update10th1k: unsure 🔍 -2% - +3% (-0.69ms - +1.15ms)
    preact-local vs preact-main

usedJSHeapSize

  • create10k: unsure 🔍 +0% - +0% (+0.00ms - +0.04ms)
    preact-local vs preact-main
  • filter-list: unsure 🔍 -1% - +1% (-0.02ms - +0.02ms)
    preact-local vs preact-main
  • hydrate1k: unsure 🔍 -1% - +0% (-0.23ms - +0.04ms)
    preact-local vs preact-main
  • many-updates: unsure 🔍 -0% - +1% (-0.01ms - +0.02ms)
    preact-local vs preact-main
  • replace1k: unsure 🔍 -1% - +0% (-0.02ms - +0.01ms)
    preact-local vs preact-main
  • text-update: unsure 🔍 +0% - +0% (+0.00ms - +0.00ms)
    preact-local vs preact-main
  • todo: unsure 🔍 -1% - +1% (-0.01ms - +0.01ms)
    preact-local vs preact-main
  • update10th1k: unsure 🔍 -0% - +1% (-0.01ms - +0.03ms)
    preact-local vs preact-main

Results

create10k

duration

VersionAvg timevs preact-localvs preact-main
preact-local987.00ms - 998.31ms-unsure 🔍
-1% - +1%
-9.43ms - +6.48ms
preact-main988.53ms - 999.73msunsure 🔍
-1% - +1%
-6.48ms - +9.43ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local25.37ms - 25.41ms-unsure 🔍
+0% - +0%
+0.00ms - +0.04ms
preact-main25.36ms - 25.38msunsure 🔍
-0% - -0%
-0.04ms - -0.00ms
-
filter-list

duration

VersionAvg timevs preact-localvs preact-main
preact-local16.38ms - 17.02ms-unsure 🔍
-1% - +3%
-0.18ms - +0.46ms
preact-main16.52ms - 16.61msunsure 🔍
-3% - +1%
-0.46ms - +0.18ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local1.67ms - 1.69ms-unsure 🔍
-1% - +1%
-0.02ms - +0.02ms
preact-main1.67ms - 1.69msunsure 🔍
-1% - +1%
-0.02ms - +0.02ms
-
hydrate1k

duration

VersionAvg timevs preact-localvs preact-main
preact-local80.54ms - 82.35ms-unsure 🔍
-2% - +1%
-1.31ms - +1.18ms
preact-main80.66ms - 82.36msunsure 🔍
-1% - +2%
-1.18ms - +1.31ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local15.59ms - 15.78ms-unsure 🔍
-1% - +0%
-0.23ms - +0.04ms
preact-main15.68ms - 15.87msunsure 🔍
-0% - +1%
-0.04ms - +0.23ms
-
many-updates

duration

VersionAvg timevs preact-localvs preact-main
preact-local16.74ms - 17.22ms-unsure 🔍
-3% - +2%
-0.49ms - +0.26ms
preact-main16.81ms - 17.38msunsure 🔍
-2% - +3%
-0.26ms - +0.49ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local4.59ms - 4.61ms-unsure 🔍
-0% - +1%
-0.01ms - +0.02ms
preact-main4.58ms - 4.60msunsure 🔍
-1% - +0%
-0.02ms - +0.01ms
-
replace1k

duration

VersionAvg timevs preact-localvs preact-main
preact-local77.44ms - 79.28ms-unsure 🔍
-0% - +3%
-0.08ms - +2.22ms
preact-main76.60ms - 77.97msunsure 🔍
-3% - +0%
-2.22ms - +0.08ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local3.59ms - 3.60ms-unsure 🔍
-1% - +0%
-0.02ms - +0.01ms
preact-main3.59ms - 3.62msunsure 🔍
-0% - +1%
-0.01ms - +0.02ms
-

run-warmup-0

VersionAvg timevs preact-localvs preact-main
preact-local32.37ms - 32.92ms-slower ❌
1% - 3%
0.16ms - 0.93ms
preact-main31.83ms - 32.37msfaster ✔
1% - 3%
0.16ms - 0.93ms
-

run-warmup-1

VersionAvg timevs preact-localvs preact-main
preact-local37.74ms - 39.48ms-unsure 🔍
-2% - +4%
-0.84ms - +1.53ms
preact-main37.46ms - 39.07msunsure 🔍
-4% - +2%
-1.53ms - +0.84ms
-

run-warmup-2

VersionAvg timevs preact-localvs preact-main
preact-local27.54ms - 27.98ms-unsure 🔍
-2% - +0%
-0.57ms - +0.02ms
preact-main27.84ms - 28.24msunsure 🔍
-0% - +2%
-0.02ms - +0.57ms
-

run-warmup-3

VersionAvg timevs preact-localvs preact-main
preact-local28.08ms - 29.19ms-unsure 🔍
-2% - +3%
-0.69ms - +0.81ms
preact-main28.08ms - 29.08msunsure 🔍
-3% - +2%
-0.81ms - +0.69ms
-

run-warmup-4

VersionAvg timevs preact-localvs preact-main
preact-local21.75ms - 22.36ms-unsure 🔍
-2% - +2%
-0.48ms - +0.35ms
preact-main21.84ms - 22.40msunsure 🔍
-2% - +2%
-0.35ms - +0.48ms
-

run-final

VersionAvg timevs preact-localvs preact-main
preact-local23.03ms - 23.49ms-unsure 🔍
-2% - +0%
-0.55ms - +0.01ms
preact-main23.38ms - 23.68msunsure 🔍
-0% - +2%
-0.01ms - +0.55ms
-
text-update

duration

VersionAvg timevs preact-localvs preact-main
preact-local1.95ms - 2.04ms-unsure 🔍
-2% - +5%
-0.05ms - +0.09ms
preact-main1.92ms - 2.02msunsure 🔍
-4% - +2%
-0.09ms - +0.05ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local1.12ms - 1.12ms-unsure 🔍
+0% - +0%
+0.00ms - +0.00ms
preact-main1.12ms - 1.12msunsure 🔍
-0% - -0%
-0.00ms - -0.00ms
-
todo

duration

VersionAvg timevs preact-localvs preact-main
preact-local34.08ms - 35.40ms-unsure 🔍
-2% - +2%
-0.70ms - +0.75ms
preact-main34.41ms - 35.01msunsure 🔍
-2% - +2%
-0.75ms - +0.70ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local1.22ms - 1.24ms-unsure 🔍
-1% - +1%
-0.01ms - +0.01ms
preact-main1.23ms - 1.24msunsure 🔍
-1% - +1%
-0.01ms - +0.01ms
-
update10th1k

duration

VersionAvg timevs preact-localvs preact-main
preact-local34.28ms - 35.50ms-unsure 🔍
-2% - +3%
-0.69ms - +1.15ms
preact-main33.97ms - 35.34msunsure 🔍
-3% - +2%
-1.15ms - +0.69ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local3.54ms - 3.57ms-unsure 🔍
-0% - +1%
-0.01ms - +0.03ms
preact-main3.54ms - 3.56msunsure 🔍
-1% - +0%
-0.03ms - +0.01ms
-

tachometer-reporter-action v2 for Benchmarks

Copy link

github-actions bot commented Oct 2, 2024

Size Change: +140 B (+0.23%)

Total Size: 62.2 kB

Filename Size Change
dist/preact.js 4.69 kB +32 B (+0.69%)
dist/preact.min.js 4.71 kB +19 B (+0.41%)
dist/preact.min.module.js 4.71 kB +25 B (+0.53%)
dist/preact.min.umd.js 4.73 kB +18 B (+0.38%)
dist/preact.module.js 4.71 kB +35 B (+0.75%)
dist/preact.umd.js 4.74 kB +11 B (+0.23%)
ℹ️ View Unchanged
Filename Size
compat/dist/compat.js 4.13 kB
compat/dist/compat.module.js 4.05 kB
compat/dist/compat.umd.js 4.19 kB
debug/dist/debug.js 3.82 kB
debug/dist/debug.module.js 3.83 kB
debug/dist/debug.umd.js 3.9 kB
devtools/dist/devtools.js 260 B
devtools/dist/devtools.module.js 274 B
devtools/dist/devtools.umd.js 346 B
hooks/dist/hooks.js 1.53 kB
hooks/dist/hooks.module.js 1.56 kB
hooks/dist/hooks.umd.js 1.6 kB
jsx-runtime/dist/jsxRuntime.js 976 B
jsx-runtime/dist/jsxRuntime.module.js 949 B
jsx-runtime/dist/jsxRuntime.umd.js 1.05 kB
test-utils/dist/testUtils.js 451 B
test-utils/dist/testUtils.module.js 456 B
test-utils/dist/testUtils.umd.js 536 B

compressed-size-action

@coveralls
Copy link

coveralls commented Oct 2, 2024

Coverage Status

coverage: 99.488%. remained the same
when pulling 41eee18 on perf-tests
into 58ea2b5 on main.

@JoviDeCroock JoviDeCroock force-pushed the perf-tests branch 3 times, most recently from d8f0e21 to 41eee18 Compare October 3, 2024 15:12
@JoviDeCroock JoviDeCroock deleted the perf-tests branch October 3, 2024 15:18
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.

2 participants