-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (27 loc) · 885 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.PHONY: test benchmark-mojo install-py-packages
install-py-packages:
conda env create -p venv --file environment.yml
test:
pytest -W error
benchmark-mojo:
mojo mojo_impl/naive.mojo 100
mojo mojo_impl/naive.mojo 1000
mojo mojo_impl/naive.mojo 10000
mojo mojo_impl/naive.mojo 100000
mojo mojo_impl/naive.mojo 1000000
# segfault :(
# mojo mojo_impl/naive.mojo 10000000
mojo mojo_impl/optimized_a.mojo 100
mojo mojo_impl/optimized_a.mojo 1000
mojo mojo_impl/optimized_a.mojo 10000
mojo mojo_impl/optimized_a.mojo 100000
mojo mojo_impl/optimized_a.mojo 1000000
# segfault :(
# mojo mojo_impl/optimized_a.mojo 10000000
mojo mojo_impl/optimized_b.mojo 100
mojo mojo_impl/optimized_b.mojo 1000
mojo mojo_impl/optimized_b.mojo 10000
mojo mojo_impl/optimized_b.mojo 100000
mojo mojo_impl/optimized_b.mojo 1000000
# segfault :(
# mojo mojo_impl/optimized_b.mojo 10000000