Skip to content

Conversation

@rschristian
Copy link
Member

@rschristian rschristian commented Feb 25, 2025

Mistake & moves this out of the Vitest PR so that can stop running the benchmarks on every push (which I imagine is getting annoying)

@github-actions
Copy link

github-actions bot commented Feb 25, 2025

📊 Tachometer Benchmark Results

Summary

duration

  • create10k: unsure 🔍 -1% - +0% (-7.63ms - +2.33ms)
    preact-local vs preact-main
  • filter-list: unsure 🔍 -0% - +0% (-0.03ms - +0.04ms)
    preact-local vs preact-main
  • hydrate1k: unsure 🔍 -0% - +1% (-0.35ms - +0.87ms)
    preact-local vs preact-main
  • many-updates: unsure 🔍 -2% - +0% (-0.34ms - +0.05ms)
    preact-local vs preact-main
  • replace1k: unsure 🔍 -1% - +1% (-0.60ms - +0.50ms)
    preact-local vs preact-main
  • text-update: unsure 🔍 -4% - +2% (-0.09ms - +0.05ms)
    preact-local vs preact-main
  • todo: unsure 🔍 -0% - +1% (-0.15ms - +0.48ms)
    preact-local vs preact-main
  • update10th1k: unsure 🔍 -4% - +4% (-1.32ms - +1.23ms)
    preact-local vs preact-main

usedJSHeapSize

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

Results

create10k

duration

VersionAvg timevs preact-localvs preact-main
preact-local926.87ms - 933.91ms-unsure 🔍
-1% - +0%
-7.63ms - +2.33ms
preact-main929.53ms - 936.55msunsure 🔍
-0% - +1%
-2.33ms - +7.63ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local19.18ms - 19.19ms-unsure 🔍
-0% - +0%
-0.02ms - +0.01ms
preact-main19.18ms - 19.20msunsure 🔍
-0% - +0%
-0.01ms - +0.02ms
-
filter-list

duration

VersionAvg timevs preact-localvs preact-main
preact-local16.57ms - 16.61ms-unsure 🔍
-0% - +0%
-0.03ms - +0.04ms
preact-main16.56ms - 16.61msunsure 🔍
-0% - +0%
-0.04ms - +0.03ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local1.53ms - 1.56ms-unsure 🔍
-1% - +2%
-0.02ms - +0.02ms
preact-main1.53ms - 1.55msunsure 🔍
-2% - +1%
-0.02ms - +0.02ms
-
hydrate1k

duration

VersionAvg timevs preact-localvs preact-main
preact-local73.56ms - 74.40ms-unsure 🔍
-0% - +1%
-0.35ms - +0.87ms
preact-main73.27ms - 74.16msunsure 🔍
-1% - +0%
-0.87ms - +0.35ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local9.55ms - 10.10ms-unsure 🔍
-2% - +6%
-0.18ms - +0.57ms
preact-main9.37ms - 9.89msunsure 🔍
-6% - +2%
-0.57ms - +0.18ms
-
many-updates

duration

VersionAvg timevs preact-localvs preact-main
preact-local16.23ms - 16.62ms-unsure 🔍
-2% - +0%
-0.34ms - +0.05ms
preact-main16.54ms - 16.60msunsure 🔍
-0% - +2%
-0.05ms - +0.34ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local3.76ms - 3.79ms-unsure 🔍
-1% - +0%
-0.03ms - +0.01ms
preact-main3.77ms - 3.80msunsure 🔍
-0% - +1%
-0.01ms - +0.03ms
-
replace1k
  • Browser: chrome-headless
  • Sample size: 100
  • Built by: CI #4556
  • Commit: 4ce91c4

duration

VersionAvg timevs preact-localvs preact-main
preact-local63.71ms - 64.61ms-unsure 🔍
-1% - +1%
-0.60ms - +0.50ms
preact-main63.90ms - 64.52msunsure 🔍
-1% - +1%
-0.50ms - +0.60ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local2.98ms - 2.98ms-unsure 🔍
-0% - +0%
-0.01ms - +0.01ms
preact-main2.98ms - 2.99msunsure 🔍
-0% - +0%
-0.01ms - +0.01ms
-

run-warmup-0

VersionAvg timevs preact-localvs preact-main
preact-local29.31ms - 30.16ms-unsure 🔍
-0% - +3%
-0.12ms - +0.88ms
preact-main29.10ms - 29.62msunsure 🔍
-3% - +0%
-0.88ms - +0.12ms
-

run-warmup-1

VersionAvg timevs preact-localvs preact-main
preact-local34.13ms - 35.42ms-slower ❌
1% - 6%
0.36ms - 2.13ms
preact-main32.92ms - 34.14msfaster ✔
1% - 6%
0.36ms - 2.13ms
-

run-warmup-2

