-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Binary browser test, performance logging (#80)
``` mod: test/browsertest.jl Removed ws writing from main thread to handlers. Prints a performance summary at the end. Increased expected number of messages. mod: test/browsertest.html Less code duplication, simplified conversation. Navigates to browsertest2.html when exitmsg is received. new: test/browsertest2.html Adds one binary socket. Sends binary image data with increasing image size. Displays received images. Logs conversation on page. mod: test/functions_log_test.jl clog now returns nothing, for type stability. mod: test/functions_server.jl Also serves browsertest2.html. localhost -> 127.0.0.1 Specify closing http sockets in responses, "Connection" =>"close". mod: test/handler_functions_events.jl Removed accidentally returned string, ev_listen. mod: test/functions_open_browsers.jl PhantomJS is now 'run' async, not spawned, for console feedback. Introduce sleeping time 8 s between launching browsers, for more readable output and less server congestion. mod: test/handler_functions_websockets_general_test.jl Added text message performance logging, changed ws test conversation. Include a request for a ping from browser (pongs are not output). mod: test/handler_functions_websockets_subprotocol_test.jl Added performance logging. Changed ws test conversation. Added binary handler, which modifies images before sending back to browser. ```
- Loading branch information
Showing
9 changed files
with
641 additions
and
248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.