aboutsummaryrefslogtreecommitdiff
path: root/src/Justfile
diff options
context:
space:
mode:
authorAria Shrimpton <me@aria.rip>2024-03-30 16:38:53 +0000
committerAria Shrimpton <me@aria.rip>2024-03-30 17:34:56 +0000
commitca565e3d32c0815722302331edbc59ce8a1ca9b8 (patch)
tree201a3c79d3727bbcbc0ebe8045188ff8c5f30bc8 /src/Justfile
parentffa16f507ae3ca7f109aa8dacf2ea7e2a696a948 (diff)
notes on how to reproduce
Diffstat (limited to 'src/Justfile')
-rw-r--r--src/Justfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Justfile b/src/Justfile
index 0d20a5e..6ed018f 100644
--- a/src/Justfile
+++ b/src/Justfile
@@ -3,8 +3,6 @@ target_dir := justfile_directory() / "target"
tests_dir := justfile_directory() / "tests"
tests_manifest := tests_dir / "Cargo.toml"
-impls := "std::collections::BTreeSet primrose_library::LazySortedVec std::collections::LinkedList primrose_library::EagerUniqueVec std::collections::HashSet std::collections::BTreeMap std::collections::HashMap primrose_library::LazyUniqueVec primrose_library::EagerSortedVec std::vec::Vec"
-proj := "std::vec::Vec std::collections::LinkedList"
export RUST_LOG := "debug"
cost-models: rebuild
@@ -24,6 +22,9 @@ cost-model impl: (section-start ("cost-model-" + impl)) && (section-end ("cost-m
select proj *FLAGS: (section-start ("compare-" + proj)) && (section-end ("compare-" + proj))
{{candelabra}} -l --manifest-path {{tests_manifest}} -p {{proj}} select {{FLAGS}}
+profile proj *FLAGS:
+ {{candelabra}} --manifest-path {{tests_manifest}} -p {{proj}} select {{FLAGS}}
+
@section-start NAME:
echo -e "\e[0Ksection_start:`date +%s`:{{replace(NAME, ":", "-")}}\r\e[0K{{replace(NAME, ":", "-")}}"