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

major(core): switch to queueMicroTask #4370

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

Conversation

JoviDeCroock
Copy link
Member

No description provided.

Copy link

github-actions bot commented May 2, 2024

📊 Tachometer Benchmark Results

Summary

duration

  • create10k: unsure 🔍 -1% - +1% (-8.27ms - +5.30ms)
    preact-local vs preact-main
  • filter-list: unsure 🔍 -3% - +2% (-0.52ms - +0.39ms)
    preact-local vs preact-main
  • hydrate1k: unsure 🔍 -0% - +4% (-0.29ms - +2.86ms)
    preact-local vs preact-main
  • many-updates: unsure 🔍 -3% - +5% (-0.52ms - +0.71ms)
    preact-local vs preact-main
  • replace1k: unsure 🔍 -2% - +1% (-1.37ms - +0.99ms)
    preact-local vs preact-main
  • text-update: unsure 🔍 -1% - +4% (-0.02ms - +0.09ms)
    preact-local vs preact-main
  • todo: unsure 🔍 -3% - +3% (-0.88ms - +0.78ms)
    preact-local vs preact-main
  • update10th1k: unsure 🔍 -0% - +3% (-0.01ms - +0.76ms)
    preact-local vs preact-main

usedJSHeapSize

  • create10k: unsure 🔍 -0% - +0% (-0.02ms - +0.01ms)
    preact-local vs preact-main
  • filter-list: unsure 🔍 -0% - +0% (-0.00ms - +0.00ms)
    preact-local vs preact-main
  • hydrate1k: unsure 🔍 -3% - +3% (-0.47ms - +0.46ms)
    preact-local vs preact-main
  • many-updates: unsure 🔍 -0% - +0% (-0.00ms - +0.00ms)
    preact-local vs preact-main
  • replace1k: unsure 🔍 -1% - +0% (-0.03ms - +0.02ms)
    preact-local vs preact-main
  • text-update: unsure 🔍 -0% - -0% (-0.00ms - -0.00ms)
    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-local887.45ms - 896.13ms-unsure 🔍
-1% - +1%
-8.27ms - +5.30ms
preact-main888.06ms - 898.49msunsure 🔍
-1% - +1%
-5.30ms - +8.27ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local27.30ms - 27.31ms-unsure 🔍
-0% - +0%
-0.02ms - +0.01ms
preact-main27.30ms - 27.31msunsure 🔍
-0% - +0%
-0.01ms - +0.02ms
-
filter-list

duration

VersionAvg timevs preact-localvs preact-main
preact-local16.71ms - 17.34ms-unsure 🔍
-3% - +2%
-0.52ms - +0.39ms
preact-main16.77ms - 17.42msunsure 🔍
-2% - +3%
-0.39ms - +0.52ms
-

usedJSHeapSize

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

duration

VersionAvg timevs preact-localvs preact-main
preact-local73.73ms - 76.78ms-unsure 🔍
-0% - +4%
-0.29ms - +2.86ms
preact-main73.58ms - 74.36msunsure 🔍
-4% - +0%
-2.86ms - +0.29ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local14.23ms - 14.89ms-unsure 🔍
-3% - +3%
-0.47ms - +0.46ms
preact-main14.23ms - 14.89msunsure 🔍
-3% - +3%
-0.46ms - +0.47ms
-
many-updates

duration

VersionAvg timevs preact-localvs preact-main
preact-local15.03ms - 15.85ms-unsure 🔍
-3% - +5%
-0.52ms - +0.71ms
preact-main14.88ms - 15.80msunsure 🔍
-5% - +3%
-0.71ms - +0.52ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local4.94ms - 4.95ms-unsure 🔍
-0% - +0%
-0.00ms - +0.00ms
preact-main4.94ms - 4.95msunsure 🔍
-0% - +0%
-0.00ms - +0.00ms
-
replace1k

duration

VersionAvg timevs preact-localvs preact-main
preact-local67.65ms - 69.69ms-unsure 🔍
-2% - +1%
-1.37ms - +0.99ms
preact-main68.28ms - 69.46msunsure 🔍
-1% - +2%
-0.99ms - +1.37ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local3.75ms - 3.78ms-unsure 🔍
-1% - +0%
-0.03ms - +0.02ms
preact-main3.75ms - 3.78msunsure 🔍
-0% - +1%
-0.02ms - +0.03ms
-

run-warmup-0

