Remove test with ssdeep, it is not very logical to use it.

This commit is contained in:
2023-09-27 17:06:15 +01:00
parent 89242fd726
commit 66a4ce694c
2 changed files with 0 additions and 16 deletions

View File

@@ -554,8 +554,5 @@ namespace AaruBenchmark
[Benchmark]
public void AaruNative() => throw new NotImplementedException();
#endif
[Benchmark]
public void ssdeep() => Checksums.Aaru.CliSpamSum();
}
}

View File

@@ -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];