squeaky-pl / japronto

Screaming-fast Python 3.5+ HTTP toolkit integrated with pipelining HTTP server based on uvloop and picohttpparser.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request - Benchmarks - Add Nim/Jester

UNIcodeX opened this issue · comments

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.