VersionAvg timevs preact-localvs preact-main
preact-local29.14ms - 29.63ms-unsure 🔍
-1% - +2%
-0.21ms - +0.49ms
preact-main28.99ms - 29.50msunsure 🔍
-2% - +1%
-0.49ms - +0.21ms
-

run-warmup-1

VersionAvg timevs preact-localvs preact-main
preact-local33.92ms - 35.64ms-unsure 🔍
-2% - +5%
-0.85ms - +1.55ms
preact-main33.60ms - 35.26msunsure 🔍
-4% - +2%
-1.55ms - +0.85ms
-

run-warmup-2

VersionAvg timevs preact-localvs preact-main
preact-local25.46ms - 25.97ms-unsure 🔍
-1% - +1%
-0.26ms - +0.36ms
preact-main25.48ms - 25.85msunsure 🔍
-1% - +1%
-0.36ms - +0.26ms
-

run-warmup-3

VersionAvg timevs preact-localvs preact-main
preact-local24.17ms - 24.99ms-unsure 🔍
-1% - +3%
-0.28ms - +0.81ms
preact-main23.95ms - 24.67msunsure 🔍
-3% - +1%
-0.81ms - +0.28ms
-

run-warmup-4

VersionAvg timevs preact-localvs preact-main
preact-local26.77ms - 28.33ms-unsure 🔍
-1% - +7%
-0.16ms - +1.97ms
preact-main25.91ms - 27.37msunsure 🔍
-7% - +1%
-1.97ms - +0.16ms
-

run-final

VersionAvg timevs preact-localvs preact-main
preact-local23.02ms - 24.13ms-unsure 🔍
-2% - +4%
-0.56ms - +0.86ms
preact-main22.98ms - 23.87msunsure 🔍
-4% - +2%
-0.86ms - +0.56ms
-
text-update

duration

VersionAvg timevs preact-localvs preact-main
preact-local2.00ms - 2.08ms-unsure 🔍
-1% - +4%
-0.02ms - +0.09ms
preact-main1.97ms - 2.05msunsure 🔍
-4% - +1%
-0.09ms - +0.02ms
-

usedJSHeapSize

VersionAvg timevs preact-localvs preact-main
preact-local0.98ms - 0.98ms-unsure 🔍
-0% - -0%
-0.00ms - -0.00ms
preact-main0.98ms - 0.98msunsure 🔍
+0% - +0%
+0.00ms - +0.00ms
-
todo

duration

VersionAvg timevs preact-localvs preact-main
preact-local27.79ms - 29.22ms-unsure 🔍
-3% - +3%
-0.88ms - +0.78ms
preact-main28.12ms - 28.98msunsure 🔍
-3% - +3%
-0.78ms - +0.88ms
-

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-local29.55ms - 30.24ms-unsure 🔍
-0% - +3%
-0.01ms - +0.76ms
preact-main29.36ms - 29.69msunsure 🔍
-3% - +0%
-0.76ms - +0.01ms
-

usedJSHeapSize

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

tachometer-reporter-action v2 for Benchmarks

Copy link

github-actions bot commented May 2, 2024

Size Change: -185 B (-0.3%)

Total Size: 61.3 kB

Filename Size Change
dist/preact.js 4.61 kB -33 B (-0.71%)
dist/preact.min.js 4.65 kB -30 B (-0.64%)
dist/preact.min.module.js 4.64 kB -31 B (-0.66%)
dist/preact.min.umd.js 4.67 kB -32 B (-0.68%)
dist/preact.module.js 4.63 kB -31 B (-0.66%)
dist/preact.umd.js 4.69 kB -28 B (-0.59%)
ℹ️ 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.71 kB
debug/dist/debug.module.js 3.71 kB
debug/dist/debug.umd.js 3.79 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

@JoviDeCroock JoviDeCroock changed the base branch from breaking-changes-11 to main May 3, 2024 13:11
@JoviDeCroock JoviDeCroock changed the base branch from main to breaking-changes-11 May 3, 2024 13:14
@JoviDeCroock JoviDeCroock changed the base branch from breaking-changes-11 to main May 22, 2024 06:41
@JoviDeCroock JoviDeCroock changed the title chore(core): switch to queueMicroTask major(core): switch to queueMicroTask May 22, 2024
@coveralls
Copy link

coveralls commented May 22, 2024

Coverage Status

coverage: 99.61%. remained the same
when pulling 43b195a on use-queue-micro-task
into b7c43d9 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