Open aidenhuang630 opened 4 months ago
The recent changes introduce a new load testing utility in load_generator/artillery_generator.py
, enabling users to create YAML configuration files that simulate sinusoidal user load patterns. Additionally, a 210_payload.json
file defines parameters for a function benchmark, while readme.md
provides comprehensive documentation on using the SeBS Load Generator tool, enhancing both usability and functionality.
Files | Change Summary |
---|---|
load_generator/artillery_generator.py |
Introduced a utility for generating YAML configurations for load testing with sinusoidal patterns; added detailed function definitions and enhanced command-line handling. |
load_generator/payloads/210_payload.json |
Added a JSON configuration file for the "210.thumbnailer" function benchmark, specifying resource allocations, runtime parameters, and input/output details. |
load_generator/readme.md |
Created documentation for the SeBS Load Generator tool, including setup instructions, dependency installation, and usage guidelines to enhance user experience. |
dockerfiles/aws/nodejs/Dockerfile.buid2023 , dockerfiles/aws/python/Dockerfile.build2023 |
Added Dockerfiles for Node.js and Python environments, setting up installations, user management utilities, and scripting for container execution. |
sequenceDiagram
participant User
participant CLI
participant ConfigGenerator
participant FileWriter
User->>CLI: Specify max_users, frequency, cycles
CLI->>ConfigGenerator: Call create_yaml_config(max_users, frequency, cycles)
ConfigGenerator->>ConfigGenerator: Generate phases using sine function
ConfigGenerator->>FileWriter: Write configuration to load_test_config.yaml
FileWriter-->>User: Configuration file created successfully
🐰 In the meadow where I hop and play,
A load test tool has come my way!
With YAML files and testing glee,
Configurations dance, oh so free!
So grab your carrots, let’s have some fun,
Load test adventures for everyone! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Introduces a load generating framework for evaluting benchmarks.
Summary by CodeRabbit
New Features
Documentation