Skip to content

Commit ee8790f

Browse files
authored
Merge pull request #142 from firstbatchxyz/caglacelik/tps-reporter [skip ci]
TPS reporter
2 parents d6ff15d + d94a9b7 commit ee8790f

File tree

4 files changed

+374
-2
lines changed

4 files changed

+374
-2
lines changed

Cargo.lock

Lines changed: 203 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workflows/Cargo.toml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ authors = ["Erhan Tezcan <[email protected]>"]
1010
[dependencies]
1111
# ollama-rs is re-exported from ollama-workflows as well
1212
ollama-workflows = { git = "https://github.com/andthattoo/ollama-workflows" }
13+
env_logger.workspace = true
1314

1415
# async stuff
1516
tokio-util.workspace = true
@@ -29,7 +30,16 @@ rand.workspace = true
2930
log.workspace = true
3031
eyre.workspace = true
3132

33+
sysinfo = { version = "0.32.0", optional = true }
34+
prettytable = { version = "0.10.0", optional = true }
35+
36+
[features]
37+
profiling = ["sysinfo", "prettytable"]
38+
3239
[dev-dependencies]
3340
# only used for tests
34-
env_logger.workspace = true
3541
dotenvy.workspace = true
42+
43+
[[bin]]
44+
name = "tps"
45+
path = "src/bin/tps.rs"

0 commit comments

Comments
 (0)