Commit graph

85 commits

Author SHA1 Message Date
Joakim Frostegård
1f24279ed3 http load test: use relaxed atomics 2023-01-18 21:59:52 +01:00
Joakim Frostegård
965a9fdf35 http load test: fix incoming bandwidth stats 2023-01-18 21:56:09 +01:00
Joakim Frostegård
9ace8f53b8 Upgrade hashbrown to version 0.13 2022-11-12 14:37:53 +01:00
Joakim Frostegård
db561a1101 Use gamma distribution for all load testers 2022-10-26 19:49:30 +02:00
Joakim Frostegård
65a8c9d6ff Use Rust 1.64 workspace inheritance 2022-09-25 11:40:43 +02:00
Joakim Frostegård
cedf0b61ca Exit with error message on unrecognized config keys 2022-07-05 11:26:46 +02:00
Joakim Frostegård
7553a29416 http load test: use log crate for logging deserialization errors 2022-04-11 01:19:22 +02:00
Joakim Frostegård
db79adc13b http load test: exclusively use TLS 1.3 2022-04-11 01:15:26 +02:00
Joakim Frostegård
c229872134 Use idiomatic feature names & namespace support from Rust 1.60 2022-04-10 01:25:03 +02:00
Joakim Frostegård
fc9211835e http load test: use new escape_ascii from Rust 1.60 2022-04-10 01:21:25 +02:00
Joakim Frostegård
7215d26ff4 http load test: add keep_alive setting 2022-04-10 01:01:34 +02:00
Joakim Frostegård
da6180e871 http load test: use futures-rustls 2022-04-10 00:58:36 +02:00
Joakim Frostegård
0a63ee3ce7 load testers: name worker threads "load-test" 2022-04-06 19:15:01 +02:00
Joakim Frostegård
bd6764afaf Move aquatic_cli_helpers code into aquatic_common and remove crate 2022-04-06 19:02:39 +02:00
Joakim Frostegård
908e18360c Merge branch 'master' into cpu-pinning-2022-03-30 2022-04-04 22:49:25 +02:00
Joakim Frostegård
6c149331dc Rewrite CpuPinningConfig implementation to support aquatic_toml_config 2022-04-04 22:38:47 +02:00
Joakim Frostegård
c18a59b0cb Use proper workspace path declarations, remove workspace patch section 2022-04-04 12:46:42 +02:00
Joakim Frostegård
9f8f80a17b http protocol: remove AnnounceRequest::compact, fail parsing if set to 0 2022-04-04 12:16:13 +02:00
Joakim Frostegård
b2a3c034b0 http_protocol: allow announce/scrape url suffix; use in load test 2022-04-03 19:17:57 +02:00
Joakim Frostegård
05faa10f4b http load test: on response deserialize failure, print headers too 2022-04-03 19:08:20 +02:00
Joakim Frostegård
07bb75c298 http load test: add missing AnnounceRequest fields 2022-04-03 16:59:01 +02:00
Joakim Frostegård
fb607ac0c2 Improve CPU pinning 2022-03-30 22:53:15 +02:00
Joakim Frostegård
f047155366 Add Cargo.toml descriptions for load testers 2022-03-26 12:04:10 +01:00
Joakim Frostegård
d78b0fa31e Bump version to 0.2.0 for all aquatic crates 2022-03-26 11:39:37 +01:00
Joakim Frostegård
90437e23bb Cargo.toml files: add readme keys, remove some exclude keys 2022-03-26 11:39:04 +01:00
Joakim Frostegård
f5b1cd5525 Add command-line option for printing version and commit info 2022-03-24 16:17:17 +01:00
Joakim Frostegård
a9f1aeb70c Add crate keywords, update descriptions 2022-03-20 20:41:56 +01:00
Joakim Frostegård
3785e57513 Sort dependencies in Cargo.toml files 2022-02-20 01:44:34 +01:00
Joakim Frostegård
f18fc52675 Run cargo fmt 2022-02-20 00:45:04 +01:00
Joakim Frostegård
f6a7514fb8 Update to glommio version 0.7 (using crates.io instead of git version) 2022-02-19 15:32:25 +01:00
Joakim Frostegård
14a4c10546 s/toml_config/aquatic_toml_config/ 2022-02-19 15:11:00 +01:00
Joakim Frostegård
4073a1b8be Update hashbrown to 0.12 2022-02-19 14:32:31 +01:00
Joakim Frostegård
a208775104
Include documentation in printed config files (#41)
* Start work on printing toml config with comments

* WIP: toml_config: extract default values for fields

* WIP: toml_config: handle single-level nested structs

* WIP: toml_config: improve comment handling, std type trait impls

* WIP: toml_config: add Private trait, improve comment handling, clean up

* toml_config: fix default value bug; improve tests

* Use toml_config in all applicable crates; add toml_config enum support

* toml_config: improve comments

* toml_config_derive: support enum comments

* Improve config comments for udp, cli_helpers, common

* Improve config comments

* Add tests for Config struct TomlConfig implementations

* Improve Config comments

* Improve Config comments

* ws, http: add config comments for tls cert and private key lines

* small fixes to toml_config and toml_config_derive

* Run cargo fmt

* Fix typo in several config comments

* Update README

* Update README
2021-12-26 11:33:27 +01:00
Joakim Frostegård
473276cd46 Switch to rust edition 2021 2021-11-24 18:56:26 +01:00
Joakim Frostegård
028a366ce5 Don't unnecessarily constrain crate versions in Cargo.toml files 2021-11-19 02:45:53 +01:00
Joakim Frostegård
0e61744443 http load test: connection open interval setting, other improvements 2021-11-11 17:52:57 +01:00
Joakim Frostegård
4f8328b70a Feature-gate CPU pinning, since it only works on Linux 2021-11-09 11:40:16 +01:00
Joakim Frostegård
e86410291a cpu pinning: set affinity to multiple hyperthreads, fix issues 2021-11-07 13:31:03 +01:00
Joakim Frostegård
3114f8692b http load test: cleanup 2021-11-07 11:52:05 +01:00
Joakim Frostegård
57896f4648 http, http load test: improve CPU pinning 2021-11-07 11:25:50 +01:00
Joakim Frostegård
49ed4371e7 Run cargo fmt, clean up imports 2021-10-28 01:23:43 +02:00
Joakim Frostegård
80447d9d1b aquatic_http_load_test: refactor timer code; panic on an error case 2021-10-28 01:21:47 +02:00
Joakim Frostegård
e458cc54db aquatic_http_load_test: remove mio implementation, clean up 2021-10-28 01:13:18 +02:00
Joakim Frostegård
13d18bbf03 aquatic_http_load_test: add glommio implementation 2021-10-28 01:06:13 +02:00
Joakim Frostegård
32541c5c15 Upgrade hashbrown 2021-08-15 22:29:09 +02:00
Joakim Frostegård
d0e716f80b Run rustfmt, clean up aquatic_http_protocol/Cargo.toml 2021-08-15 22:26:11 +02:00
Joakim Frostegård
f9626ade57 Upgrade quickcheck to 1.0, adjust code, optimizing a slow test 2021-02-10 18:36:23 +01:00
Joakim Frostegård
e1260d14de Update rand to 0.8 and rand_distr to 0.4 2021-02-10 18:36:23 +01:00
Joakim Frostegård
34260cd2c3 Move aquatic_http_protocol package description to correct place 2020-09-13 17:47:21 +02:00
Joakim Frostegård
fe11ed138a Use (patched) crates.io deps for crates, add some package metadata 2020-09-13 17:30:26 +02:00