From c16e6d69ae6d23f0905f55349c17fdf574a84355 Mon Sep 17 00:00:00 2001 From: italo jose Date: Thu, 6 Mar 2025 18:03:51 -0300 Subject: [PATCH] shell: enable visualization for performance testing - Added support for optional Artillery Cloud API key in monitor.sh - Updated README.md with details on visualizing results and report generation - Created reports directory in monitor.sh for storing JSON and HTML reports - Improved log output messages for clarity --- .gitignore | 1 + README.md | 35 +++++++++++++++++++++++ assets/cloud-artillery-compare.png | Bin 0 -> 230104 bytes assets/local-html.png | Bin 0 -> 111698 bytes scripts/monitor.sh | 43 +++++++++++++++++++++++++++-- 5 files changed, 76 insertions(+), 3 deletions(-) create mode 100644 assets/cloud-artillery-compare.png create mode 100644 assets/local-html.png diff --git a/.gitignore b/.gitignore index 827b821..dfbf401 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ node_modules/ /playwright/.cache/ /logs* .env* +/reports* \ No newline at end of file diff --git a/README.md b/README.md index 2040c77..7ad7e4a 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,41 @@ The process will take some time, and the logs are updated live at `./logs`. Your machine might struggle with the default artillery configuration, but it should still reveal performance differences between the tests. Adjust the configuration as needed by learning from [artillery.io options](https://www.artillery.io/docs). +### Visualizing Results + +After running the monitoring script, you get several outputs to analyze the benchmark results: + +1. **Log Files**: Plain text logs are generated in the `./logs/--