-
-
Notifications
You must be signed in to change notification settings - Fork 940
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Enable list directory async for net framework (#1206) * Enable ListDirectoryAsync for .NET Framework * Removed (now) unused constant. * Remove placeholder tests (#1183) * Remove placeholder tests * Move Reverse perf test to benchmarks project --------- Co-authored-by: Wojciech Nagórski <[email protected]> * Fix integration test after moving test projects --------- Co-authored-by: Patrick-3000 <[email protected]> Co-authored-by: Rob Hague <[email protected]>
- Loading branch information
1 parent
20f4bc1
commit 76a6476
Showing
127 changed files
with
71 additions
and
7,863 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
27 changes: 27 additions & 0 deletions
27
test/Renci.SshNet.Benchmarks/Common/ExtensionsBenchmarks.cs
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,27 @@ | ||
using BenchmarkDotNet.Attributes; | ||
|
||
using Renci.SshNet.Common; | ||
|
||
namespace Renci.SshNet.Benchmarks.Common | ||
{ | ||
public class ExtensionsBenchmarks | ||
{ | ||
private byte[]? _data; | ||
|
||
[Params(1000, 10000)] | ||
public int N; | ||
|
||
[GlobalSetup] | ||
public void Setup() | ||
{ | ||
_data = new byte[N]; | ||
new Random(42).NextBytes(_data); | ||
} | ||
|
||
[Benchmark] | ||
public byte[] Reverse() | ||
{ | ||
return _data.Reverse(); | ||
} | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
136 changes: 0 additions & 136 deletions
136
test/Renci.SshNet.Tests/Classes/Common/AsyncResultTest.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.