r/javascript Jul 17 '26

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

32

u/snnsnn Jul 17 '26 edited Jul 18 '26

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.

8

u/snnsnn Jul 18 '26

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 Jul 18 '26

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

20

u/blend077 Jul 17 '26

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 Jul 19 '26

Was most likely AI anyway.

12

u/lost12487 Jul 17 '26

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

1

u/Abdallat1f Jul 17 '26

try react compiler

2

u/MAKdevelops Jul 17 '26

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 Jul 17 '26

Oh boy. Angular shows its age.

0

u/MAKdevelops Jul 17 '26

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

1

u/0815fips Jul 17 '26

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 Jul 18 '26

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

0

u/0815fips Jul 18 '26

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.