switchy
switchy copied to clipboard
Add bench marking tools/tests
We need a reliable and consistent way to measure both python performance as well as FS performance as a load generator. A few approaches I can think of off-hand include:
- include cProfile wrapper scripts much like pytest does: https://github.com/pytest-dev/pytest/tree/master/bench for bench marking:
- event loop
- measurement collection
- call generator burst loop
- create a test case which launches a SIPp uas with
-rtp_echoenabled and run theBertapp to benchmark FS as a load generator.- Assuming SIPp can handle a lot of simultaneous RTP streams we should be able to find the breaking point of the FS caller.