Skip to content

Commit

Permalink
Force performance failure for ArrayRedistStore
Browse files Browse the repository at this point in the history
  • Loading branch information
billsacks committed Oct 27, 2023
1 parent 59c110d commit abac056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Infrastructure/Array/tests/ESMF_ArrayRedistPerfUTest.F90
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ program ESMF_ArrayRedistPerfUTest
write(msgString,*) "ArrayRedistStore() performance: ", dt, " seconds."
call ESMF_LogWrite(msgString, ESMF_LOGMSG_INFO, rc=rc)
#ifdef ESMF_BOPT_g
dtTest = 20.d0 ! 20s is expected to pass in debug mode
dtTest = 0.d0 ! 20s is expected to pass in debug mode
#else
dtTest = 2.d0 ! 2s is expected to pass in optimized mode
dtTest = 0.d0 ! 2s is expected to pass in optimized mode
#endif
write(failMsg, *) "ArrayRedistStore() performance problem! ", dt, ">", dtTest
call ESMF_Test((dt<dtTest), name, failMsg, result, ESMF_SRCLINE)
Expand Down

0 comments on commit abac056

Please sign in to comment.