feat: rewriting loadgen to Rust with existing input and config support#51
Open
feat: rewriting loadgen to Rust with existing input and config support#51
Conversation
- Implement CLI interface with clap (all original flags supported) - Add YAML configuration parsing with serde_yaml - Implement variable system (file, list, sequence, range, uuid, time, random_array, bitmap) - Add template engine for $[[var]] syntax - Implement HTTP client with reqwest (timeouts, compression, TLS) - Add load generator with tokio async runtime and rate limiting - Implement response assertions (equals, contains, regexp, range, in) - Add statistics collection with latency percentiles (p50-p999) - Implement DSL parser for simplified request definitions - Add test suite with 35 passing tests Agent-Logs-Url: https://github.com/infinilabs/loadgen/sessions/9dc3bec9-9dc2-4a4a-a1b6-943e3979554f Co-authored-by: medcl <64487+medcl@users.noreply.github.com>
Agent-Logs-Url: https://github.com/infinilabs/loadgen/sessions/9dc3bec9-9dc2-4a4a-a1b6-943e3979554f Co-authored-by: medcl <64487+medcl@users.noreply.github.com>
Agent-Logs-Url: https://github.com/infinilabs/loadgen/sessions/9dc3bec9-9dc2-4a4a-a1b6-943e3979554f Co-authored-by: medcl <64487+medcl@users.noreply.github.com>
The Rust build artifacts directory should not be committed. The .gitignore already has target/ listed. Agent-Logs-Url: https://github.com/infinilabs/loadgen/sessions/2baa4f91-0844-4a5e-83b7-e4a1d8b6623e Co-authored-by: medcl <64487+medcl@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
medcl
April 15, 2026 04:13
View session
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
loadgen-rust/target/directory containing Rust build artifacts was accidentally committed. This adds ~6800 generated files that shouldn't be in version control.Changes
loadgen-rust/target/from git index viagit rm -r --cached.gitignorealready containstarget/entry, preventing future commits