Skip to content

forwardport from v10#5053

Merged
JoviDeCroock merged 7 commits intomainfrom
forward-port-v10.29.0
Mar 15, 2026
Merged

forwardport from v10#5053
JoviDeCroock merged 7 commits intomainfrom
forward-port-v10.29.0

Conversation

@JoviDeCroock
Copy link
Copy Markdown
Member

forwardport from v10

* Make useFlushSync do sync flushes

* Golf bytes to offset change

* Some more golfing

* Revert "Make useFlushSync do sync flushes"

This reverts commit 001bbce.

(cherry picked from commit af4c459)
(cherry picked from commit 978c0b9)
* undefined prototype

* Add test

(cherry picked from commit b341bfe)
* Golf some bytes and ensure we reset renderCount

* Apply suggestion from @JoviDeCroock

* Add test

(cherry picked from commit 55254ef)
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 10, 2026

📊 Tachometer Benchmark Results

Summary

duration

  • create10k: unsure 🔍 -0% - +1% (-1.74ms - +5.17ms)
    preact-local vs preact-main
  • filter-list: unsure 🔍 -0% - +0% (-0.03ms - +0.05ms)
    preact-local vs preact-main
  • hydrate1k: unsure 🔍 -2% - +1% (-1.14ms - +0.83ms)
    preact-local vs preact-main
  • many-updates: unsure 🔍 -5% - +1% (-0.81ms - +0.25ms)
    preact-local vs preact-main
  • replace1k: unsure 🔍 -1% - +1% (-0.65ms - +0.54ms)
    preact-local vs preact-main
  • text-update: unsure 🔍 -7% - +1% (-0.14ms - +0.02ms)
    preact-local vs preact-main
  • todo: slower ❌ 0% - 3% (0.02ms - 0.89ms)
    preact-local vs preact-main
  • update10th1k: unsure 🔍 -2% - +5% (-0.66ms - +1.59ms)
    preact-local vs preact-main

usedJSHeapSize

  • create10k: unsure 🔍 +0% - +0% (+0.00ms - +0.00ms)
    preact-local vs preact-main
  • filter-list: unsure 🔍 -0% - +0% (-0.00ms - +0.00ms)
    preact-local vs preact-main
  • hydrate1k: unsure 🔍 -2% - +5% (-0.16ms - +0.31ms)
    preact-local vs preact-main
  • many-updates: unsure 🔍 -0% - +0% (-0.00ms - +0.00ms)
    preact-local vs preact-main
  • replace1k: unsure 🔍 -0% - +0% (-0.01ms - +0.00ms)
    preact-local vs preact-main
  • text-update: unsure 🔍 -1% - +3% (-0.02ms - +0.03ms)
    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.01ms)
    preact-local vs preact-main

Results

create10k

duration

VersionAvg timevs preact-localvs preact-main
preact-local837.06ms - 842.22ms-unsure 🔍
-0% - +1%
-1.74ms - +5.17ms
preact-main835.64ms - 840.23msunsure 🔍
-1% - +0%
-5.17ms - +1.74ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local19.04ms - 19.04ms-unsure 🔍
+0% - +0%
+0.00ms - +0.00ms
preact-main19.04ms - 19.04msunsure 🔍
-0% - -0%
-0.00ms - -0.00ms
-
filter-list

duration

VersionAvg timevs preact-localvs preact-main
preact-local16.52ms - 16.58ms-unsure 🔍
-0% - +0%
-0.03ms - +0.05ms
preact-main16.51ms - 16.56msunsure 🔍
-0% - +0%
-0.05ms - +0.03ms
-

usedJSHeapSize

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

duration

VersionAvg timevs preact-localvs preact-main
preact-local58.11ms - 59.45ms-unsure 🔍
-2% - +1%
-1.14ms - +0.83ms
preact-main58.20ms - 59.66msunsure 🔍
-1% - +2%
-0.83ms - +1.14ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local6.60ms - 7.01ms-unsure 🔍
-2% - +5%
-0.16ms - +0.31ms
preact-main6.63ms - 6.84msunsure 🔍
-4% - +2%
-0.31ms - +0.16ms
-
many-updates

duration

VersionAvg timevs preact-localvs preact-main
preact-local16.22ms - 16.45ms-unsure 🔍
-5% - +1%
-0.81ms - +0.25ms
preact-main16.10ms - 17.14msunsure 🔍
-2% - +5%
-0.25ms - +0.81ms
-

usedJSHeapSize

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

duration

VersionAvg timevs preact-localvs preact-main
preact-local60.91ms - 61.66ms-unsure 🔍
-1% - +1%
-0.65ms - +0.54ms
preact-main60.87ms - 61.80msunsure 🔍
-1% - +1%
-0.54ms - +0.65ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local2.99ms - 2.99ms-unsure 🔍
-0% - +0%
-0.01ms - +0.00ms
preact-main2.99ms - 3.00msunsure 🔍
-0% - +0%
-0.00ms - +0.01ms
-

