예제 #1
0
        public void Start()
        {
            var timer = new HiPerfTimer();

            _mapper.Initialize();

            timer.Start();

            for (int i = 0; i < 100000; i++)
            {
                _mapper.Map();
            }

            timer.Stop();

            Console.WriteLine("{0}: - {1} - Mapping time: \t{2}s", _mapper.Name, _mode, timer.Duration);
        }
예제 #2
0
        public void Start()
        {
            var timer = new HiPerfTimer();

            _mapper.Initialize();
            _mapper.Map();

            timer.Start();

            for (int i = 0; i < 1000000; i++)
            {
                _mapper.Map();
            }

            timer.Stop();

            Console.WriteLine("{0}: - {1} - Mapping time: \t{2}s", _mapper.Name, _mode, timer.Duration);
        }
예제 #3
0
        public void Start()
        {
            var timer = new HiPerfTimer();

            _mapper.Initialize();

            _mapper.Map();

            timer.Start();

            for (var i = 0; i < 1000000; i++)
            {
                _mapper.Map();
            }

            timer.Stop();

            Console.WriteLine($"{_mapper.Name}: - {_mode} - Mapping time: \t{timer.Duration}s");
        }
예제 #4
0
        public void Start()
        {
            var timer = new HiPerfTimer();

            _mapper.Initialize();
            _mapper.Map();

            DataCollection.CommentMarkProfile(1, "Begin " + _mapper);
            timer.Start();

            for (int i = 0; i < 1000000; i++)
            {
                _mapper.Map();
            }

            timer.Stop();
            DataCollection.CommentMarkProfile(1, "End " + _mapper);

            Console.WriteLine("{0}: - {1} - Mapping time: \t{2}s", _mapper.Name, _mode, timer.Duration);
        }