Skip to content

feat: rewriting loadgen to Rust with existing input and config support#51

Open
Copilot wants to merge 4 commits intomainfrom
copilot/rewrite-loadgen-in-rust
Open

feat: rewriting loadgen to Rust with existing input and config support#51
Copilot wants to merge 4 commits intomainfrom
copilot/rewrite-loadgen-in-rust

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 15, 2026

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

  • Remove loadgen-rust/target/ from git index via git rm -r --cached
  • .gitignore already contains target/ entry, preventing future commits

Copilot AI and others added 4 commits April 14, 2026 10:13
- 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>
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>
@medcl medcl changed the title Remove Rust build artifacts from git tracking feat: rewriting loadgen to Rust with existing input and config support Apr 15, 2026
@medcl medcl marked this pull request as ready for review April 15, 2026 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants