aboutsummaryrefslogtreecommitdiff
path: root/analysis/vis.livemd
diff options
context:
space:
mode:
authorAria Shrimpton <me@aria.rip>2024-02-29 14:49:30 +0000
committerAria Shrimpton <me@aria.rip>2024-02-29 14:49:30 +0000
commitbb5ec77c534f77ae27856a36e8fa459a1b19356e (patch)
treec965a9ae72fd2f9d8c93829f08d584ed419f13a6 /analysis/vis.livemd
parentba36134c01513a8cc1367ed78d4090d91f7a8e70 (diff)
latest results
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