Commit Graph

31 Commits

Author SHA1 Message Date
Malyshev Artem
5c74ee587e Installable benchmark package. (#501)
* Make benchmark installable module.

* Use passed url in the Benchmarker constructor.

* Correct percentile output.

* Import reactor globally.

Since it used in the benchmarker.
2017-01-23 22:04:42 -08:00
Malyshev Artem
335cd1625e Correct benchmark test for recent channels version. (#487)
* Ignore Emacs backups.

* Do not override default websocket.connect handler.

Channels specification 1.0 requires that websocket.connect handler
returns meaningful message with {'accept': True} at least.

* Add rabbitmq channel layer settings.

* Add benchmark requirements in separate file.

* Add RabbitMQ infrastructure part.

* Adapt benchmark README for new docker layout.

* Adapt fabric deploy for new settings module.
2017-01-17 12:25:08 -08:00
Muslu YÜKSEKTEPE
28666f26cf Correct spelling mistakes (#464)
line 73:
sudo apt-get install fabric
2017-01-08 13:22:50 -08:00
Paul
6c471ef915 Benchmark script never completed on Docker (#211) (#428)
* Do not generate new fingerprint when connection fails

* Do not try to print latencies when all connections failed

* Update asgi_redis and channels versions in Dockerfile
2016-11-05 15:16:27 +01:00
Andrew Godwin
971d3fc8d0 Django-ification 2016-09-09 13:29:12 +01:00
Robert Roskam
f69bd99c61 Many changes to the test project (#333)
* Added in simple locust file

* Correcting the file name

* Updated to latest version of daphne

* moving settings up

* Moved over channels settings

* Removed channels settings

* Removed settings file

* Moved around files

* Made a file for normal wsgi

* Changed regular wsgi to point to channels settings

* Create __init__.py

* Added in the appropriate import

* Named it right

* Create urls_no_channels.py

* Delete urls_no_channels.py

* Doing this so I don't have to have multiple urls

* Update urls.py

* Update urls.py

* Added in fabric cmd for installing nodejs loadtest

* Added in git dependency

* Added in a symlink for loadtest

* Made run_loadtest command

* Added in argument for time

* Changed to format on string

* Updated arguments

* Fixed typo for argument

* Made some comments and moved around some tasks

* Edits to readme

* Add a lot more documentation

* Adjusted formatting

* Added a comment

* Made formatting cahnges

* Slight language change

* Changed name for testing

* Changed name for testing

* Update asgi.py

* Added in alternate ChannelLayer

* Rename chanells_inmemory.py to chanels_inmemory.py

* Rename chanels_inmemory.py to channels_inmemory.py

* Create asgi_inmemory

* Rename asgi_inmemory to asgi_inmemory.py

* Added in routing

* Switching to instantiated class

* Update channels_inmemory.py

* Update channels_inmemory.py

* Altered the fabric testing tasks

* Update and rename asgi_inmemory.py to asgi_ipc.py

* Update and rename channels_inmemory.py to channels_ipc.py

* Updated to include asgi_ipc

* Updated environment setup task

* Spelling

* Updated channel layer

* Update asgi_ipc.py

* Rename asgi_ipc.py to asgi_for_ipc.py

* Update asgi_for_ipc.py

* Trying something

* Trying something else

* Changed it back

* changed back
2016-09-02 08:09:01 -07:00
Robert Roskam
fd74863ba4 Changed testproject, added tasks, updated docs (#284)
* Added in simple locust file

* Correcting the file name

* Updated to latest version of daphne

* moving settings up

* Moved over channels settings

* Removed channels settings

* Removed settings file

* Moved around files

* Made a file for normal wsgi

* Changed regular wsgi to point to channels settings

* Create __init__.py

* Added in the appropriate import

* Named it right

* Create urls_no_channels.py

* Delete urls_no_channels.py

* Doing this so I don't have to have multiple urls

* Update urls.py

* Update urls.py

* Added in fabric cmd for installing nodejs loadtest

* Added in git dependency

* Added in a symlink for loadtest

* Made run_loadtest command

* Added in argument for time

* Changed to format on string

* Updated arguments

* Fixed typo for argument

* Made some comments and moved around some tasks

* Edits to readme

* Add a lot more documentation

* Adjusted formatting

* Added a comment

* Made formatting cahnges

* Slight language change
2016-08-03 08:30:35 -07:00
Steve Steiner
405e5b3b26 Update channels test readme (#212)
* Add documentation on how to build and run benchmark.

* Update README.rst with instructions for running against local server

* Add requirements.txt referenced in new instructions

* Updated port to 80 for Docker test as daphne serves on that port
2016-06-17 17:18:09 +01:00
Andrew Godwin
80a9019cb2 Fix echo endpoint in testproject 2016-05-30 00:18:45 +00:00
Andrew Godwin
bc51d657d5 Add spawn rate control 2016-03-20 19:10:19 -07:00
Andrew Godwin
0ef19c9074 Don't try and spawn all sockets instantly 2016-03-20 19:03:06 -07:00
Andrew Godwin
40f6d198fa Even better precision on benchmarker concurrency 2016-03-20 18:49:11 -07:00
Andrew Godwin
808231cdc5 Don't let benchmarker overshoot concurrency 2016-03-20 18:46:10 -07:00
Andrew Godwin
db9661b31d Throw in fabfile for benchmarking while I'm here 2016-03-20 18:43:52 -07:00
Andrew Godwin
2fc2a0f67c 99th percentile for ws benchmarker 2016-03-20 18:37:52 -07:00
Andrew Godwin
7e37440c93 Update benchmarker to be more consistent and flexible 2016-03-20 18:34:39 -07:00
Andrew Godwin
5c1a0fc096 Update default redis url for test project 2016-03-20 18:34:30 -07:00
Andrew Godwin
a9d7284488 Convert port into an int in benchmarker 2016-03-20 18:10:33 -07:00
Andrew Godwin
e7a5ad01fd Update benchmarker for newer Autobahn 2016-03-20 18:09:54 -07:00
Andrew Godwin
5676f2da49 Update benchmarker to work with custom host/port 2016-03-20 18:05:29 -07:00
Andrew Godwin
6ed46c7228 Update dockerfile a bit so it caches right 2016-03-20 18:05:16 -07:00
Andrew Godwin
caa589ae70 Correct project name in testproject.asgi 2016-03-20 17:12:19 -07:00
Andrew Godwin
b3c101bd79 Make test project useable in a production load testing setting 2016-03-20 17:06:51 -07:00
Andrew Godwin
bea5b138ef Update test project with HTTP endpoint 2016-03-20 14:31:32 -03:00
Andrew Godwin
69186ef7b7 Replace linearize with the more useful enforce_ordering. 2016-02-24 00:40:38 +00:00
Andrew Godwin
9d8d36007b Latency stats for benchmarker 2016-02-23 21:57:39 +00:00
Andrew Godwin
9437dc17b5 Fix line endings 2016-02-23 21:40:52 +00:00
Andrew Godwin
ca4e3f0af5 Make benchmarker work properly 2016-02-23 21:40:30 +00:00
Andrew Godwin
5df99c9cfd Fix some incorrect backend layer references 2016-01-17 14:31:04 -08:00
Andrew Godwin
b928846391 Add basic benchmark script 2015-11-07 03:16:39 -08:00
Andrew Godwin
e1bf2f5982 Small project to test with 2015-11-07 03:13:15 -08:00