diff options
Diffstat (limited to 'dom/webgpu/tests/cts/checkout/tools/websocket-logger/README.md')
-rw-r--r-- | dom/webgpu/tests/cts/checkout/tools/websocket-logger/README.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dom/webgpu/tests/cts/checkout/tools/websocket-logger/README.md b/dom/webgpu/tests/cts/checkout/tools/websocket-logger/README.md new file mode 100644 index 0000000000..1328f12e97 --- /dev/null +++ b/dom/webgpu/tests/cts/checkout/tools/websocket-logger/README.md @@ -0,0 +1,9 @@ +This simple utility receives messages via a WebSocket and writes them out to both the command line +and a file called `wslog-TIMESTAMP.txt` in the working directory. + +It can be used to receive logs from CTS in a way that's resistant to test crashes and totally +independent of which runtime is being used (e.g. standalone, WPT, Node). +It's used in particular to capture timing results for predefining "chunking" of the CTS for WPT. + +To set up, use `npm ci`. +To launch, use `npm start`. |