public void LoadPerformance()
        {
            var sample = "<Sample xmlns=\"test\"/>";
            var perf   = PerformanceHelper.Performance(() => Load <Sample>(sample));

            Assert.Inconclusive($"{perf:N0} OpS");
        }
        public void EncodeUtf8GetString()
        {
            var sample = Encoding.UTF8.GetBytes("<Sample xmlns='test' />");
            var perf   = PerformanceHelper.Performance(() => Encoding.UTF8.GetString(sample));

            Assert.Inconclusive($"{perf:N} OpS");
        }
        public void EncodeUtf16GetBytes()
        {
            var sample = "<Sample xmlns='test' />";
            var perf   = PerformanceHelper.Performance(() => Encoding.Unicode.GetBytes(sample));

            Assert.Inconclusive($"{perf:N} OpS");
        }
        public void SavePerformance()
        {
            var data = new Sample
            {
                Prop1 = "asd",
                Prop2 = 123,
            };

            Save(data);
            var perf = PerformanceHelper.Performance(() => Save(data));

            Assert.Inconclusive($"{perf:N0} OpS");
        }