Add MessagePack.Experimental package which includes SIMD(Single Instruction Multiple Data) accelerated primitive array formatters. by pCYSl5EDgo · Pull Request #988 · MessagePack-CSharp/MessagePack-CSharp · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
0db4b89
Add Support for .NET Core 3.1
pCYSl5EDgo Jul 27, 2020
c992ead
[update]MessagePackWriter.Write(string) uses AVX2
pCYSl5EDgo Jul 29, 2020
c24e5f3
Add netcoreapp3.1 to test target frameworks
pCYSl5EDgo Jul 29, 2020
d0aa263
Update target framework to netcoreapp3.1
pCYSl5EDgo Jul 29, 2020
d72c589
Add Benchmark project to test hardware intrinsics
pCYSl5EDgo Jul 29, 2020
d1056cb
Change the module and assembly name
pCYSl5EDgo Jul 29, 2020
29225ce
This is too slow.
pCYSl5EDgo Jul 29, 2020
fa18ea8
Speed up but lose in performance
pCYSl5EDgo Jul 29, 2020
115884f
Rollback
pCYSl5EDgo Jul 29, 2020
3db2056
Faster sbyte[] Serialization
pCYSl5EDgo Aug 1, 2020
d32dd70
Add Document Comment
pCYSl5EDgo Aug 1, 2020
87b4748
Add Write(sbyte[]) to public APIs
pCYSl5EDgo Aug 1, 2020
d16a0bf
Modify not using Generic Unmanaged Struct Pointer
pCYSl5EDgo Aug 2, 2020
d751366
Remove API MessagePackWriter.Write(sbyte[])
pCYSl5EDgo Aug 2, 2020
494b534
Fix naming rule
pCYSl5EDgo Aug 2, 2020
fcc7e81
Make short[] serialization faster
pCYSl5EDgo Aug 3, 2020
ca04a57
Remove empty line
pCYSl5EDgo Aug 3, 2020
f7dd2e7
Revert changes in MessagePackWriter.cs
pCYSl5EDgo Aug 4, 2020
a4ae0a2
Add Hardware Counters
pCYSl5EDgo Aug 6, 2020
1979e31
Add Alignment of 32
pCYSl5EDgo Aug 6, 2020
66c0992
Add new test for int[]
pCYSl5EDgo Aug 6, 2020
050ab3f
Add Formatter T4 Template
pCYSl5EDgo Aug 6, 2020
431eb57
Sse41 is faster
pCYSl5EDgo Aug 6, 2020
d0e49bf
short[] process 4 short values
pCYSl5EDgo Aug 6, 2020
eb9110a
Down the API Level from AVX2 to SSE4.2
pCYSl5EDgo Aug 7, 2020
f5f43c3
Add T4 Template Comment
pCYSl5EDgo Aug 7, 2020
3aa2015
Add bool[] and float[] formatters
pCYSl5EDgo Aug 10, 2020
5dd5ab0
Make field property
pCYSl5EDgo Aug 12, 2020
9d6df73
Split Elements by blank line.
pCYSl5EDgo Aug 12, 2020
ecf3b4a
Remove trailing white space
pCYSl5EDgo Aug 12, 2020
2390052
Add comment for bool[] Serialization
pCYSl5EDgo Aug 12, 2020
2629b95
Unity does not allow switch expression.
pCYSl5EDgo Aug 12, 2020
6d6f4c7
fix typo
pCYSl5EDgo Aug 12, 2020
705d1db
Merge remote-tracking branch 'upstream/master' into netcoreapp3_1
pCYSl5EDgo Sep 3, 2020
feed7ee
Move to MessagePack.Experimental
pCYSl5EDgo Sep 4, 2020
b6bb776
Split file not to contain 2 namespaces
pCYSl5EDgo Sep 4, 2020
4d1e081
Update benchmark competitor version from 2.1.152 to 2.1.165
pCYSl5EDgo Sep 4, 2020
9514649
Fix: destination span length is larger than required length.
pCYSl5EDgo Sep 4, 2020
d64880e
Add double[] formatter.
pCYSl5EDgo Sep 6, 2020
d773f48
Rename variable and add test
pCYSl5EDgo Sep 6, 2020
3655060
Add Comment to float/double[] formatters.
pCYSl5EDgo Sep 11, 2020
5e10351
Revert changes unrelated to perf work
AArnott Sep 12, 2020
dad1c6f
Re-change the assembly/module name of MessagePack_2_1_165.dll
pCYSl5EDgo Sep 12, 2020
a181ba1
Remove namespace of "Experimental"
pCYSl5EDgo Sep 12, 2020
4f53912
Disable warning CS0436 "Same type name in the primary package"
pCYSl5EDgo Sep 12, 2020
aadf21d
Merge remote-tracking branch 'upstream/v2.2' into netcoreapp3_1
AArnott Sep 13, 2020
f274fc0
Revert "Re-change the assembly/module name of MessagePack_2_1_165.dll"
AArnott Sep 13, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 34 additions & 1 deletion MessagePack.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyName>HardwareIntrinsicsBenchmark</AssemblyName>
<RootNamespace>Benchmark</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.12.1" />
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.12.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\MessagePack.Experimental\MessagePack.Experimental.csproj">
<Aliases>newmsgpack</Aliases>
</ProjectReference>
<ProjectReference Include="..\..\src\MessagePack.Annotations\MessagePack.Annotations.csproj">
<Aliases>newmsgpack</Aliases>
</ProjectReference>
<ProjectReference Include="..\..\src\MessagePack\MessagePack.csproj">
<Aliases>newmsgpack</Aliases>
</ProjectReference>
</ItemGroup>

<ItemGroup>
<Reference Include="MessagePack_2_1_165">
<HintPath>MessagePack_2_1_165.dll</HintPath>
<Aliases>oldmsgpack</Aliases>
<Private>true</Private>
<SpecificVersion>false</SpecificVersion>
</Reference>
</ItemGroup>

</Project>
Binary file not shown.
21 changes: 21 additions & 0 deletions benchmark/HardwareIntrinsicsBenchmark/Program.cs
Loading