VersionAvg timevs preact-localvs preact-main
preact-local24.80ms - 25.06ms-unsure 🔍
-1% - +1%
-0.29ms - +0.19ms
preact-main24.79ms - 25.18msunsure 🔍
-1% - +1%
-0.19ms - +0.29ms
-

run-warmup-3

VersionAvg timevs preact-localvs preact-main
preact-local26.40ms - 27.01ms-unsure 🔍
-2% - +2%
-0.44ms - +0.42ms
preact-main26.41ms - 27.02msunsure 🔍
-2% - +2%
-0.42ms - +0.44ms
-

run-warmup-4

VersionAvg timevs preact-localvs preact-main
preact-local26.87ms - 27.35ms-unsure 🔍
-1% - +2%
-0.28ms - +0.53ms
preact-main26.66ms - 27.31msunsure 🔍
-2% - +1%
-0.53ms - +0.28ms
-

run-final

VersionAvg timevs preact-localvs preact-main
preact-local19.65ms - 20.02ms-unsure 🔍
-3% - +0%
-0.52ms - +0.02ms
preact-main19.89ms - 20.28msunsure 🔍
-0% - +3%
-0.02ms - +0.52ms
-
text-update
  • Browser: chrome-headless
  • Sample size: 200
  • Built by: CI #4556
  • Commit: 4ce91c4

duration

VersionAvg timevs preact-localvs preact-main
preact-local2.03ms - 2.12ms-unsure 🔍
-4% - +2%
-0.09ms - +0.05ms
preact-main2.05ms - 2.15msunsure 🔍
-2% - +4%
-0.05ms - +0.09ms
-

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.04ms - 34.56ms-unsure 🔍
-0% - +1%
-0.15ms - +0.48ms
preact-main33.96ms - 34.31msunsure 🔍
-1% - +0%
-0.48ms - +0.15ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local1.24ms - 1.27ms-unsure 🔍
-2% - +2%
-0.03ms - +0.02ms
preact-main1.24ms - 1.28msunsure 🔍
-2% - +2%
-0.02ms - +0.03ms
-
update10th1k

duration

VersionAvg timevs preact-localvs preact-main
preact-local31.72ms - 33.67ms-unsure 🔍
-4% - +4%
-1.32ms - +1.23ms
preact-main31.93ms - 33.56msunsure 🔍
-4% - +4%
-1.23ms - +1.32ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local2.96ms - 3.00ms-unsure 🔍
-1% - +1%
-0.03ms - +0.03ms
preact-main2.96ms - 2.99msunsure 🔍
-1% - +1%
-0.03ms - +0.03ms
-

tachometer-reporter-action v2 for CI

@github-actions
Copy link

Size Change: -59 B (-0.08%)

Total Size: 78.4 kB

Filename Size Change
debug/dist/debug.js 3.82 kB -14 B (-0.37%)
debug/dist/debug.mjs 3.82 kB -15 B (-0.39%)
debug/dist/debug.module.js 3.82 kB -15 B (-0.39%)
debug/dist/debug.umd.js 3.9 kB -15 B (-0.38%)
ℹ️ View Unchanged
Filename Size
compat/dist/compat.js 4.12 kB
compat/dist/compat.mjs 4.05 kB
compat/dist/compat.module.js 4.05 kB
compat/dist/compat.umd.js 4.19 kB
devtools/dist/devtools.js 260 B
devtools/dist/devtools.mjs 274 B
devtools/dist/devtools.module.js 274 B
devtools/dist/devtools.umd.js 346 B
dist/preact.js 4.74 kB
dist/preact.min.js 4.74 kB
dist/preact.min.module.js 4.76 kB
dist/preact.min.umd.js 4.77 kB
dist/preact.mjs 4.75 kB
dist/preact.module.js 4.75 kB
dist/preact.umd.js 4.77 kB
hooks/dist/hooks.js 1.54 kB
hooks/dist/hooks.mjs 1.57 kB
hooks/dist/hooks.module.js 1.57 kB
hooks/dist/hooks.umd.js 1.61 kB
jsx-runtime/dist/jsxRuntime.js 978 B
jsx-runtime/dist/jsxRuntime.mjs 952 B
jsx-runtime/dist/jsxRuntime.module.js 952 B
jsx-runtime/dist/jsxRuntime.umd.js 1.05 kB
test-utils/dist/testUtils.js 473 B
test-utils/dist/testUtils.mjs 477 B
test-utils/dist/testUtils.module.js 477 B
test-utils/dist/testUtils.umd.js 555 B

compressed-size-action

@coveralls
Copy link

Coverage Status

coverage: 99.609%. remained the same
when pulling 4ce91c4 on rschristian-patch-1
into 94fbcbd on main.

@rschristian rschristian merged commit 1effaa6 into main Feb 25, 2025
15 checks passed
@rschristian rschristian deleted the rschristian-patch-1 branch February 25, 2025 11:22
@JoviDeCroock JoviDeCroock mentioned this pull request Feb 26, 2025
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.

4 participants