updates submodule & fixes content benchmarks & sets up ci (#11851)

This commit is contained in:
Paul Ritter
2022-10-11 20:51:52 +02:00
committed by GitHub
parent 576443f12c
commit 4ef3891e9e
14 changed files with 146 additions and 12 deletions

View File

@@ -7,13 +7,15 @@ using System.Text.Unicode;
using BenchmarkDotNet.Attributes;
using Lidgren.Network;
using NetSerializer;
using Robust.Shared.Analyzers;
namespace Content.Benchmarks
{
// Code for the *Slow and *Unsafe implementations taken from NetSerializer, licensed under the MIT license.
[MemoryDiagnoser]
public sealed class NetSerializerStringBenchmark
[Virtual]
public class NetSerializerStringBenchmark
{
private const int StringByteBufferLength = 256;
private const int StringCharBufferLength = 128;