The subfolders here contain SmallJS benchmarks to run in browsers.
Note that NodeJS uses the V8 JavaScript engine, found in Chrome and Edge,
so it should produce similar results.
Each benchmark is implemented in ST and in native JS, too see the difference.
The results show that in some cases SmallJS runs quite a bit slower than native JS.
For administrative applications this should not be an issue.
For calculation intensive code it is advised to implement it in native TS,
and then call it form ST. This project shows how to do that.
Calculates the all primes upto a maximum, using a basic algorithm.
Calculates the first n Fibonacci numbers.
Calculates the first n digits of pi.