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

Merge branch 'master' into restructure #3023

Merged
merged 25 commits into from
Feb 16, 2021
Merged

Conversation

andrewiggins
Copy link
Member

Weekly merge from master

tanhauhau and others added 21 commits February 8, 2021 16:19
fix reordering issue of memoized component when the component initially render null
The watch feature now uses esbuild's new built in watch capabilities
instead of spawning a chokidar instance. This leads to less CPU usage
Update esbuild + karma-esbuild
…unt (#2919)

* use options.unmount instead of overriding component.componentWillUnmount

* add test cases, allow hydrated suspended component can be unmounted
Upgrade tachometer and add script to analyze browser trace logs
Add support for rendering bigints
Reduce redundant preparation in bench scripts
@github-actions
Copy link

github-actions bot commented Feb 15, 2021

📊 Tachometer Benchmark Results

Summary

duration

  • 02_replace1k: unsure 🔍 -4% - +4% (-7.57ms - +8.58ms)
    preact-local vs preact-master
  • 03_update10th1k_x16: unsure 🔍 -5% - +5% (-1.77ms - +1.74ms)
    preact-local vs preact-master
  • 07_create10k: unsure 🔍 -0% - +1% (-5.00ms - +16.67ms)
    preact-local vs preact-master
  • filter_list: unsure 🔍 -5% - +0% (-1.29ms - +0.02ms)
    preact-local vs preact-master
  • hydrate1k: unsure 🔍 -3% - +2% (-2.86ms - +1.92ms)
    preact-local vs preact-master
  • many_updates: unsure 🔍 -9% - +0% (-3.38ms - +0.06ms)
    preact-local vs preact-master
  • text_update: unsure 🔍 -4% - +5% (-0.13ms - +0.16ms)
    preact-local vs preact-master

usedJSHeapSize

  • 02_replace1k: slower ❌ 0% - 1% (0.00ms - 0.02ms)
    preact-local vs preact-master
  • 03_update10th1k_x16: unsure 🔍 -0% - +0% (-0.01ms - +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

duration

VersionAvg timevs preact-mastervs preact-local
preact-master203.86ms - 215.70ms-unsure 🔍
-4% - +4%
-8.58ms - +7.57ms
preact-local204.80ms - 215.77msunsure 🔍
-4% - +4%
-7.57ms - +8.58ms
-

usedJSHeapSize

VersionAvg timevs preact-mastervs preact-local
preact-master3.52ms - 3.53ms-faster ✔
0% - 1%
0.00ms - 0.02ms
preact-local3.53ms - 3.54msslower ❌
0% - 1%
0.00ms - 0.02ms
-

run-warmup-0

VersionAvg timevs preact-mastervs preact-local
preact-master62.21ms - 64.30ms-unsure 🔍
-3% - +2%
-1.87ms - +1.12ms
preact-local62.57ms - 64.70msunsure 🔍
-2% - +3%
-1.12ms - +1.87ms
-

run-warmup-1

VersionAvg timevs preact-mastervs preact-local
preact-master100.74ms - 104.26ms-unsure 🔍
-2% - +2%
-2.40ms - +2.12ms
preact-local101.22ms - 104.05msunsure 🔍
-2% - +2%
-2.12ms - +2.40ms
-

run-warmup-2

VersionAvg timevs preact-mastervs preact-local
preact-master89.96ms - 100.01ms-unsure 🔍
-7% - +8%
-6.56ms - +7.76ms
preact-local89.29ms - 99.48msunsure 🔍
-8% - +7%
-7.76ms - +6.56ms
-

run-warmup-3

VersionAvg timevs preact-mastervs preact-local
preact-master84.84ms - 99.01ms-unsure 🔍
-12% - +9%
-11.24ms - +8.75ms
preact-local86.11ms - 100.22msunsure 🔍
-10% - +12%
-8.75ms - +11.24ms
-

run-warmup-4

VersionAvg timevs preact-mastervs preact-local
preact-master84.21ms - 92.88ms-unsure 🔍
-9% - +5%
-8.01ms - +4.55ms
preact-local85.73ms - 94.82msunsure 🔍
-5% - +9%
-4.55ms - +8.01ms
-

run-final

VersionAvg timevs preact-mastervs preact-local
preact-master85.20ms - 93.40ms-unsure 🔍
-8% - +4%
-7.68ms - +3.97ms
preact-local87.02ms - 95.29msunsure 🔍
-5% - +9%
-3.97ms - +7.68ms
-
03_update10th1k_x16

duration

VersionAvg timevs preact-mastervs preact-local
preact-master35.55ms - 38.03ms-unsure 🔍
-5% - +5%
-1.74ms - +1.77ms
preact-local35.53ms - 38.01msunsure 🔍
-5% - +5%
-1.77ms - +1.74ms
-

usedJSHeapSize

VersionAvg timevs preact-mastervs preact-local
preact-master3.47ms - 3.47ms-unsure 🔍
-0% - +0%
-0.01ms - +0.01ms
preact-local3.47ms - 3.47msunsure 🔍
-0% - +0%
-0.01ms - +0.01ms
-
07_create10k

duration

VersionAvg timevs preact-mastervs preact-local
preact-master1355.12ms - 1369.37ms-unsure 🔍
-1% - +0%
-16.67ms - +5.00ms
preact-local1359.92ms - 1376.24msunsure 🔍
-0% - +1%
-5.00ms - +16.67ms
-

usedJSHeapSize

VersionAvg timevs preact-mastervs preact-local
preact-master25.35ms - 25.36ms-unsure 🔍
-0% - +0%
-0.00ms - +0.00ms
preact-local25.36ms - 25.36msunsure 🔍
-0% - +0%
-0.00ms - +0.00ms
-
filter_list

duration

VersionAvg timevs preact-mastervs preact-local
preact-master26.89ms - 27.96ms-unsure 🔍
-0% - +5%
-0.02ms - +1.29ms
preact-local26.42ms - 27.17msunsure 🔍
-5% - +0%
-1.29ms - +0.02ms
-

usedJSHeapSize

VersionAvg timevs preact-mastervs preact-local
preact-master1.61ms - 1.61ms-unsure 🔍
-0% - -0%
-0.00ms - -0.00ms
preact-local1.61ms - 1.61msunsure 🔍
+0% - +0%
+0.00ms - +0.00ms
-
hydrate1k

duration

VersionAvg timevs preact-mastervs preact-local
preact-master105.16ms - 108.45ms-unsure 🔍
-2% - +3%
-1.92ms - +2.86ms
preact-local104.61ms - 108.07msunsure 🔍
-3% - +2%
-2.86ms - +1.92ms
-

usedJSHeapSize

VersionAvg timevs preact-mastervs preact-local
preact-master5.93ms - 5.93ms-unsure 🔍
+0% - +0%
+0.01ms - +0.01ms
preact-local5.92ms - 5.92msunsure 🔍
-0% - -0%
-0.01ms - -0.01ms
-
many_updates

duration

VersionAvg timevs preact-mastervs preact-local
preact-master36.56ms - 39.18ms-unsure 🔍
-0% - +9%
-0.06ms - +3.38ms
preact-local35.09ms - 37.33msunsure 🔍
-9% - +0%
-3.38ms - +0.06ms
-

usedJSHeapSize

VersionAvg timevs preact-mastervs preact-local
preact-master4.76ms - 4.76ms-unsure 🔍
-0% - +0%
-0.00ms - +0.00ms
preact-local4.76ms - 4.76msunsure 🔍
-0% - +0%
-0.00ms - +0.00ms
-
text_update

duration

VersionAvg timevs preact-mastervs preact-local
preact-master3.48ms - 3.63ms-unsure 🔍
-5% - +4%
-0.16ms - +0.13ms
preact-local3.44ms - 3.69msunsure 🔍
-4% - +5%
-0.13ms - +0.16ms
-

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 Benchmarks

@coveralls
Copy link

coveralls commented Feb 15, 2021

Coverage Status

Coverage increased (+0.005%) to 99.269% when pulling 0466d08 on restructure-master into a70abee on restructure.

@github-actions
Copy link

github-actions bot commented Feb 15, 2021

Size Change: +173 B (0%)

Total Size: 43.4 kB

Filename Size Change
compat/dist/compat.js 3.5 kB +25 B (0%)
compat/dist/compat.module.js 3.51 kB +23 B (0%)
compat/dist/compat.umd.js 3.55 kB +23 B (0%)
dist/preact.js 4.25 kB +25 B (0%)
dist/preact.min.js 4.28 kB +26 B (0%)
dist/preact.module.js 4.26 kB +26 B (0%)
dist/preact.umd.js 4.32 kB +25 B (0%)
ℹ️ View Unchanged
Filename Size Change
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 232 B 0 B
devtools/dist/devtools.module.js 241 B 0 B
devtools/dist/devtools.umd.js 308 B 0 B
hooks/dist/hooks.js 1.13 kB 0 B
hooks/dist/hooks.module.js 1.15 kB 0 B
hooks/dist/hooks.umd.js 1.2 kB 0 B
jsx-runtime/dist/jsxRuntime.js 325 B 0 B
jsx-runtime/dist/jsxRuntime.module.js 335 B 0 B
jsx-runtime/dist/jsxRuntime.umd.js 406 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

@andrewiggins andrewiggins marked this pull request as draft February 16, 2021 00:35
@andrewiggins
Copy link
Member Author

andrewiggins commented Feb 16, 2021

I have one more PR (#3024) that I'd like to get in before doing this merge

Create separate trace log directories per benchmark
@andrewiggins andrewiggins marked this pull request as ready for review February 16, 2021 05:57
@andrewiggins andrewiggins merged commit 0a1e937 into restructure Feb 16, 2021
@andrewiggins andrewiggins deleted the restructure-master branch February 16, 2021 05:58
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.

4 participants