Explorar el Código

修改配置

tags/v1.3.0
SmallChi hace 6 años
padre
commit
993cd89c67
Se han modificado 1 ficheros con 9 adiciones y 2 borrados
  1. +9
    -2
      src/JT809.Protocol.Benchmark/JT809SerializerContext.cs

+ 9
- 2
src/JT809.Protocol.Benchmark/JT809SerializerContext.cs Ver fichero

@@ -86,8 +86,15 @@ namespace JT809.Protocol.Benchmark
{
public JT809SerializerContextConfig()
{
Add(Job.Default.WithGcServer(true).With(Runtime.Clr).With(Platform.AnyCpu));
Add(Job.Default.WithGcServer(true).With(CsProjCoreToolchain.NetCoreApp21).With(Platform.AnyCpu));
Add(Job.Default.With(new GcMode()
{
Force = false // 不要在每次迭代之后强制GC收集
}).With(Runtime.Clr).With(Platform.AnyCpu));

Add(Job.Default.With(new GcMode()
{
Force = false // 不要在每次迭代之后强制GC收集
}).With(CsProjCoreToolchain.NetCoreApp21).With(Platform.AnyCpu));
}
}
}

Cargando…
Cancelar
Guardar