Exemple #1
0
        public void Init()
        {
            var random = new Random(123);

            _dataset = new BigObject[Count];
            for (var i = 0; i < _dataset.Length; i++)
            {
                _dataset[i] = SerializationBuilder.CreateBigObject(random);
            }

            _converter = SerializationBuilder.BuildVeloJsonConverter();
        }
Exemple #2
0
        public void Init()
        {
            var random = new Random(123);

            _dataset = new string[Count];
            for (var i = 0; i < _dataset.Length; i++)
            {
                var instance = SerializationBuilder.CreateBigObject(random);
                _dataset[i] = JsonConvert.SerializeObject(instance);
            }

            _converter = new JConverter();
        }