-
-
Notifications
You must be signed in to change notification settings - Fork 925
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Tag all examples of Encoding convpath specs, so even the expensive before(:all) is not run. * Tag specs invoking GC, they are a code smell and slow down the system. * Tag some eval specs using ruby_exe and some using sleep. * Before: 33s (37s total) After: 17s (21s total)
- Loading branch information
Showing
7 changed files
with
27 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
fails:Encoding::Converter#convpath indicates if crlf_newline conversion would occur | ||
slow:Encoding::Converter#convpath returns an Array | ||
slow:Encoding::Converter#convpath returns each encoding pair as a sub-Array | ||
slow:Encoding::Converter#convpath returns each encoding as an Encoding object | ||
slow:Encoding::Converter#convpath returns multiple encoding pairs when direct conversion is impossible | ||
slow:Encoding::Converter#convpath sets the last element of each pair to the first element of the next | ||
slow:Encoding::Converter#convpath only lists a source encoding once | ||
slow:Encoding::Converter#convpath indicates if crlf_newline conversion would occur |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
slow:GC#garbage_collect always returns nil |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
slow:GC.start always returns nil |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
slow:ObjectSpace.garbage_collect can be invoked without any exceptions | ||
slow:ObjectSpace.garbage_collect doesn't accept any arguments | ||
slow:ObjectSpace.garbage_collect ignores the supplied block | ||
slow:ObjectSpace.garbage_collect always returns nil |