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

perf(core): test perf of less arguments #4367

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

Conversation

JoviDeCroock
Copy link
Member

No description provided.

Copy link

github-actions bot commented Apr 30, 2024

📊 Tachometer Benchmark Results

Summary

duration

  • create10k: unsure 🔍 -1% - +1% (-8.92ms - +7.29ms)
    preact-local vs preact-main
  • filter-list: unsure 🔍 -1% - +1% (-0.11ms - +0.15ms)
    preact-local vs preact-main
  • hydrate1k: unsure 🔍 -4% - +2% (-2.81ms - +1.33ms)
    preact-local vs preact-main
  • many-updates: unsure 🔍 -2% - +2% (-0.40ms - +0.27ms)
    preact-local vs preact-main
  • replace1k: unsure 🔍 -2% - +0% (-1.62ms - +0.25ms)
    preact-local vs preact-main
  • text-update: unsure 🔍 -2% - +3% (-0.04ms - +0.06ms)
    preact-local vs preact-main
  • todo: unsure 🔍 -2% - +1% (-0.53ms - +0.25ms)
    preact-local vs preact-main
  • update10th1k: unsure 🔍 -1% - +4% (-0.22ms - +1.33ms)
    preact-local vs preact-main

usedJSHeapSize

  • create10k: unsure 🔍 -0% - +0% (-0.01ms - +0.00ms)
    preact-local vs preact-main
  • filter-list: unsure 🔍 -0% - +0% (-0.00ms - +0.00ms)
    preact-local vs preact-main
  • hydrate1k: unsure 🔍 -2% - +4% (-0.30ms - +0.51ms)
    preact-local vs preact-main
  • many-updates: unsure 🔍 +0% - +0% (+0.00ms - +0.01ms)
    preact-local vs preact-main
  • replace1k: unsure 🔍 -0% - +1% (-0.01ms - +0.02ms)
    preact-local vs preact-main
  • text-update: unsure 🔍 -1% - +6% (-0.02ms - +0.07ms)
    preact-local vs preact-main
  • todo: unsure 🔍 +0% - +0% (+0.00ms - +0.00ms)
    preact-local vs preact-main
  • update10th1k: unsure 🔍 +0% - +0% (+0.00ms - +0.00ms)
    preact-local vs preact-main

Results

create10k

duration

VersionAvg timevs preact-localvs preact-main
preact-local895.05ms - 904.80ms-unsure 🔍
-1% - +1%
-8.92ms - +7.29ms
preact-main894.26ms - 907.22msunsure 🔍
-1% - +1%
-7.29ms - +8.92ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local26.75ms - 26.75ms-unsure 🔍
-0% - +0%
-0.01ms - +0.00ms
preact-main26.75ms - 26.76msunsure 🔍
-0% - +0%
-0.00ms - +0.01ms
-
filter-list

duration

VersionAvg timevs preact-localvs preact-main
preact-local16.66ms - 16.81ms-unsure 🔍
-1% - +1%
-0.11ms - +0.15ms
preact-main16.60ms - 16.82msunsure 🔍
-1% - +1%
-0.15ms - +0.11ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local1.75ms - 1.75ms-unsure 🔍
-0% - +0%
-0.00ms - +0.00ms
preact-main1.75ms - 1.75msunsure 🔍
-0% - +0%
-0.00ms - +0.00ms
-
hydrate1k

duration

VersionAvg timevs preact-localvs preact-main
preact-local73.65ms - 75.51ms-unsure 🔍
-4% - +2%
-2.81ms - +1.33ms
preact-main73.48ms - 77.17msunsure 🔍
-2% - +4%
-1.33ms - +2.81ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local14.18ms - 14.74ms-unsure 🔍
-2% - +4%
-0.30ms - +0.51ms
preact-main14.07ms - 14.65msunsure 🔍
-3% - +2%
-0.51ms - +0.30ms
-
many-updates

duration

VersionAvg timevs preact-localvs preact-main
preact-local16.90ms - 17.41ms-unsure 🔍
-2% - +2%
-0.40ms - +0.27ms
preact-main17.00ms - 17.44msunsure 🔍
-2% - +2%
-0.27ms - +0.40ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local4.86ms - 4.87ms-unsure 🔍
+0% - +0%
+0.00ms - +0.01ms
preact-main4.86ms - 4.86msunsure 🔍
-0% - -0%
-0.01ms - -0.00ms
-
replace1k

duration

VersionAvg timevs preact-localvs preact-main
preact-local68.77ms - 69.93ms-unsure 🔍
-2% - +0%
-1.62ms - +0.25ms
preact-main69.30ms - 70.77msunsure 🔍
-0% - +2%
-0.25ms - +1.62ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local3.64ms - 3.67ms-unsure 🔍
-0% - +1%
-0.01ms - +0.02ms
preact-main3.64ms - 3.66msunsure 🔍
-1% - +0%
-0.02ms - +0.01ms
-

run-warmup-0

