Skip to content

Commit 463f53d

Browse files
authored
R script for generic analysis of simulation output (#467)
1 parent ace84dc commit 463f53d

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

Logbook.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Leios logbook
22

3+
## 2025-07-21
4+
5+
### Generic analysis script for Leios simulator output
6+
7+
See [analysis/trace-processor/ReadMe.md](analysis/trace-processor/ReadMe.md) for instructions on using the R script [analysis/trace-processor/generic-analysis.R](analysis/trace-processor/generic-analysis.R), which generates a set of diagnostic plots from the output of `leios-simulation-trace-processor`.
8+
39
## 2025-07-19
410

511
### Preliminary analysis of block and transaction validation times

analysis/sims/trace-processor/ReadMe.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,10 @@ EB,1020-node-90,1008,8,1020.075,NA,1080.075,1207.091,NA
3939
EB,1020-node-93,1008,5,1020.075,NA,1050.075,1084.091,NA
4040
EB,1040-node-19,944,28,1040.075,NA,1080.075,1104.091,NA
4141
```
42+
43+
44+
## Generic analysis
45+
46+
The R script [generic-analysis.R](generic-analysis.R) creates a generic set of plots from the `cpus.csv`, `lifecycle.csv`, `receipts.csv`, and `resources.csv` files output by `leios-trace-processor`.
47+
48+
Under Nix, simply run `./generic-analysis.R`. Without Nix, run `R --vanilla < generic-analysis.R`.

0 commit comments

Comments
 (0)