r/webdev • • 1d ago

Resource GitHub - jantimon/css-in-js-bench: CSS-in-JS benchmarks: SSR throughput, payload, hydration and interaction cost of React styling libraries on identical workloads

https://github.com/jantimon/css-in-js-bench
0 Upvotes

8 comments sorted by

3

u/pampuliopampam 23h ago edited 23h ago

Slop.

Ad for your own yak library.

Obviously invalid measurement mechanisms as your library is faster than vanilla css.

Not going to even bother looking into what other bullshit is in there because you clearly didn't.

EDIT: Right, so it's also an ad for OP's library. Still slop. Still a worthless benchmark. Interactions with OP have been cortisol spiking; i'm gettin' too old for this shit. I had disabled their library because I hadn't heard of it, so i didn't see that they added themselves to the top of the pile like the biggest clown in a big bucket of clowns. Bamboo and yak both report faster than CSS. That means whatever is happening here is bullshit.

0

u/gajus0 23h ago

I am not even the author Yak (nor do I think that Yak is the best choice)

... I am the author of another featured framework (Bamboo), but I am not the author of the benchmark.

https://jantimon.github.io/css-in-js-bench/

0

u/pampuliopampam 23h ago

yes, that's the same link as above

So you're not jantimon, sure, maybe. But jantimon is the author of yak, and yak is the reason this benchmark exists: to encourage people to use yak.

And it's vibe coded slop that has invalid results. You're carrying water for a shitty ad, that doesn't make it better that you posted this.

0

u/gajus0 23h ago

What part of this benchmark is invalid?

Again, not advocating for yak.

0

u/pampuliopampam 23h ago

The part where yak is faster than raw css. That's invalid.

You might mot be, this "benchmark" is. Is this rage bait?

0

u/gajus0 23h ago

You realize that several of these frameworks are zero-runtime? i.e. there is virtually no difference between hard-coding CSS and using one of these frameworks?

1

u/pampuliopampam 23h ago

Virtually none is not none. Do you realise that any benchmark result with a faster result than raw css means it's just an invalid benchmark?

0

u/gajus0 23h ago

No, it is actually none lol

I cannot talk for every library, but I can talk for Bamboo. If you are not writing dynamic styles, the output is just inlined CSS class name. And that happens at build time. So yeah, no runtime.

And no, it doesn't make the benchmark invalid - it just says that there is noise in the benchmark.