preact icon indicating copy to clipboard operation
preact copied to clipboard

[WIP] extended hook state deduping

Open developit opened this issue 5 years ago • 3 comments

developit avatar Jan 20 '21 16:01 developit

📊 Tachometer Benchmark Results

Summary

duration

  • 02_replace1k: unsure 🔍 -1% - +1% (-1.33ms - +1.11ms)
    preact-local vs preact-master
  • 03_update10th1k_x16: unsure 🔍 -4% - +5% (-1.23ms - +1.49ms)
    preact-local vs preact-master
  • 07_create10k: unsure 🔍 -1% - +1% (-11.98ms - +15.74ms)
    preact-local vs preact-master
  • filter_list: unsure 🔍 -1% - +4% (-0.24ms - +0.94ms)
    preact-local vs preact-master
  • hydrate1k: unsure 🔍 -3% - +1% (-4.22ms - +1.36ms)
    preact-local vs preact-master
  • many_updates: unsure 🔍 -8% - +6% (-2.92ms - +1.96ms)
    preact-local vs preact-master
  • text_update: unsure 🔍 -0% - +1% (-0.01ms - +0.03ms)
    preact-local vs preact-master

usedJSHeapSize

  • 02_replace1k: unsure 🔍 -0% - +0% (-0.01ms - +0.01ms)
    preact-local vs preact-master
  • 03_update10th1k_x16: unsure 🔍 -0% - +0% (-0.00ms - +0.01ms)
    preact-local vs preact-master
  • 07_create10k: unsure 🔍 +0% - +0% (+0.00ms - +0.00ms)
    preact-local vs preact-master
  • filter_list: unsure 🔍 -0% - +0% (-0.00ms - +0.00ms)
    preact-local vs preact-master
  • hydrate1k: unsure 🔍 -0% - +0% (-0.01ms - +0.01ms)
    preact-local vs preact-master
  • many_updates: unsure 🔍 -0% - +0% (-0.00ms - +0.00ms)
    preact-local vs preact-master
  • text_update: unsure 🔍 -0% - +0% (-0.00ms - +0.00ms)
    preact-local vs preact-master

Results

02_replace1k
  • Browser: chrome-headless 87.0.4280.141
  • Sample size: 50
  • Built by: CI #759
  • Commit: a59ddbb

duration

VersionAvg timevs preact-mastervs preact-local
preact-master161.57ms - 163.46ms-unsure 🔍
-1% - +1%
-1.11ms - +1.33ms
preact-local161.64ms - 163.18msunsure 🔍
-1% - +1%
-1.33ms - +1.11ms
-

usedJSHeapSize

VersionAvg timevs preact-mastervs preact-local
preact-master3.59ms - 3.60ms-unsure 🔍
-0% - +0%
-0.01ms - +0.01ms
preact-local3.59ms - 3.60msunsure 🔍
-0% - +0%
-0.01ms - +0.01ms
-

run-warmup-0

VersionAvg timevs preact-mastervs preact-local
preact-master58.09ms - 60.01ms-unsure 🔍
-3% - +2%
-1.69ms - +0.96ms
preact-local58.51ms - 60.33msunsure 🔍
-2% - +3%
-0.96ms - +1.69ms
-

run-warmup-1

VersionAvg timevs preact-mastervs preact-local
preact-master90.69ms - 93.51ms-unsure 🔍
-0% - +3%
-0.06ms - +2.99ms
preact-local90.04ms - 91.22msunsure 🔍
-3% - +0%
-2.99ms - +0.06ms
-

run-warmup-2

VersionAvg timevs preact-mastervs preact-local
preact-master104.13ms - 106.24ms-unsure 🔍
-1% - +2%
-0.62ms - +2.13ms
preact-local103.55ms - 105.31msunsure 🔍
-2% - +1%
-2.13ms - +0.62ms
-

run-warmup-3

VersionAvg timevs preact-mastervs preact-local
preact-master58.46ms - 59.84ms-unsure 🔍
-1% - +2%
-0.44ms - +1.02ms
preact-local58.61ms - 59.11msunsure 🔍
-2% - +1%
-1.02ms - +0.44ms
-

run-warmup-4

VersionAvg timevs preact-mastervs preact-local
preact-master113.48ms - 116.83ms-unsure 🔍
-2% - +1%
-2.89ms - +1.35ms
preact-local114.63ms - 117.22msunsure 🔍
-1% - +3%
-1.35ms - +2.89ms
-

run-final

VersionAvg timevs preact-mastervs preact-local
preact-master57.40ms - 58.03ms-unsure 🔍
-1% - +1%
-0.41ms - +0.41ms
preact-local57.45ms - 57.98msunsure 🔍
-1% - +1%
-0.41ms - +0.41ms
-
03_update10th1k_x16
  • Browser: chrome-headless 87.0.4280.141
  • Sample size: 100
  • Built by: CI #759
  • Commit: a59ddbb

duration

VersionAvg timevs preact-mastervs preact-local
preact-master29.92ms - 31.88ms-unsure 🔍
-5% - +4%
-1.49ms - +1.23ms
preact-local30.09ms - 31.97msunsure 🔍
-4% - +5%
-1.23ms - +1.49ms
-

usedJSHeapSize

VersionAvg timevs preact-mastervs preact-local
preact-master3.52ms - 3.52ms-unsure 🔍
-0% - +0%
-0.01ms - +0.00ms
preact-local3.52ms - 3.53msunsure 🔍
-0% - +0%
-0.00ms - +0.01ms
-
07_create10k
  • Browser: chrome-headless 87.0.4280.141
  • Sample size: 50
  • Built by: CI #759
  • Commit: a59ddbb

duration

