Skip to content

Use .push.apply#5024

Merged
JoviDeCroock merged 1 commit intomainfrom
use-apply-instead
Feb 17, 2026
Merged

Use .push.apply#5024
JoviDeCroock merged 1 commit intomainfrom
use-apply-instead

Conversation

@JoviDeCroock
Copy link
Member

No description provided.

@github-actions
Copy link

github-actions bot commented Feb 16, 2026

📊 Tachometer Benchmark Results

Summary

duration

  • create10k: unsure 🔍 -1% - +1% (-8.67ms - +7.30ms)
    preact-local vs preact-main
  • filter-list: unsure 🔍 -0% - +0% (-0.02ms - +0.06ms)
    preact-local vs preact-main
  • hydrate1k: unsure 🔍 -2% - +1% (-1.12ms - +0.57ms)
    preact-local vs preact-main
  • many-updates: unsure 🔍 -3% - +1% (-0.42ms - +0.11ms)
    preact-local vs preact-main
  • replace1k: unsure 🔍 -1% - +1% (-0.76ms - +0.64ms)
    preact-local vs preact-main
  • text-update: unsure 🔍 -5% - +3% (-0.09ms - +0.05ms)
    preact-local vs preact-main
  • todo: unsure 🔍 -1% - +1% (-0.26ms - +0.23ms)
    preact-local vs preact-main
  • update10th1k: unsure 🔍 -4% - +5% (-1.16ms - +1.39ms)
    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 🔍 -6% - +4% (-0.44ms - +0.29ms)
    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.01ms)
    preact-local vs preact-main
  • text-update: unsure 🔍 -2% - +3% (-0.02ms - +0.03ms)
    preact-local vs preact-main
  • todo: unsure 🔍 -4% - +1% (-0.05ms - +0.02ms)
    preact-local vs preact-main
  • update10th1k: unsure 🔍 -0% - +1% (-0.00ms - +0.02ms)
    preact-local vs preact-main

Results

create10k

duration

VersionAvg timevs preact-localvs preact-main
preact-local906.83ms - 919.45ms-unsure 🔍
-1% - +1%
-8.67ms - +7.30ms
preact-main908.93ms - 918.72msunsure 🔍
-1% - +1%
-7.30ms - +8.67ms
-

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.49ms - 16.54ms-unsure 🔍
-0% - +0%
-0.02ms - +0.06ms
preact-main16.47ms - 16.52msunsure 🔍
-0% - +0%
-0.06ms - +0.02ms
-

usedJSHeapSize

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

duration

VersionAvg timevs preact-localvs preact-main
preact-local61.39ms - 62.59ms-unsure 🔍
-2% - +1%
-1.12ms - +0.57ms
preact-main61.67ms - 62.86msunsure 🔍
-1% - +2%
-0.57ms - +1.12ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local6.48ms - 6.98ms-unsure 🔍
-6% - +4%
-0.44ms - +0.29ms
preact-main6.54ms - 7.08msunsure 🔍
-4% - +7%
-0.29ms - +0.44ms
-
many-updates

duration

VersionAvg timevs preact-localvs preact-main
preact-local16.01ms - 16.42ms-unsure 🔍
-3% - +1%
-0.42ms - +0.11ms
preact-main16.20ms - 16.54msunsure 🔍
-1% - +3%
-0.11ms - +0.42ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local3.72ms - 3.73ms-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 #5376
  • Commit: 1f393eb

duration

VersionAvg timevs preact-localvs preact-main
preact-local62.41ms - 63.27ms-unsure 🔍
-1% - +1%
-0.76ms - +0.64ms
preact-main62.35ms - 63.45msunsure 🔍
-1% - +1%
-0.64ms - +0.76ms
-

usedJSHeapSize

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

run-warmup-0

VersionAvg timevs preact-localvs preact-main
preact-local27.18ms - 27.95ms-unsure 🔍
-3% - +1%
-0.72ms - +0.36ms
preact-main27.36ms - 28.13msunsure 🔍
-1% - +3%
-0.36ms - +0.72ms
-

run-warmup-1

