prologue icon indicating copy to clipboard operation
prologue copied to clipboard

Adding Prologue to Techempower benchmarks

Open rishavs opened this issue 3 years ago • 3 comments

Hi

Seeing as Prologue uses asynchttpserver, I am very interested in learning about its performance in the Techempower benchmarks. I would love to volunteer here and add Prologue to https://github.com/TechEmpower/FrameworkBenchmarks

I was wondering if you would be ok with this. Let me know and I can start creating a PR.

My plan is to start with

  • JSON Serialization:
  • Plaintext

and later pick up the db ones;

  • Single Database Query
  • Multiple Database Queries
  • Fortunes:
  • Database Updates

and finish the caching one at the end end.

  • Caching

rishavs avatar Oct 17 '20 20:10 rishavs

Yea, that's ok. Thanks! Prologue should be half of jester or httpbeast in benchmark games.

You should install [email protected], set debug = false and compile with --d:release --threads:on.

Refer to: https://github.com/planety/prologue/blob/devel/tests/benchmark/b_logue.nim

ringabout avatar Oct 18 '20 01:10 ringabout

Added a basic plaintext & json benchmark here https://github.com/TechEmpower/FrameworkBenchmarks/pull/6084 If everything works fine, will add the db ones as well.

I will use this issue to share updates.

rishavs avatar Oct 18 '20 04:10 rishavs

Great! If you have any issue, contact me in discord server.

ringabout avatar Oct 18 '20 04:10 ringabout