Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

benchmarks seem to be broken #111

Closed
rishavs opened this issue Oct 17, 2020 · 2 comments
Closed

benchmarks seem to be broken #111

rishavs opened this issue Oct 17, 2020 · 2 comments

Comments

@rishavs
Copy link

rishavs commented Oct 17, 2020

Hi

I wanted to check out the basolato benchmarks, but in techempower many benchmarks are just not working https://www.techempower.com/benchmarks/#section=test&runid=9716e3cd-9e53-433c-b6c5-d2c48c9593c1&hw=ph&test=fortune&a=2
and where they are working, the performance is unexpectedly low (specially for something using httpbeast ^_^). something is clearly not working there.

@itsumura-h
Copy link
Owner

itsumura-h commented Oct 18, 2020

@rishavs
Yes! I'm trying fixing test and updating framework itself.
Here is a test result run in my personal environment.
https://www.techempower.com/benchmarks/#section=test&shareid=cd2b6475-fa6c-4eb5-892b-a61306d9417e&hw=ph&test=plaintext&a=2

About performance, the first cause is sync database access. I fixed it only for PostgreSQL. (https://github.com/itsumura-h/nim-allographer/blob/master/src/allographer/async/asyncpg.nim)
The second is running single thread with async. I'm trying to make it able to run multi threads reference to httpbeast.

@itsumura-h
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants