Command
-alltargets
```cs
using System.Text.Json;
using BenchmarkDotNet.Attributes;
public class Perf_Basic
{
[Benchmark]
public Employee? JsonRoundtrip()
{
Employee manager = new Employee("John", "Manager", 30, 185.5, new DateTime(1990, 10, 10), null);
Employee employee = new Employee("John", "Manager", 30, 185.5, new DateTime(1990, 10, 10), manager);
var str = JsonSerializer.Serialize(employee);
return JsonSerializer.Deserialize(str);
}
}
public record Employee(string name, string title, int age, double height, DateTime applyDate, Employee? manager);
```
Processing https://github.com/EgorBot/runtime-utils/issues/69#issuecomment-2329907629 command:
Command
-alltargets ```cs using System.Text.Json; using BenchmarkDotNet.Attributes; public class Perf_Basic { [Benchmark] public Employee? JsonRoundtrip() { Employee manager = new Employee("John", "Manager", 30, 185.5, new DateTime(1990, 10, 10), null); Employee employee = new Employee("John", "Manager", 30, 185.5, new DateTime(1990, 10, 10), manager); var str = JsonSerializer.Serialize(employee); return JsonSerializer.Deserialize(EgorBot will reply in this issue)