nbody: add simple test figure

This commit is contained in:
2020-10-23 10:53:39 +02:00
parent 8ce88ef046
commit fd1229ddc0
2 changed files with 76 additions and 49 deletions

View File

@@ -335,10 +335,11 @@ let
};
# Datasets used in the figures
ds = with self.bsc.garlic; {
nbody = {
jemalloc = with exp.nbody; pp.merge [ baseline jemalloc ];
freeCpu = with exp.nbody; pp.merge [ baseline freeCpu ];
ds = with self.bsc.garlic; with pp; {
nbody = with exp.nbody; {
test = merge [ baseline ];
jemalloc = merge [ baseline jemalloc ];
freeCpu = merge [ baseline freeCpu ];
};
};
@@ -346,6 +347,11 @@ let
fig = with self.bsc.garlic; {
nbody = {
test = pp.rPlot {
script = ./garlic/fig/nbody/test.R;
dataset = ds.nbody.test;
};
jemalloc = pp.rPlot {
script = ./garlic/fig/nbody/jemalloc.R;
dataset = ds.nbody.jemalloc;