tombyrer
tombyrer
Explore posts from servers
SSolidJS
Created by tombyrer on 1/8/2025 in #support
Difference between Soild/Signals & Preact/Signals?
anyhow, maybe look at alien-signals as the Soild2.0 signal engine? v1.0 is a rewrite of their 0.6, so you have a few choices there.
27 replies
SSolidJS
Created by tombyrer on 1/8/2025 in #support
Difference between Soild/Signals & Preact/Signals?
molBench is like 2 years old; ancient history! 😉 missing are the curent fastest I've averaged 5 I've also took 5 readings, threw out the fastest & slowest, then averaged the middle 3, so kinda means-average.
27 replies
SSolidJS
Created by tombyrer on 1/8/2025 in #support
Difference between Soild/Signals & Preact/Signals?
27 replies
SSolidJS
Created by tombyrer on 1/8/2025 in #support
Difference between Soild/Signals & Preact/Signals?
paging @milo if you want to 'borrow' from alien-signals for Soild2
27 replies
SSolidJS
Created by tombyrer on 1/8/2025 in #support
Difference between Soild/Signals & Preact/Signals?
Side note: don't use AI to sum/avg tables, it is crap. So, using the old-school 'run manytimes, then average in a spreadsheet' test, I tested the new alien-signals v1.0.0 vs prio v0.6.0, seems the rewrite is about 2% slower. But the v1 rewrite is meant to be adapted into other libraries. https://github.com/stackblitz/alien-signals/issues/38
27 replies
SSolidJS
Created by tombyrer on 1/8/2025 in #support
Difference between Soild/Signals & Preact/Signals?
CPU Intel(R) i7-13620H 2.40 GHz used DeepSeek to add the columns together, couldn't give me a graphic chart :/
alien-signals: 1,692.89
@reactively: 2,269.09
s-js: 2,654.76
Oby: 3,035.40
Sveltev5: 3,063.93
$mol_wire: 3,318.18
@amadeus-it-group/tans: 3,529.71
SolidJS: 4,281.22
uSignal: 5,089.93
PreactSignals: 5,172.46
Signia: 6,768.24
@vue/reactivity: 7,095.32
MobX: 7,991.88
TC39SignalsPolyfill: 22,089.48
@angular/signals: 24,614.27
alien-signals: 1,692.89
@reactively: 2,269.09
s-js: 2,654.76
Oby: 3,035.40
Sveltev5: 3,063.93
$mol_wire: 3,318.18
@amadeus-it-group/tans: 3,529.71
SolidJS: 4,281.22
uSignal: 5,089.93
PreactSignals: 5,172.46
Signia: 6,768.24
@vue/reactivity: 7,095.32
MobX: 7,991.88
TC39SignalsPolyfill: 22,089.48
@angular/signals: 24,614.27
Note: my test had SolidJS faster than uSignal & Preact. Svelte5 is slower. alien-signals is VERY fast, but has a smaller API.
27 replies
SSolidJS
Created by tombyrer on 1/8/2025 in #support
Difference between Soild/Signals & Preact/Signals?
ah wait a second, or rather, you don't have seconds, you have your test by iterations it seems, but repo is by mSeconds.
27 replies
SSolidJS
Created by tombyrer on 1/8/2025 in #support
Difference between Soild/Signals & Preact/Signals?
Thanks! Rankings are the same, but notice the jump in i9 between $mol & Preact? & M3 has a jump between Preact & uSignal. Poor SolidJS, in last-ish place still 😢
27 replies
SSolidJS
Created by tombyrer on 1/8/2025 in #support
Difference between Soild/Signals & Preact/Signals?
Oh thanks. Interesting results, though I wish he also tested on an x86 CPU instead of an M3, which is like only 1% of JS runtimes. But anyhow, seems that the fastest, alien-signals, may be merged into Vue soon. Though someone else has an interesting counter test. Quite the rabbit hole signals are. 🐇 🕳️ 🗼
27 replies
SSolidJS
Created by tombyrer on 1/8/2025 in #support
Difference between Soild/Signals & Preact/Signals?
Thanks for the links. Forgot about uSignals, but I'm confused why the 2 performance tests are different? Thanks also @peerreynders . I forgot to mention I was looking at primary stand-alone, but good to know compatibility.
27 replies
SSolidJS
Created by tombyrer on 1/4/2025 in #support
createSignal with preexisting data store?
Yea, that was my initial reason to have a separate data.tsx; so the users can use any type of 'store' they want for the framework they're in. Exactly how would I do that in Soild please?
6 replies
SSolidJS
Created by tombyrer on 1/4/2025 in #support
createSignal with preexisting data store?
6 replies
HHono
Created by tombyrer on 8/8/2024 in #help
return early from Promise loop
Yes, but there can be more than 1 key. But they should only match 1:1, so if 3 keys are being looked up, then there should be at max only 3 results. So once that third result is found, the loop should stop.
3 replies
HHono
Created by Jacob on 8/7/2024 in #help
Issues with Cloudflare KV
What exactly are you trying to do? & are you using a build tool like Wrangler &/or Vite?
5 replies
KPCKevin Powell - Community
Created by tombyrer on 5/17/2024 in #back-end
JavaScript host like Cloudflare Workers & Glitch had a baby?
2 replies
KPCKevin Powell - Community
Created by tombyrer on 5/1/2024 in #front-end
CSS color fallbacks
thanks! I was thinking that P3 > OKLAB, due to the wider color gambut, or does OKLAB dip into P3/REC2000 if you let it?
4 replies
KPCKevin Powell - Community
Created by patwasalinguist on 5/1/2024 in #front-end
Does Safari on OSX support CSS nesting?
I think the spec changed so you do not need the &, so Google/AI searches are outdated. Have you tested in your Safari locally? https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_nesting/Using_CSS_nesting
12 replies
SSolidJS
Created by tombyrer on 4/15/2023 in #support
Animation capture like Remotion?
I think I'll build a non-platform specific capturer.
4 replies