logoalt Hacker News

fidrelity04/01/20252 repliesview on HN

I believe it's referencing this: https://github.com/KonnorRogers/view-layer-benchmarks


Replies

byroot04/01/2025

Can't believe this still has to be debunked. No Phlex certainly isn't 12x faster than ERB. It's noticeably slower than ERB, e.g.: https://github.com/KonnorRogers/view-layer-benchmarks/commit...

In some extreme scenarios with tons of very small partials, it can win against Action View because the Action View partial lookup is significant overhead.

show 2 replies
mrinterweb04/02/2025

There were a few things off about the benchmarks so I made a pull request with some updates. The 12x claim is WAY off. https://github.com/KonnorRogers/view-layer-benchmarks/pull/2...