Keep benchmark methods in the CaCu documentation
This commit is contained in:
@@ -178,7 +178,7 @@ This experiment uses synthetic instance rows and preassembled episode studies. T
|
||||
|
||||
### Measured request times
|
||||
|
||||
Both comparisons used local SQLite and Flask's HTTP test client. The scripts checked response equality before timing. The two rows below have different workloads and baselines.
|
||||
Both comparisons used local SQLite and Flask's HTTP test client. Response equality was checked before timing. The two rows below have different workloads and baselines.
|
||||
|
||||
| Request and workload | Requests per path | Baseline median / p95 | Prototype median / p95 |
|
||||
|---|---:|---:|---:|
|
||||
@@ -197,9 +197,4 @@ python -m models.cacu.experiments.instance_follow_up /tmp/cacu-follow-up.sqlite
|
||||
|
||||
Run the WebApi branch with the Models branch importable and `CACU_SIMULATED_INSTANCE_PUBLICATION=/tmp/cacu-follow-up.sqlite`. A request to `/cacu/seguimiento/instancias?escenario=cin2_pim` returns a page. The sample episode is available at `/cacu/episodios/eoc-demo-1/estudios?publicacion_id=demo-v1`.
|
||||
|
||||
From the WebApi checkout, run the experiment scripts. The existing endpoint benchmark also takes `DBT_MANIFEST` for the standard synthetic fixture and uses WebApi commit `4840bd3` as its baseline.
|
||||
|
||||
```bash
|
||||
python experiments/benchmark_follow_up_window.py
|
||||
python experiments/benchmark_follow_up_instances.py --patients 20000 --repeats 20
|
||||
```
|
||||
See `docs/cacu-follow-up-benchmarks.md` on the matching WebApi branch for the measurement method and endpoint regression checks.
|
||||
|
||||
Reference in New Issue
Block a user