VersionAvg timevs preact-localvs preact-main
preact-local33.91ms - 34.86ms-unsure 🔍
-3% - +1%
-0.91ms - +0.51ms
preact-main34.06ms - 35.11msunsure 🔍
-1% - +3%
-0.51ms - +0.91ms
-

run-warmup-2

VersionAvg timevs preact-localvs preact-main
preact-local35.33ms - 36.15ms-unsure 🔍
-1% - +2%
-0.39ms - +0.72ms
preact-main35.20ms - 35.96msunsure 🔍
-2% - +1%
-0.72ms - +0.39ms
-

run-warmup-3

VersionAvg timevs preact-localvs preact-main
preact-local28.30ms - 28.65ms-unsure 🔍
-1% - +1%
-0.15ms - +0.36ms
preact-main28.19ms - 28.56msunsure 🔍
-1% - +1%
-0.36ms - +0.15ms
-

run-warmup-4

VersionAvg timevs preact-localvs preact-main
preact-local26.39ms - 27.61ms-unsure 🔍
-5% - +2%
-1.27ms - +0.66ms
preact-main26.56ms - 28.05msunsure 🔍
-2% - +5%
-0.66ms - +1.27ms
-

run-final

VersionAvg timevs preact-localvs preact-main
preact-local22.91ms - 23.35ms-unsure 🔍
-1% - +2%
-0.13ms - +0.48ms
preact-main22.74ms - 23.17msunsure 🔍
-2% - +1%
-0.48ms - +0.13ms
-
text-update
  • Browser: chrome-headless
  • Sample size: 190
  • Built by: CI #5376
  • Commit: 1f393eb

duration

VersionAvg timevs preact-localvs preact-main
preact-local1.96ms - 2.08ms-unsure 🔍
-5% - +3%
-0.09ms - +0.05ms
preact-main1.99ms - 2.08msunsure 🔍
-3% - +5%
-0.05ms - +0.09ms
-

usedJSHeapSize

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

duration

VersionAvg timevs preact-localvs preact-main
preact-local31.48ms - 31.86ms-unsure 🔍
-1% - +1%
-0.26ms - +0.23ms
preact-main31.54ms - 31.83msunsure 🔍
-1% - +1%
-0.23ms - +0.26ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local1.27ms - 1.31ms-unsure 🔍
-4% - +1%
-0.05ms - +0.02ms
preact-main1.28ms - 1.33msunsure 🔍
-1% - +4%
-0.02ms - +0.05ms
-
update10th1k

duration

VersionAvg timevs preact-localvs preact-main
preact-local30.15ms - 31.91ms-unsure 🔍
-4% - +5%
-1.16ms - +1.39ms
preact-main29.99ms - 31.83msunsure 🔍
-4% - +4%
-1.39ms - +1.16ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local2.94ms - 2.97ms-unsure 🔍
-0% - +1%
-0.00ms - +0.02ms
preact-main2.94ms - 2.95msunsure 🔍
-1% - +0%
-0.02ms - +0.00ms
-

tachometer-reporter-action v2 for CI

@github-actions
Copy link

Size Change: -30 B (-0.06%)

Total Size: 47.4 kB

Filename Size Change
dist/preact.js 4.66 kB -9 B (-0.19%)
dist/preact.mjs 4.67 kB -9 B (-0.19%)
dist/preact.umd.js 4.73 kB -12 B (-0.25%)
ℹ️ View Unchanged
Filename Size
compat/dist/compat.js 3.92 kB
compat/dist/compat.mjs 3.85 kB
compat/dist/compat.umd.js 3.98 kB
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
hooks/dist/hooks.mjs 1.55 kB
hooks/dist/hooks.umd.js 1.59 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

Coverage Status

coverage: 99.537%. remained the same
when pulling 1f393eb on use-apply-instead
into 6dd0e3e on main.

@JoviDeCroock JoviDeCroock merged commit 4885f1d into main Feb 17, 2026
15 checks passed
@JoviDeCroock JoviDeCroock deleted the use-apply-instead branch February 17, 2026 03:26
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