-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathjustfile
More file actions
29 lines (21 loc) · 1.01 KB
/
justfile
File metadata and controls
29 lines (21 loc) · 1.01 KB
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
default:
@just -l
generate:
cmake -G Xcode -B Build -DLUABRIDGE_BENCHMARKS=ON .
sanitize TYPE='address':
cmake -G Xcode -B Build -DLUABRIDGE_SANITIZE={{TYPE}} .
benchmark:
@just generate
cmake --build Build --config Release --target LuaBridge3Benchmark -j8
cmake --build Build --config Release --target LuaBridgeVanillaBenchmark -j8
cmake --build Build --config Release --target Sol3Benchmark -j8
./Build/Benchmarks/Release/LuaBridge3Benchmark --benchmark_out_format=json --benchmark_out=Build/LuaBridge3Benchmark.json
./Build/Benchmarks/Release/LuaBridgeVanillaBenchmark --benchmark_out_format=json --benchmark_out=Build/LuaBridgeVanillaBenchmark.json
./Build/Benchmarks/Release/Sol3Benchmark --benchmark_out_format=json --benchmark_out=Build/Sol3Benchmark.json
@just plot
plot:
uv run --with-requirements Benchmarks/requirements.txt Benchmarks/plot_benchmarks.py --input Build/*.json --output Images/benchmarks.png
clean:
rm -rf Build
amalgamate:
uv run amalgamate.py