aboutsummaryrefslogtreecommitdiff
path: root/analysis/vis.livemd
diff options
context:
space:
mode:
Diffstat (limited to 'analysis/vis.livemd')
-rw-r--r--analysis/vis.livemd13
1 files changed, 10 insertions, 3 deletions
diff --git a/analysis/vis.livemd b/analysis/vis.livemd
index f3f1aac..bbc05d8 100644
--- a/analysis/vis.livemd
+++ b/analysis/vis.livemd
@@ -15,7 +15,7 @@ Mix.install([
```elixir
require Explorer.DataFrame
alias Explorer.DataFrame, as: DF
-job_id = "1138"
+job_id = "1146"
job_dir = Path.expand(~c"./" ++ job_id) |> Path.absname()
sections_dir = Path.join(job_dir, "sections")
criterion_dir = Path.join(job_dir, "criterion")
@@ -87,8 +87,8 @@ cost_models = cost_model_files |> Enum.map(&Parse.cost_model_output/1)
```elixir
defmodule PlotCostModel do
@startn 0
- @endn 1000
- @resolution 10
+ @endn 20000
+ @resolution 100
def gen_ts(ns, %OpCostModel{x0: x0, x1: x1, x2: x2, x3: x3}) do
Enum.map(ns, fn n -> %{n: n, t: x0 + n * x1 + n * n * x2 + n * n * n * x3} end)
end
@@ -176,6 +176,13 @@ benchmarks =
```
```elixir
+benchmarks
+|> DF.distinct([:bench_id])
+```
+
+<!-- livebook:{"reevaluate_automatically":true} -->
+
+```elixir
# Difference in execution time between worst and best selection
Tucan.bar(
benchmarks