krausest / js-framework-benchmark

A comparison of the performance of a few popular javascript frameworks
https://krausest.github.io/js-framework-benchmark/
Apache License 2.0
6.52k stars 811 forks source link

updated: Riot.js version #1616

Closed GianlucaGuarini closed 2 months ago

GianlucaGuarini commented 2 months ago

Update to Riot.js 9

krausest commented 2 months ago

Here's the comparison for the updated frameworks. On the left the new keyed version on the right the previous keyed version. With the exception of vue-vapor all results including vanillajs were slower than in the full run. I haven't any proof yet, but it seems to me that security patches after a major update can cause some slowdown for the benchmark.

Screenshot 2024-03-05 at 08 11 36

GianlucaGuarini commented 2 months ago

Side note: why is Riot.js tagged with this issue https://github.com/krausest/js-framework-benchmark/issues/1139 ? Riot doesn't use any Function or Eval expressions

krausest commented 2 months ago

Sorry, you're right. There was an additional empty script element in the index.html. The flag is applied when either the page doesn't work with a CSP or a violation is reported by the CSP. Chrome reported that script as violating the CSP. I'll remove the empty script and the #1139 flag. I'll open an issue to check the flag for the other implementations and add the check in the rebuild script.