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

#2036 Update PerfTestHarness to allow for multiple tests in a single file #2097

Merged
merged 6 commits into from
Jun 20, 2023

Conversation

JacobDomagala
Copy link
Contributor

Fixes #2036

@github-actions
Copy link

github-actions bot commented Mar 4, 2023

Pipelines results

PR tests (gcc-12, ubuntu, mpich)

Build for 7d27c8f (2023-06-14 08:17:33 UTC)

Compilation - successful

Testing - passed

Build log


PR tests (clang-9, ubuntu, mpich)

Build for 7d27c8f (2023-06-14 08:17:33 UTC)

Compilation - successful

Testing - passed

Build log


PR tests (clang-11, ubuntu, mpich)

Build for 7d27c8f (2023-06-14 08:17:33 UTC)

Compilation - successful

Testing - passed

Build log


PR tests (clang-12, ubuntu, mpich)

Build for 7d27c8f (2023-06-14 08:17:33 UTC)

Compilation - successful

Testing - passed

Build log


PR tests (gcc-10, ubuntu, openmpi, no LB)

Build for 7d27c8f (2023-06-14 08:17:33 UTC)

Compilation - successful

Testing - passed

Build log


PR tests (gcc-9, ubuntu, mpich, zoltan, json schema test)

Build for 7d27c8f (2023-06-14 08:17:33 UTC)

Compilation - successful

Testing - passed

Build log


PR tests (gcc-8, ubuntu, mpich, address sanitizer)

Build for 7d27c8f (2023-06-14 08:17:33 UTC)

Compilation - successful

Testing - passed

Build log


PR tests (clang-13, ubuntu, mpich)

Build for 7d27c8f (2023-06-14 08:17:33 UTC)

Compilation - successful

Testing - passed

Build log


PR tests (clang-14, ubuntu, mpich)

Build for 7d27c8f (2023-06-14 08:17:33 UTC)

Compilation - successful

Testing - passed

Build log


PR tests (nvidia cuda 11.0, ubuntu, mpich)

Build for 80a2656 (2023-04-05 18:23:24 UTC)

Compilation - successful

Testing - passed

Build log


PR tests (nvidia cuda 11.2, ubuntu, mpich)

Build for 6349654 (2023-05-09 16:45:36 UTC)

Compilation - successful

Testing - passed

Build log


PR tests (clang-10, ubuntu, mpich)

Build for 7d27c8f (2023-06-14 08:17:33 UTC)

Compilation - successful

Testing - passed

Build log


PR tests (gcc-11, ubuntu, mpich, trace runtime, coverage)

Build for 7d27c8f (2023-06-14 08:17:33 UTC)

Compilation - successful

Testing - passed

Build log


PR tests (intel icpc, ubuntu, mpich)

Build for 7d27c8f (2023-06-14 08:17:33 UTC)

Compilation - successful

Testing - passed

Build log


PR tests (nvidia cuda 11.2, gcc-9, ubuntu, mpich)

Build for 7d27c8f (2023-06-14 08:17:33 UTC)

Compilation - successful

Testing - passed

Build log


@JacobDomagala JacobDomagala force-pushed the 2036-allow-for-multiple-perf-test-per-file branch from 72c4c5b to 4148a6c Compare March 23, 2023 16:00
@JacobDomagala JacobDomagala force-pushed the 2036-allow-for-multiple-perf-test-per-file branch from 4148a6c to 05fdf4e Compare April 5, 2023 14:00
@JacobDomagala JacobDomagala marked this pull request as ready for review April 5, 2023 18:23
@JacobDomagala JacobDomagala force-pushed the 2036-allow-for-multiple-perf-test-per-file branch from 05fdf4e to 80a2656 Compare April 5, 2023 18:23
@JacobDomagala JacobDomagala force-pushed the 2036-allow-for-multiple-perf-test-per-file branch 2 times, most recently from bbea007 to 6349654 Compare May 9, 2023 16:45
Copy link
Collaborator

@nlslatt nlslatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks reasonable to me

tests/perf/collection_local_send.cc Outdated Show resolved Hide resolved
@JacobDomagala JacobDomagala force-pushed the 2036-allow-for-multiple-perf-test-per-file branch from 6349654 to 46d0117 Compare May 10, 2023 18:56
@@ -264,7 +264,7 @@ foreach(PERF_TEST ${PROJECT_PERF_TESTS})
PROPERTIES
PROCESSORS ${PERF_TEST_NUMPROC}
RUN_SERIAL TRUE # do not run in parallel with any other tests
TIMEOUT 300
TIMEOUT 500
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Increased the timeout, as we now run multiple tests inside single test file

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JacobDomagala @lifflander I'm trying to understand what the collection_local_send.cc perf tests actually do. Is it true that only rank 0 runs the timed perf test, and only does a send to collection element 0, which is assumed to be local to rank 0 but not verified? It seems like some stuff could be simplified, like (a) consistently using my_node_ instead of theContext()->getNode(), (b) also only pre-allocating on rank 0, and (c) using preallocate_ to conditionally pre-allocate based on what happened in initialiaze instead of having the separate perfMakeRunnable and perfMakeRunnablePreAllocate calls.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#2155 should address those issues

@JacobDomagala JacobDomagala force-pushed the 2036-allow-for-multiple-perf-test-per-file branch 2 times, most recently from cc0807e to 3d416a5 Compare June 6, 2023 17:25
@JacobDomagala JacobDomagala force-pushed the 2036-allow-for-multiple-perf-test-per-file branch from 3d416a5 to 1e98754 Compare June 13, 2023 17:04
@JacobDomagala JacobDomagala force-pushed the 2036-allow-for-multiple-perf-test-per-file branch from 1e98754 to 7d27c8f Compare June 14, 2023 08:17
@JacobDomagala JacobDomagala self-assigned this Jun 14, 2023
Copy link
Contributor

@stmcgovern stmcgovern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@lifflander lifflander merged commit 990919d into develop Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify the perf test harness for multiple test configurations
4 participants