Laminar submission to js-framework-benchmark #152
Replies: 2 comments 2 replies
-
Hi, that's great, thanks! One thing off my list that I probably would have never found the time for :) The Laminar part looks as good as it gets in realistic conditions, if using the declarative There's some room for improvement in auxiliary aspects, in no particular order:
In real life, you wouldn't bother to do any of this every time, but in that one case where you're actually performance-constrained, you may want to do such things. So, I'm not sure what would be more honest / representative for this benchmark, the default case, or the optimized to death case, or something in between. I'm also not sure how much any of this will improve the performance. Using ew's |
Beta Was this translation helpful? Give feedback.
-
You can find the official measurements of my initial implementation (using Scala Vector) in the most recent run of the benchmark: https://krausest.github.io/js-framework-benchmark/2024/table_chrome_122.0.6261.69.html |
Beta Was this translation helpful? Give feedback.
-
Recently, I set out to try frontend development in Scala; when deciding what framework to start with, I had a look at the js-framework-benchmark but the only Scala.js framework present there is Binding.scala. Eventually, I decided to go with Laminar and I thought that adding it to the benchmark would make a good first project.
My PR is already up: krausest/js-framework-benchmark#1599
However, I don't want to misrepresent the performance of Laminar, so I'd be grateful if someone more experienced checked if I'm not doing anything obviously wrong.
Beta Was this translation helpful? Give feedback.
All reactions