aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAria <me@aria.rip>2023-11-06 00:51:27 +0000
committerAria <me@aria.rip>2023-11-06 00:51:27 +0000
commit0c90a586300202ceab060b079cfea0f370ef94cc (patch)
tree3e2186a8428fb2b3cee457e415997092af22f152
parente6afb740257b66122241fe29cde95c7b8e118565 (diff)
chore: update tasks
-rw-r--r--Tasks.org19
1 files changed, 12 insertions, 7 deletions
diff --git a/Tasks.org b/Tasks.org
index d1a127a..7032311 100644
--- a/Tasks.org
+++ b/Tasks.org
@@ -80,18 +80,23 @@ We have a first pass of these benchmarks, although they may need refined over ti
We can generate and run benchmarks from library specs using ~candelabra_cli::cost::benchmark::run_benchmarks~.
-** TODO Caching and loading outputs
+** DONE Caching and loading outputs
-We should cache the output cost models per machine, ideally with a key of library file modification time.
-Relevant crates: https://docs.rs/persistentcache/latest/persistentcache/ https://github.com/jaemk/cached
+We cache the benchmark results by type and invalidate based on library modification time.
+Relevant code is in ~candelabra_cli::cache~ and ~candelabra_cli::cost~.
+We also cache primrose results in ~candelabra_cli::candidates~
-** TODO Build cost model from benchmark
+** DONE Integrate with CLI
-Fit polynomials for each operation from the benchmarking data.
+The CLI should get cost models for all of the candidate types, and for now just print them out.
-** TODO Integrate with CLI
+** DOING Build cost model from benchmark
-The CLI should get cost models for all of the candidate types, and for now just print them out.
+Fit polynomials for each operation from the benchmarking data.
+Possibly helpful crates:
+ - https://docs.rs/fitme/latest/fitme/fn.fit.html
+ - https://lib.rs/crates/enterpolation
+ - https://docs.rs/varpro/latest/varpro/
* BLOCKED Semantic profiler