Exemplo n.º 1
0
        public override void Prepare(int count, int batch)
        {
            return;

            for (int i = 0; i < count; i += batch)
            {
                for (var j = i; j < i + batch; j++)
                {
                    // var g = Guid.NewGuid();
                    tree.Put(j, "text about " + j);
                }
                tree.Commit();
            }
        }
Exemplo n.º 2
0
        public override void Prepare(int count, int batch)
        {
            return;

            for (int i = 0; i < count; i += batch)
            {
                for (var j = i; j < i + batch; j++)
                {
                    var g = Guid.NewGuid();
                    tree.Put(j, "abcdefghilmnopqrstuvz0123456789+abcdefghilmnopqrstuvz0123456789+abcdefghilmnopqrstuvz0123456789+abcdefghilmnopqrstuvz0123456789+");
                    //tree.Put(j , "text about " + j);
                }
                tree.Commit();
            }
        }