A set of selected web frameworks benchmark based upon generating prime numbers.
Route | Description |
---|---|
/primes/find | Finds first 100 prime numbers and return them as JSON array |
/primes/random | Generates 100 numbers up to 1,000,000 and determines primality |
Application | Port |
---|---|
ASP.NET Core | 5000 |
Node.JS | 8000 |
Perfect 2.0 | 8181 |
cd aspnetcore-benchmark/
dotnet restore
dotnet run
cd nodejs-benchmark/
node index.js --production
cd swift-perfect20
swift build
.build/debug/PerfectTemplate