-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Benchmark TANNER #71
Comments
I made some checks and improvements, the results in the table below. Tested with
In this case, api testing is the most meaningful: we send requests directly on TANNER. So, first measurement without any changes:
After adding asyncio_redis, Requests/sec became about 290, and after adding uvloop it became faster:
The slowest emulator is sqli emulator, I don't know what we can improve in it right now: sqlite3 not async and we haven't any solution for libinjection. Also we have a lot of file operation in the lfi emulator, maybe it will be better, if we move the virtual file system to redis? |
Good work. Use runsnakerun for some analysis: http://www.vrplumber.com/programming/runsnakerun/ |
Benchmark with latest changes: Without uvloop:
With uvloop
|
The 9 timeouts without uvloop is pretty scary... |
Good work. I think we can close this issue for now. We might want to keep an eye on the average response time when we do some monitoring. |
How many requests can we serve per second? Which APIs are slow? Which handlers are slow? Does https://github.com/MagicStack/uvloop speed up things?
The text was updated successfully, but these errors were encountered: