public IEnumerable <string[]> Data()
        {
            var meaningfulStructure = MeaningfulStructure.CreateStub();
            var serializedStructure = JsonSerializer.Serialize(meaningfulStructure);

            yield return(new[] { serializedStructure });

            yield return(DuplicateString(serializedStructure, 10));

            yield return(DuplicateString(serializedStructure, 100));

            yield return(DuplicateString(serializedStructure, 1000));
        }
Beispiel #2
0
        public StringJoinAndConcatBenchmark()
        {
            var meaningfulStructure = MeaningfulStructure.CreateStub();

            serializedStructure = JsonSerializer.Serialize(meaningfulStructure);
        }