Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
ied206 committed Apr 18, 2019
2 parents a903005 + 7f91cba commit 11918e5
Show file tree
Hide file tree
Showing 48 changed files with 1,530 additions and 1,842 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ bld/
[Oo]bj/
[Ll]og/

# Do not ignore Precompiled directory
!/**/Precompiled/x86/
!/**/Precompiled/x64/
!/**/Precompiled/armhf/
!/**/Precompiled/arm64/

# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
Expand Down
4 changes: 2 additions & 2 deletions Benchmark/Benchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.11.1" />
<PackageReference Include="K4os.Compression.LZ4.Streams" Version="1.0.3" />
<PackageReference Include="BenchmarkDotNet" Version="0.11.3" />
<PackageReference Include="K4os.Compression.LZ4.Streams" Version="1.1.1" />
<PackageReference Include="SharpCompress" Version="0.22.0" />
</ItemGroup>

Expand Down
11 changes: 6 additions & 5 deletions Benchmark/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
// ReSharper disable InconsistentNaming

namespace Benchmark
{
Expand All @@ -18,7 +19,7 @@ public class CompBench
// SrcFiles
[ParamsSource(nameof(SrcFileNames))]
public string SrcFileName { get; set; }
public string[] SrcFileNames { get; set; } = new string[3]
public string[] SrcFileNames { get; set; } =
{
"Banner.bmp",
"Banner.svg",
Expand All @@ -29,7 +30,7 @@ public class CompBench
// Levels
[ParamsSource(nameof(Levels))]
public string Level { get; set; }
public string[] Levels { get; set; } = new string[3]
public string[] Levels { get; set; } =
{
"Fastest",
"Default",
Expand Down Expand Up @@ -225,7 +226,7 @@ public class DecompBench
// SrcFiles
[ParamsSource(nameof(SrcFileNames))]
public string SrcFileName { get; set; }
public string[] SrcFileNames { get; set; } = new string[3]
public string[] SrcFileNames { get; set; } =
{
"Banner.bmp",
"Banner.svg",
Expand All @@ -236,7 +237,7 @@ public class DecompBench
// Levels
[ParamsSource(nameof(Levels))]
public string Level { get; set; }
public string[] Levels { get; set; } = new string[3]
public string[] Levels { get; set; } =
{
"Fastest",
"Default",
Expand Down Expand Up @@ -446,7 +447,7 @@ public static void NativeGlobalInit()

Joveler.Compression.ZLib.ZLibInit.GlobalInit(zlibPath, 64 * 1024);
Joveler.Compression.XZ.XZInit.GlobalInit(xzPath, 64 * 1024);
Joveler.Compression.LZ4.LZ4Init.GlobalInit(lz4Path, 64 * 1024);
Joveler.Compression.LZ4.LZ4Init.GlobalInit(lz4Path, 16 * 1024);
}

public static void NativeGlobalCleanup()
Expand Down
102 changes: 0 additions & 102 deletions Joveler.Compression.LZ4.Tests/CompressTests.cs

This file was deleted.

83 changes: 0 additions & 83 deletions Joveler.Compression.LZ4.Tests/DecompressTests.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
<PackageReference Include="MSTest.TestAdapter" Version="1.3.2" />
<PackageReference Include="MSTest.TestFramework" Version="1.3.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading

0 comments on commit 11918e5

Please sign in to comment.