Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time the integration tests #168

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions cxx/integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,22 @@ set -x

# Run integration test suite
bazel build tests:test_hirm_animals tests:test_irm_two_relations tests:test_misc
startt1=$(date +%s)
./bazel-bin/tests/test_hirm_animals
./bazel-bin/tests/test_irm_two_relations
./bazel-bin/tests/test_misc
endt1=$(date +%s)
bazel build -c opt :hirm pclean:pclean
./bazel-bin/hirm --mode=irm --iters=5 assets/animals.binary
startt2=$(date +%s)
./bazel-bin/hirm --seed=1 --iters=5 assets/animals.unary
./bazel-bin/hirm --iters=5 --load=assets/animals.unary.1.hirm assets/animals.unary
endt2=$(date +%s)
startt3=$(date +%s)
#./bazel-bin/pclean/pclean --schema=assets/flights.schema --obs=assets/flights_dirty.100.csv --iters=5
./bazel-bin/pclean/pclean --schema=assets/hospitals.schema --obs=assets/hospital_dirty.10.csv --iters=5
#./bazel-bin/pclean/pclean --schema=assets/rents.schema --obs=assets/rents_dirty.100.csv --iters=5
endt3=$(date +%s)
echo "Integration tests in /tests ran in $(($endt1-$startt1)) seconds"
echo "hirm integration tests ran in $(($endt2-$startt2)) seconds"
echo "pclean integration tests ran in $(($endt3-$startt3)) seconds"