\* Tested on local machine (Intel i7 8700K) with MQTTnet client and server running in the same process using the TCP channel. The app for verification is part of this repository and stored in _/Tests/MQTTnet.TestApp.NetCore_.
+ 0- 1
Tests/MQTTnet.Benchmarks/ChannelAdapterBenchmark.csZobrazit soubor
@@ -1,6 +1,5 @@
using BenchmarkDotNet.Attributes;
using MQTTnet.Adapter;
using MQTTnet.Core.Internal;
using MQTTnet.Diagnostics;
using MQTTnet.Internal;
using MQTTnet.Packets;
+ 1- 2
Tests/MQTTnet.Benchmarks/SerializerBenchmark.csZobrazit soubor
@@ -8,7 +8,6 @@ using System;
using System.Threading;
using System.IO;
using MQTTnet.Adapter;
using MQTTnet.Core.Internal;
namespace MQTTnet.Benchmarks
{
@@ -55,7 +54,7 @@ namespace MQTTnet.Benchmarks
using (var bodyStream = new MemoryStream(Join(_serializedPacket), (int)headerStream.Position, header.RemainingLength))