mirror of
https://github.com/aaru-dps/AaruBenchmark.git
synced 2025-12-16 19:24:36 +00:00
Remove test with ssdeep, it is not very logical to use it.
This commit is contained in:
@@ -554,8 +554,5 @@ namespace AaruBenchmark
|
||||
[Benchmark]
|
||||
public void AaruNative() => throw new NotImplementedException();
|
||||
#endif
|
||||
|
||||
[Benchmark]
|
||||
public void ssdeep() => Checksums.Aaru.CliSpamSum();
|
||||
}
|
||||
}
|
||||
@@ -252,19 +252,6 @@ namespace AaruBenchmark.Checksums
|
||||
string result = ctx.End();
|
||||
}
|
||||
|
||||
public static void CliSpamSum()
|
||||
{
|
||||
var proc = new Process();
|
||||
proc.StartInfo.UseShellExecute = false;
|
||||
proc.StartInfo.FileName = "/usr/bin/ssdeep";
|
||||
proc.StartInfo.CreateNoWindow = true;
|
||||
proc.StartInfo.ArgumentList.Add(Path.Combine(Program.Folder, "random"));
|
||||
proc.StartInfo.RedirectStandardOutput = true;
|
||||
proc.Start();
|
||||
proc.StandardOutput.ReadToEnd();
|
||||
proc.WaitForExit();
|
||||
}
|
||||
|
||||
public static void Sha1()
|
||||
{
|
||||
byte[] data = new byte[1048576];
|
||||
|
||||
Reference in New Issue
Block a user