fix(simulation): enhance client request process with progress tracking and refine metrics computation

- Added `tqdm` progress bar to track simulation progress in real-time.
- Improved computation of hit rates and average ages for better accuracy.
- Updated data export logic for clearer output and better insights.
Reran Experiments

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2024-11-28 15:21:56 +01:00
parent 123129f3a9
commit a484d49128
43 changed files with 5132 additions and 2167 deletions

View File

@@ -1,8 +1,8 @@
| | hit_rates |
|---:|------------:|
| 0 | 0.45867 |
| 1 | 0.613708 |
| 2 | 0.751005 |
| 3 | 0.815118 |
| 4 | 0.852101 |
| 5 | 0.87731 |
| | hit_rates |
|:-----|------------:|
| 0.5s | 0.430006 |
| 1.0s | 0.602178 |
| 2.0s | 0.725968 |
| 3.0s | 0.804885 |
| 4.0s | 0.842316 |
| 5.0s | 0.876141 |