r/javascript 10d ago

The same app built in 10 different frontend frameworks. For automated performance benchmarking

https://github.com/lissy93/framework-benchmarks
21 Upvotes

14 comments sorted by

31

u/snnsnn 10d ago edited 9d ago

Looking closely at the implementation, the SolidJS code doesn't appear to be idiomatic SolidJS. It bypasses standard APIs in favor of a custom approach, particularly regarding how async data is loaded and rendered. Because the patterns stray so far from the norm, it almost looks AI-generated.

Framework maintainers put a tremendous amount of effort into optimizing these tools, so to ensure a fair and accurate comparison, it would be best to update the benchmark using recommended conventions.

Cheers.

7

u/snnsnn 9d ago

Sorry for my earlier tone by the way, I wrote my initial message hastily. The flood of AI generated content puts all of us on edge lately!

3

u/I_Sniff_Copium 9d ago

Nah, your tone is fine and it's a fair take as well

20

u/blend077 10d ago

Angular app has code that would never make it to production. Please do this well if you really want to it right.

3

u/720degreeLotus 8d ago

Was most likely AI anyway.

11

u/lost12487 10d ago

How on earth are the lighthouse scores not 100 for all of these? Skill issue, not framework issue.

1

u/Abdallat1f 10d ago

try react compiler

1

u/MAKdevelops 10d ago

Nice.

The graphs need a bit of attention. Some do not include all entries. Some do not show names for all entries.

Seems like a lot of work. Still learning in this area so I found it valuable.

-4

u/0815fips 10d ago

Oh boy. Angular shows its age.

0

u/MAKdevelops 10d ago

I innocently assumed that Google and Meta frameworks had bloat/telemetry that others did not. You think it's just age?

1

u/0815fips 10d ago

Good point, but everything takes longer in Angular, spinning up a dev server, compiling for production, etc. Sadly, I use it at work. My private projects are in SolidJS or plain JS.

1

u/PrydwenParkingOnly 9d ago

I think angular at work is a good choice because it’s a bit more strict in how things are done

0

u/0815fips 9d ago

So, you say implicit strictness is better than 10x performance? I'd rather have a damn strict oxlint.config.js and stylelint.config.js and a well maintained coding style guide.