go-toml/cmd/burntsushi-tester/Makefile

41 lines
795 B
Makefile

b:
go build
mv burntsushi-tester B
a:
go build
mv burntsushi-tester A
test: test-a test-b test-sushi
test-a:
numactl --physcpubind=+1 bash -c "time ./A < testfile.toml"
profile-a:
numactl --physcpubind=+1 bash -c "./A -p 100 < testfile.toml"
test-b:
numactl --physcpubind=+2 bash -c "time ./B < testfile.toml"
profile-b:
numactl --physcpubind=+2 bash -c "./B -p 100 < testfile.toml"
test-sushi:
numactl --physcpubind=+3 bash -c "time ${GOPATH}/bin/toml-test-decoder < testfile.toml"
test-sushi-a:
numactl --physcpubind=+3 bash -c "time ${GOPATH}/bin/toml-test ./A"
test-sushi-b:
numactl --physcpubind=+3 bash -c "time ${GOPATH}/bin/toml-test ./B"
test-sushi-sushi:
numactl --physcpubind=+3 bash -c "time ${GOPATH}/bin/toml-test ${GOPATH}/bin/toml-test-decoder"