run-warmup-0

VersionAvg timevs preact-localvs preact-main
preact-local26.23ms - 26.95ms-unsure 🔍
-3% - +1%
-0.79ms - +0.24ms
preact-main26.50ms - 27.23msunsure 🔍
-1% - +3%
-0.24ms - +0.79ms
-

run-warmup-1

VersionAvg timevs preact-localvs preact-main
preact-local33.30ms - 34.22ms-unsure 🔍
-3% - +1%
-0.86ms - +0.49ms
preact-main33.45ms - 34.44msunsure 🔍
-1% - +3%
-0.49ms - +0.86ms
-

run-warmup-2

VersionAvg timevs preact-localvs preact-main
preact-local34.23ms - 35.06ms-unsure 🔍
-1% - +2%
-0.49ms - +0.67ms
preact-main34.15ms - 34.96msunsure 🔍
-2% - +1%
-0.67ms - +0.49ms
-

run-warmup-3

VersionAvg timevs preact-localvs preact-main
preact-local27.39ms - 27.79ms-unsure 🔍
-1% - +1%
-0.27ms - +0.26ms
preact-main27.42ms - 27.77msunsure 🔍
-1% - +1%
-0.26ms - +0.27ms
-

run-warmup-4

VersionAvg timevs preact-localvs preact-main
preact-local25.73ms - 27.05ms-unsure 🔍
-4% - +3%
-1.10ms - +0.73ms
preact-main25.94ms - 27.22msunsure 🔍
-3% - +4%
-0.73ms - +1.10ms
-

run-final

VersionAvg timevs preact-localvs preact-main
preact-local22.41ms - 22.72ms-unsure 🔍
-1% - +1%
-0.21ms - +0.23ms
preact-main22.40ms - 22.72msunsure 🔍
-1% - +1%
-0.23ms - +0.21ms
-
text-update
  • Browser: chrome-headless
  • Sample size: 230
  • Built by: CI #5433
  • Commit: 29a0480

duration

VersionAvg timevs preact-localvs preact-main
preact-local1.98ms - 2.09ms-unsure 🔍
-7% - +1%
-0.14ms - +0.02ms
preact-main2.04ms - 2.15msunsure 🔍
-1% - +7%
-0.02ms - +0.14ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local1.17ms - 1.21ms-unsure 🔍
-1% - +3%
-0.02ms - +0.03ms
preact-main1.17ms - 1.20msunsure 🔍
-3% - +1%
-0.03ms - +0.02ms
-
todo

duration

VersionAvg timevs preact-localvs preact-main
preact-local31.80ms - 32.64ms-slower ❌
0% - 3%
0.02ms - 0.89ms
preact-main31.64ms - 31.89msfaster ✔
0% - 3%
0.02ms - 0.89ms
-

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-local32.32ms - 34.02ms-unsure 🔍
-2% - +5%
-0.66ms - +1.59ms
preact-main31.97ms - 33.43msunsure 🔍
-5% - +2%
-1.59ms - +0.66ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local2.95ms - 2.96ms-unsure 🔍
-0% - +0%
-0.01ms - +0.01ms
preact-main2.94ms - 2.95msunsure 🔍
-0% - +0%
-0.01ms - +0.01ms
-

tachometer-reporter-action v2 for CI

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 10, 2026

Size Change: +92 B (+0.19%)

Total Size: 47.5 kB

Filename Size Change
compat/dist/compat.js 3.93 kB +13 B (+0.33%)
compat/dist/compat.mjs 3.87 kB +19 B (+0.49%)
compat/dist/compat.umd.js 4 kB +24 B (+0.6%)
dist/preact.js 4.68 kB +15 B (+0.32%)
dist/preact.mjs 4.69 kB +18 B (+0.39%)
dist/preact.umd.js 4.74 kB +14 B (+0.3%)
hooks/dist/hooks.mjs 1.55 kB -2 B (-0.13%)
hooks/dist/hooks.umd.js 1.58 kB -9 B (-0.56%)
ℹ️ View Unchanged
Filename Size
debug/dist/debug.js 3.91 kB
debug/dist/debug.mjs 3.91 kB
debug/dist/debug.umd.js 3.99 kB
devtools/dist/devtools.js 263 B
devtools/dist/devtools.mjs 273 B
devtools/dist/devtools.umd.js 348 B
hooks/dist/hooks.js 1.52 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
Copy Markdown

coveralls commented Mar 10, 2026

Coverage Status

coverage: 98.666% (-0.9%) from 99.537%
when pulling d98ad9b on forward-port-v10.29.0
into 2459326 on main.

@JoviDeCroock JoviDeCroock merged commit 21dd6d0 into main Mar 15, 2026
12 of 13 checks passed
@JoviDeCroock JoviDeCroock deleted the forward-port-v10.29.0 branch March 15, 2026 19:11
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