-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This restores the execution time for running 'stack test' with VSCode running to the same time as running 'stack test' without it. The problem turned out to be the MS C/C++ IntelliSense plugin and file watching. Our tests output C files in the test directory at a rapid pace which causes IntelliSense to react to the new files and use the CPU for non-test related activities. The best case scenario would be to output our tests into a temporary directory somewhere but this is the minimal fix that I can get sane performance with. I still have this in my settings.json: "files.watcherExclude": { "**/.git": true, "**/.DS_Store": true, "**/tmp" : true, "**/tmp2" : true, "**/.stack-work" : true, }, "files.exclude": { "**/.git": true, "tmp" : true, "tmp2" : true, ".stack-work" : true, },
- Loading branch information
Showing
34 changed files
with
124 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#ifndef TESTS_EXAMPLE9_H | ||
#define TESTS_EXAMPLE9_H | ||
#ifndef TMP2_EXAMPLE9_H | ||
#define TMP2_EXAMPLE9_H | ||
|
||
#include "feldspar_c99.h" | ||
|
||
void example9(int32_t v0, int32_t * out); | ||
|
||
#endif // TESTS_EXAMPLE9_H | ||
#endif // TMP2_EXAMPLE9_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#ifndef TESTS_FOREIGNEFFECT_H | ||
#define TESTS_FOREIGNEFFECT_H | ||
#ifndef TMP2_FOREIGNEFFECT_H | ||
#define TMP2_FOREIGNEFFECT_H | ||
|
||
#include "feldspar_c99.h" | ||
|
||
void foreignEffect(void * out); | ||
|
||
#endif // TESTS_FOREIGNEFFECT_H | ||
#endif // TMP2_FOREIGNEFFECT_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#ifndef TESTS_ISSUE128_EX1_H | ||
#define TESTS_ISSUE128_EX1_H | ||
#ifndef TMP2_ISSUE128_EX1_H | ||
#define TMP2_ISSUE128_EX1_H | ||
|
||
#include "feldspar_c99.h" | ||
|
||
void issue128__ex1(uint32_t v0, uint32_t * out); | ||
|
||
#endif // TESTS_ISSUE128_EX1_H | ||
#endif // TMP2_ISSUE128_EX1_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#ifndef TESTS_ISSUE128_EX2_H | ||
#define TESTS_ISSUE128_EX2_H | ||
#ifndef TMP2_ISSUE128_EX2_H | ||
#define TMP2_ISSUE128_EX2_H | ||
|
||
#include "feldspar_c99.h" | ||
|
||
void issue128__ex2(uint32_t v0, uint32_t * out); | ||
|
||
#endif // TESTS_ISSUE128_EX2_H | ||
#endif // TMP2_ISSUE128_EX2_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#ifndef TESTS_ISSUE128_EX3_H | ||
#define TESTS_ISSUE128_EX3_H | ||
#ifndef TMP2_ISSUE128_EX3_H | ||
#define TMP2_ISSUE128_EX3_H | ||
|
||
#include "feldspar_c99.h" | ||
|
||
void issue128__ex3(uint32_t v0, uint32_t * out); | ||
|
||
#endif // TESTS_ISSUE128_EX3_H | ||
#endif // TMP2_ISSUE128_EX3_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.