Skip to content

Conversation

JoviDeCroock
Copy link
Member

Trying to see whether this has perf impact

Copy link

github-actions bot commented Sep 9, 2025

📊 Tachometer Benchmark Results

Summary

duration

  • create10k: unsure 🔍 -0% - +1% (-2.73ms - +8.49ms)
    preact-local vs preact-main
  • filter-list: unsure 🔍 -1% - +0% (-0.14ms - +0.01ms)
    preact-local vs preact-main
  • hydrate1k: unsure 🔍 -4% - +1% (-2.67ms - +0.50ms)
    preact-local vs preact-main
  • many-updates: unsure 🔍 -0% - +1% (-0.07ms - +0.14ms)
    preact-local vs preact-main
  • replace1k: unsure 🔍 -1% - +3% (-0.46ms - +2.00ms)
    preact-local vs preact-main
  • text-update: unsure 🔍 -2% - +6% (-0.04ms - +0.11ms)
    preact-local vs preact-main
  • todo: unsure 🔍 -1% - +1% (-0.29ms - +0.26ms)
    preact-local vs preact-main
  • update10th1k: unsure 🔍 -4% - +1% (-1.42ms - +0.45ms)
    preact-local vs preact-main

usedJSHeapSize

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

Results

create10k

duration

VersionAvg timevs preact-localvs preact-main
preact-local969.44ms - 978.76ms-unsure 🔍
-0% - +1%
-2.73ms - +8.49ms
preact-main968.09ms - 974.34msunsure 🔍
-1% - +0%
-8.49ms - +2.73ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local19.03ms - 19.05ms-unsure 🔍
-0% - +0%
-0.01ms - +0.01ms
preact-main19.03ms - 19.05msunsure 🔍
-0% - +0%
-0.01ms - +0.01ms
-
filter-list

duration

VersionAvg timevs preact-localvs preact-main
preact-local16.44ms - 16.58ms-unsure 🔍
-1% - +0%
-0.14ms - +0.01ms
preact-main16.55ms - 16.60msunsure 🔍
-0% - +1%
-0.01ms - +0.14ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local1.54ms - 1.55ms-unsure 🔍
-0% - +1%
-0.00ms - +0.01ms
preact-main1.54ms - 1.54msunsure 🔍
-1% - +0%
-0.01ms - +0.00ms
-
hydrate1k

duration

VersionAvg timevs preact-localvs preact-main
preact-local70.37ms - 72.63ms-unsure 🔍
-4% - +1%
-2.67ms - +0.50ms
preact-main71.47ms - 73.69msunsure 🔍
-1% - +4%
-0.50ms - +2.67ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local5.94ms - 6.49ms-unsure 🔍
-6% - +7%
-0.36ms - +0.43ms
preact-main5.90ms - 6.47msunsure 🔍
-7% - +6%
-0.43ms - +0.36ms
-
many-updates

duration

VersionAvg timevs preact-localvs preact-main
preact-local16.44ms - 16.55ms-unsure 🔍
-0% - +1%
-0.07ms - +0.14ms
preact-main16.37ms - 16.55msunsure 🔍
-1% - +0%
-0.14ms - +0.07ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local3.72ms - 3.72ms-unsure 🔍
-0% - +0%
-0.00ms - +0.00ms
preact-main3.72ms - 3.72msunsure 🔍
-0% - +0%
-0.00ms - +0.00ms
-
replace1k
  • Browser: chrome-headless
  • Sample size: 100
  • Built by: CI #5133
  • Commit: 5e62e3e

duration

VersionAvg timevs preact-localvs preact-main
preact-local63.05ms - 64.89ms-unsure 🔍
-1% - +3%
-0.46ms - +2.00ms
preact-main62.39ms - 64.01msunsure 🔍
-3% - +1%
-2.00ms - +0.46ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local2.99ms - 3.01ms-unsure 🔍
-0% - +1%
-0.01ms - +0.02ms
preact-main2.98ms - 3.00msunsure 🔍
-1% - +0%
-0.02ms - +0.01ms
-

run-warmup-0

VersionAvg timevs preact-localvs preact-main
preact-local24.99ms - 25.81ms-unsure 🔍
-1% - +3%
-0.36ms - +0.69ms
preact-main24.90ms - 25.56msunsure 🔍
-3% - +1%
-0.69ms - +0.36ms
-

run-warmup-1

VersionAvg timevs preact-localvs preact-main
preact-local32.64ms - 33.56ms-unsure 🔍
-1% - +3%
-0.34ms - +0.91ms
preact-main32.40ms - 33.24msunsure 🔍
-3% - +1%
-0.91ms - +0.34ms
-

