Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,17 +128,18 @@ And open the following in your browser: [http://localhost:8080/](http://localhos
For a quick text summary from `results.json` without opening the browser:

```
python tools/analyze.py <engine> <command> [--filter <tag>]
python tools/analyze.py <engine> [--command <command>] [--filter <tag>]
```

- `<engine>` — e.g. `tantivy-main`, `tantivy-0.26`, `iresearch-26.03.1`
- `<command>` — `TOP_100`, `TOP_100_COUNT`, or `COUNT`
- `--command` — benchmark command such as `TOP_100`, `TOP_100_COUNT`, or `COUNT`; defaults to `all`
- `--filter` — optional tag filter: `union`, `intersection`, or `intersection_union`

Examples:
```
python tools/analyze.py tantivy-main TOP_100_COUNT
python tools/analyze.py tantivy-main TOP_100 --filter union
python tools/analyze.py tantivy-main
python tools/analyze.py tantivy-main --command TOP_100_COUNT
python tools/analyze.py tantivy-main --command TOP_100 --filter union
```

It prints query count, sample count, and avg/min/max/p50/p95/p99 latencies (in µs).
Expand Down
2 changes: 1 addition & 1 deletion skills/bisect/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ Rebuild and bench:
```bash
cd engines/<engine>/ && cargo build --release && cd -
WARMUP_TIME=3 make bench
python tools/analyze.py <engine> TOP_100_COUNT --filter union
python tools/analyze.py <engine> --command TOP_100_COUNT --filter union
```
2 changes: 1 addition & 1 deletion skills/test-changes/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ Rebuild and bench:
```bash
cd engines/<new-tantivy-engine-name>/ && cargo build --release && cd -
WARMUP_TIME=3 make bench
python tools/analyze.py <engine> TOP_100_COUNT --filter union
python tools/analyze.py <engine> --command TOP_100_COUNT --filter union
```
Loading