Tag:performance
All the posts with the tag "performance".
Squarespace Site Lighthouse Scores
Let's analyze the performance of some Squarespace sites. Along with the fastest WordPress & Shopify themes.
Signals Proposal Compared to rmemo/WeakRef
WeakRef can simplify systems built using the Signals Proposal. By removing the need to unwatch live Signals. WeakRef is criticized for having extra memory allocations & being slow.
This post shows benchmarks. Including the Signals Proposal polyfill & rmemo, a reactive library that uses WeakRef. Comparing:
- performance
- memory usage
- implementation
V8 & Javascript Core have different Garbage Collection behavior for WeakRef. This caused me confusion with my initial benchmarks which were only synchronous. This post demonstrates the implementations. This post then highlights use cases where WeakRef can be used for simple & flexible reactive apis.