squeaky-pl / japronto

Screaming-fast Python 3.5+ HTTP toolkit integrated with pipelining HTTP server based on uvloop and picohttpparser.
MIT License
8.62k stars 580 forks source link

Request - Benchmarks - Add Nim/Jester #168

Closed UNIcodeX closed 3 years ago

UNIcodeX commented 4 years ago
import asyncdispatch, jester, os, strutils

routes:
  get "/":
    resp "Hello world!"

build with: nim c --threads:on --gc:markAndSweep -d:release {file.nim}

On my test machine, I get 771768 requests / second.

For comparison, I get 974294 requests / second with japronto on the same machine.