camertron/rux-rails

Rux vs Erb benchmarks

Closed this issue ยท 3 comments

Are there any benchmarks available that compare the render speed of Rux vs ERB templates? Additionally, how does rendering time increase by increasing deeply nested components?

There are currently no benchmarks, although this issue seems to suggest rux is 3-5x slower than Slim. The view_component repo contains a few benchmarks, and so does phlex. I'll see if I can put together a couple of rux benchmarks.

Here we go: #14

It looks like Slim is actually slower than rux?? I must be doing something wrong here?

Maybe Rux really fast ๐Ÿ™ƒ