VersionAvg timevs preact-localvs preact-main
preact-local28.84ms - 29.59ms-unsure 🔍
-2% - +2%
-0.58ms - +0.59ms
preact-main28.77ms - 29.65msunsure 🔍
-2% - +2%
-0.59ms - +0.58ms
-

run-warmup-1

VersionAvg timevs preact-localvs preact-main
preact-local35.20ms - 37.05ms-unsure 🔍
-4% - +3%
-1.62ms - +1.01ms
preact-main35.49ms - 37.37msunsure 🔍
-3% - +5%
-1.01ms - +1.62ms
-

run-warmup-2

VersionAvg timevs preact-localvs preact-main
preact-local25.59ms - 26.47ms-unsure 🔍
-1% - +3%
-0.35ms - +0.71ms
preact-main25.56ms - 26.14msunsure 🔍
-3% - +1%
-0.71ms - +0.35ms
-

run-warmup-3

VersionAvg timevs preact-localvs preact-main
preact-local23.93ms - 24.81ms-unsure 🔍
-3% - +2%
-0.79ms - +0.50ms
preact-main24.04ms - 24.99msunsure 🔍
-2% - +3%
-0.50ms - +0.79ms
-

run-warmup-4

VersionAvg timevs preact-localvs preact-main
preact-local31.05ms - 32.81ms-slower ❌
1% - 9%
0.19ms - 2.60ms
preact-main29.71ms - 31.36msfaster ✔
1% - 8%
0.19ms - 2.60ms
-

run-final

VersionAvg timevs preact-localvs preact-main
preact-local23.82ms - 24.79ms-unsure 🔍
-3% - +3%
-0.76ms - +0.62ms
preact-main23.88ms - 24.87msunsure 🔍
-3% - +3%
-0.62ms - +0.76ms
-
text-update

duration

VersionAvg timevs preact-localvs preact-main
preact-local1.74ms - 1.80ms-unsure 🔍
-2% - +3%
-0.04ms - +0.06ms
preact-main1.73ms - 1.80msunsure 🔍
-3% - +2%
-0.06ms - +0.04ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local1.27ms - 1.34ms-unsure 🔍
-1% - +6%
-0.02ms - +0.07ms
preact-main1.25ms - 1.31msunsure 🔍
-6% - +1%
-0.07ms - +0.02ms
-
todo

duration

VersionAvg timevs preact-localvs preact-main
preact-local27.78ms - 28.17ms-unsure 🔍
-2% - +1%
-0.53ms - +0.25ms
preact-main27.77ms - 28.46msunsure 🔍
-1% - +2%
-0.25ms - +0.53ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local1.25ms - 1.25ms-unsure 🔍
+0% - +0%
+0.00ms - +0.00ms
preact-main1.25ms - 1.25msunsure 🔍
-0% - -0%
-0.00ms - -0.00ms
-
update10th1k

duration

VersionAvg timevs preact-localvs preact-main
preact-local33.09ms - 34.24ms-unsure 🔍
-1% - +4%
-0.22ms - +1.33ms
preact-main32.59ms - 33.63msunsure 🔍
-4% - +1%
-1.33ms - +0.22ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local3.70ms - 3.70ms-unsure 🔍
+0% - +0%
+0.00ms - +0.00ms
preact-main3.70ms - 3.70msunsure 🔍
-0% - -0%
-0.00ms - -0.00ms
-

tachometer-reporter-action v2 for Benchmarks

Copy link

github-actions bot commented Apr 30, 2024

Size Change: +5 B (0%)

Total Size: 61.2 kB

Filename Size Change
dist/preact.js 4.64 kB +3 B (0%)
dist/preact.min.js 4.66 kB -2 B (0%)
dist/preact.min.module.js 4.66 kB +1 B (0%)
dist/preact.min.umd.js 4.69 kB -3 B (0%)
dist/preact.module.js 4.66 kB +4 B (0%)
dist/preact.umd.js 4.71 kB +2 B (0%)
ℹ️ View Unchanged
Filename Size
compat/dist/compat.js 4.09 kB
compat/dist/compat.module.js 4.01 kB
compat/dist/compat.umd.js 4.14 kB
debug/dist/debug.js 3.63 kB
debug/dist/debug.module.js 3.62 kB
debug/dist/debug.umd.js 3.71 kB
devtools/dist/devtools.js 231 B
devtools/dist/devtools.module.js 240 B
devtools/dist/devtools.umd.js 314 B
hooks/dist/hooks.js 1.55 kB
hooks/dist/hooks.module.js 1.59 kB
hooks/dist/hooks.umd.js 1.63 kB
jsx-runtime/dist/jsxRuntime.js 976 B
jsx-runtime/dist/jsxRuntime.module.js 949 B
jsx-runtime/dist/jsxRuntime.umd.js 1.06 kB
test-utils/dist/testUtils.js 453 B
test-utils/dist/testUtils.module.js 454 B
test-utils/dist/testUtils.umd.js 536 B

compressed-size-action

@coveralls
Copy link

coveralls commented Apr 30, 2024

Coverage Status

coverage: 99.609%. remained the same
when pulling db405cc on test-perf-of-less-args
into 4ab4b99 on main.

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

2 participants