23 lines
360 B
Makefile
23 lines
360 B
Makefile
a:
|
|
go build
|
|
mv burntsushi-tester A
|
|
|
|
b:
|
|
go build
|
|
mv burntsushi-tester B
|
|
|
|
test: test-a test-b test-sushi
|
|
|
|
test-a:
|
|
numactl --physcpubind=+1 bash -c "time ./A < testfile.toml"
|
|
|
|
|
|
test-b:
|
|
numactl --physcpubind=+2 bash -c "time ./B < testfile.toml"
|
|
|
|
test-sushi:
|
|
|
|
numactl --physcpubind=+3 bash -c "time ~/go-workspace/bin/toml-test-decoder < testfile.toml"
|
|
|
|
|