Skip to content

Commit

Permalink
Reduce number of modules / iterations in performance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mgsloan committed Aug 1, 2015
1 parent 43704c6 commit b5d1f92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ide-backend/TestSuite/TestSuite/Tests/Performance.hs
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,14 @@ testPerfMs :: Int
{-# NOINLINE testPerfMs #-}
testPerfMs = read $ unsafePerformIO $
System.getEnv "IDE_BACKEND_testPerfMs"
`Ex.catch` (\(_ :: Ex.IOException) -> return "150")
`Ex.catch` (\(_ :: Ex.IOException) -> return "20")

-- TODO: This should use tasty command line arguments instead
testPerfTimes :: Int
{-# NOINLINE testPerfTimes #-}
testPerfTimes = read $ unsafePerformIO $
System.getEnv "IDE_BACKEND_testPerfTimes"
`Ex.catch` (\(_ :: Ex.IOException) -> return "150")
`Ex.catch` (\(_ :: Ex.IOException) -> return "20")

-- TODO: This should use tasty command line arguments instead
testPerfLimit :: Int
Expand Down

0 comments on commit b5d1f92

Please sign in to comment.