-
-
Notifications
You must be signed in to change notification settings - Fork 931
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove placeholder tests * Move Reverse perf test to benchmarks project --------- Co-authored-by: Wojciech Nagórski <[email protected]>
- Loading branch information
1 parent
91d1ed2
commit 0e9b518
Showing
121 changed files
with
34 additions
and
7,848 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
src/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 was deleted.
Oops, something went wrong.
136 changes: 0 additions & 136 deletions
136
src/Renci.SshNet.Tests/Classes/Common/AsyncResultTest.cs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.