-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (15 loc) · 799 Bytes
/
Makefile
File metadata and controls
22 lines (15 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.PHONY: help docs mo benchmark benchmark-small benchmark-memory
help:
uv run python -c "print('make docs - start MkDocs dev server\nmake mo - open Marimo editor\nmake benchmark - run performance benchmark (full cohort)\nmake benchmark-small - run quick benchmark (10 IDs)\nmake benchmark-memory - run memory profiling benchmark (100 IDs)')"
docs:
uv run mkdocs serve
mo:
uv run marimo edit --watch
test_med_unit_conversion:
uv run pytest tests/utils/test_unit_converter.py -vv
benchmark:
cd dev/perf-benchmark && uv run python benchmark_simple.py
benchmark-small:
cd dev/perf-benchmark && uv run python benchmark_simple.py -n 10
benchmark-memory:
cd dev/perf-benchmark && memray run -o perf_profile.bin python benchmark_simple.py -n 100 && memray flamegraph perf_profile.bin