run-warmup-2

VersionAvg timevs preact-localvs preact-main
preact-local32.41ms - 33.26ms-unsure 🔍
-2% - +1%
-0.76ms - +0.41ms
preact-main32.61ms - 33.41msunsure 🔍
-1% - +2%
-0.41ms - +0.76ms
-

run-warmup-3

VersionAvg timevs preact-localvs preact-main
preact-local25.42ms - 26.10ms-unsure 🔍
-2% - +1%
-0.65ms - +0.27ms
preact-main25.64ms - 26.25msunsure 🔍
-1% - +3%
-0.27ms - +0.65ms
-

run-warmup-4

VersionAvg timevs preact-localvs preact-main
preact-local23.84ms - 25.04ms-unsure 🔍
-6% - +0%
-1.65ms - +0.02ms
preact-main24.67ms - 25.83msunsure 🔍
-0% - +7%
-0.02ms - +1.65ms
-

run-final

VersionAvg timevs preact-localvs preact-main
preact-local21.64ms - 22.57ms-unsure 🔍
-2% - +4%
-0.40ms - +0.91ms
preact-main21.39ms - 22.30msunsure 🔍
-4% - +2%
-0.91ms - +0.40ms
-
text-update
  • Browser: chrome-headless
  • Sample size: 230
  • Built by: CI #5133
  • Commit: 5e62e3e

duration

VersionAvg timevs preact-localvs preact-main
preact-local1.89ms - 2.01ms-unsure 🔍
-2% - +6%
-0.04ms - +0.11ms
preact-main1.88ms - 1.95msunsure 🔍
-6% - +2%
-0.11ms - +0.04ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local0.99ms - 1.02ms-unsure 🔍
-2% - +2%
-0.02ms - +0.02ms
preact-main0.98ms - 1.01msunsure 🔍
-2% - +2%
-0.02ms - +0.02ms
-
todo

duration

VersionAvg timevs preact-localvs preact-main
preact-local31.75ms - 32.07ms-unsure 🔍
-1% - +1%
-0.29ms - +0.26ms
preact-main31.69ms - 32.15msunsure 🔍
-1% - +1%
-0.26ms - +0.29ms
-

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-local31.01ms - 32.14ms-unsure 🔍
-4% - +1%
-1.42ms - +0.45ms
preact-main31.32ms - 32.81msunsure 🔍
-1% - +5%
-0.45ms - +1.42ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local2.93ms - 2.93ms-unsure 🔍
-0% - +0%
-0.01ms - +0.00ms
preact-main2.93ms - 2.94msunsure 🔍
-0% - +0%
-0.00ms - +0.01ms
-

tachometer-reporter-action v2 for CI

@JoviDeCroock JoviDeCroock force-pushed the try-memory-optimization branch from 46bc556 to ba62ce6 Compare September 9, 2025 11:19
Copy link

github-actions bot commented Sep 9, 2025

Size Change: +56 B (+0.12%)

Total Size: 47.4 kB

Filename Size Change
hooks/dist/hooks.js 1.55 kB +19 B (+1.24%)
hooks/dist/hooks.mjs 1.57 kB +17 B (+1.09%)
hooks/dist/hooks.umd.js 1.62 kB +20 B (+1.25%)
ℹ️ View Unchanged
Filename Size
compat/dist/compat.js 3.9 kB
compat/dist/compat.mjs 3.82 kB
compat/dist/compat.umd.js 3.95 kB
debug/dist/debug.js 3.9 kB
debug/dist/debug.mjs 3.9 kB
debug/dist/debug.umd.js 3.98 kB
devtools/dist/devtools.js 263 B
devtools/dist/devtools.mjs 273 B
devtools/dist/devtools.umd.js 348 B
dist/preact.js 4.67 kB
dist/preact.mjs 4.7 kB
dist/preact.umd.js 4.75 kB
jsx-runtime/dist/jsxRuntime.js 892 B
jsx-runtime/dist/jsxRuntime.mjs 861 B
jsx-runtime/dist/jsxRuntime.umd.js 966 B
test-utils/dist/testUtils.js 473 B
test-utils/dist/testUtils.mjs 473 B
test-utils/dist/testUtils.umd.js 555 B

compressed-size-action

@coveralls
Copy link

coveralls commented Sep 9, 2025

Coverage Status

coverage: 99.537% (+0.002%) from 99.535%
when pulling 5e62e3e on try-memory-optimization
into 027142c on main.

@JoviDeCroock JoviDeCroock force-pushed the try-memory-optimization branch 3 times, most recently from f449564 to 5e62e3e Compare September 9, 2025 12:08
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