VersionAvg timevs preact-mastervs preact-local
preact-master1698.65ms - 1718.85ms-unsure 🔍
-1% - +1%
-15.74ms - +11.98ms
preact-local1701.14ms - 1720.13msunsure 🔍
-1% - +1%
-11.98ms - +15.74ms
-

usedJSHeapSize

VersionAvg timevs preact-mastervs preact-local
preact-master25.98ms - 25.99ms-unsure 🔍
-0% - -0%
-0.00ms - -0.00ms
preact-local25.98ms - 25.99msunsure 🔍
+0% - +0%
+0.00ms - +0.00ms
-
filter_list
  • Browser: chrome-headless 87.0.4280.141
  • Sample size: 50
  • Built by: CI #759
  • Commit: a59ddbb

duration

VersionAvg timevs preact-mastervs preact-local
preact-master24.14ms - 24.89ms-unsure 🔍
-4% - +1%
-0.94ms - +0.24ms
preact-local24.41ms - 25.33msunsure 🔍
-1% - +4%
-0.24ms - +0.94ms
-

usedJSHeapSize

VersionAvg timevs preact-mastervs preact-local
preact-master1.60ms - 1.60ms-unsure 🔍
-0% - +0%
-0.00ms - +0.00ms
preact-local1.60ms - 1.60msunsure 🔍
-0% - +0%
-0.00ms - +0.00ms
-
hydrate1k
  • Browser: chrome-headless 87.0.4280.141
  • Sample size: 50
  • Built by: CI #759
  • Commit: a59ddbb

duration

VersionAvg timevs preact-mastervs preact-local
preact-master161.14ms - 165.99ms-unsure 🔍
-1% - +3%
-1.36ms - +4.22ms
preact-local160.75ms - 163.51msunsure 🔍
-3% - +1%
-4.22ms - +1.36ms
-

usedJSHeapSize

VersionAvg timevs preact-mastervs preact-local
preact-master6.19ms - 6.19ms-unsure 🔍
-0% - +0%
-0.01ms - +0.01ms
preact-local6.18ms - 6.20msunsure 🔍
-0% - +0%
-0.01ms - +0.01ms
-
many_updates
  • Browser: chrome-headless 87.0.4280.141
  • Sample size: 80
  • Built by: CI #759
  • Commit: a59ddbb

duration

VersionAvg timevs preact-mastervs preact-local
preact-master32.35ms - 35.96ms-unsure 🔍
-6% - +9%
-1.96ms - +2.92ms
preact-local32.04ms - 35.32msunsure 🔍
-8% - +6%
-2.92ms - +1.96ms
-

usedJSHeapSize

VersionAvg timevs preact-mastervs preact-local
preact-master4.84ms - 4.84ms-unsure 🔍
-0% - +0%
-0.00ms - +0.00ms
preact-local4.84ms - 4.84msunsure 🔍
-0% - +0%
-0.00ms - +0.00ms
-
text_update
  • Browser: chrome-headless 87.0.4280.141
  • Sample size: 50
  • Built by: CI #759
  • Commit: a59ddbb

duration

VersionAvg timevs preact-mastervs preact-local
preact-master2.88ms - 2.91ms-unsure 🔍
-1% - +0%
-0.03ms - +0.01ms
preact-local2.89ms - 2.91msunsure 🔍
-0% - +1%
-0.01ms - +0.03ms
-

usedJSHeapSize

VersionAvg timevs preact-mastervs preact-local
preact-master0.83ms - 0.83ms-unsure 🔍
-0% - +0%
-0.00ms - +0.00ms
preact-local0.83ms - 0.83msunsure 🔍
-0% - +0%
-0.00ms - +0.00ms
-

tachometer-reporter-action v2 for CI

github-actions[bot] avatar Jan 20 '21 16:01 github-actions[bot]

Coverage Status

Coverage increased (+0.001%) to 99.44% when pulling d7cbebd7c7b2a284a2bf06c1e3b7fa24b660a346 on wip-extended-hook-state-dedupe into 8d3bbecbb56adebc3713f547da0ba1f17693a072 on master.

coveralls avatar Jan 20 '21 16:01 coveralls

Size Change: +49 B (0%)

Total Size: 42 kB

Filename Size Change
hooks/dist/hooks.js 1.14 kB +16 B (1%)
hooks/dist/hooks.module.js 1.16 kB +16 B (1%)
hooks/dist/hooks.umd.js 1.22 kB +17 B (1%)
ℹ️ View Unchanged
Filename Size Change
compat/dist/compat.js 3.45 kB 0 B
compat/dist/compat.module.js 3.47 kB 0 B
compat/dist/compat.umd.js 3.51 kB 0 B
debug/dist/debug.js 2.99 kB 0 B
debug/dist/debug.module.js 2.98 kB 0 B
debug/dist/debug.umd.js 3.07 kB 0 B
devtools/dist/devtools.js 186 B 0 B
devtools/dist/devtools.module.js 196 B 0 B
devtools/dist/devtools.umd.js 261 B 0 B
dist/preact.js 3.93 kB 0 B
dist/preact.min.js 3.96 kB 0 B
dist/preact.module.js 3.96 kB 0 B
dist/preact.umd.js 4 kB 0 B
jsx-runtime/dist/jsxRuntime.js 327 B 0 B
jsx-runtime/dist/jsxRuntime.module.js 335 B 0 B
jsx-runtime/dist/jsxRuntime.umd.js 405 B 0 B
test-utils/dist/testUtils.js 437 B 0 B
test-utils/dist/testUtils.module.js 439 B 0 B
test-utils/dist/testUtils.umd.js 515 B 0 B

compressed-size-action

github-actions[bot] avatar Jan 20 '21 17:01 github-actions[bot]