Ejemplo n.º 1
0
        private static void MongoInsert()
        {
            var members = MemberHelpers.GetRandomMongoMembers(100000);

            var time = System.Diagnostics.Stopwatch.StartNew();

            foreach (var member in members)
            {
                mongoService.InsertMember(member);
            }

            time.Stop();
            Console.WriteLine($"Tempo de Execução do Insert:{time.ElapsedMilliseconds}");
        }