From 9bde0fdfea3fb3da1f9e5a53f436a00ba8947a58 Mon Sep 17 00:00:00 2001 From: Aria Shrimpton Date: Sat, 20 Jan 2024 00:18:23 +0000 Subject: chore: update tasks --- Tasks.org | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'Tasks.org') diff --git a/Tasks.org b/Tasks.org index b4ca56d..f31d35b 100644 --- a/Tasks.org +++ b/Tasks.org @@ -108,17 +108,22 @@ Ideally, we could use information about the cargo project the file resides in to We also need to figure out which operations we want to bother counting, and how we can get an 'allocation context'/callstack. -* DOING Integration +* DONE Integration -We have the whole pipeline: - - Use primrose to get candidates - - Get/retrieve cached cost models - - Estimate cost of each candidate - - TODO: Pick a candidate, and generate code using that candidate +We have the code to do all this end-to-end, and to run a 'brute force' for comparison. -* TODO Fix fitting / cost estimation +* TODO It's fucking broken -Our cost estimates are broken - probably a bug in the fitting code. +We currently pick the wrong option for our single (trivial) test case (linkedlist instead of vec). +Possible cause: The Vec benchmarks give really weird outputs: + +#+begin_src text +insert/8192 time: [794.01 ns 857.54 ns 905.72 ns] +insert/16384 time: [347.55 ns 648.94 ns 940.90 ns] +insert/24576 time: [58.427 ns 58.572 ns 58.731 ns] +insert/32768 time: [6.3390 µs 6.3430 µs 6.3475 µs] +insert/40960 time: [72.887 ns 73.165 ns 73.482 ns] +#+end_src * BLOCKED Benchmarks & Evaluation -- cgit v1.2.3