Example #1
0
 static void Main(string[] args)
 {
     string url = "http://www.protocol7.com/svg.net/people.svg";
     int repeats = 1;
     /*if(args.Length == 0)
     {
         Console.WriteLine("usage: url [noOfRepeats]");
         return;
     }
     else if(args.Length == 2)
     {
         repeats = Convert.ToInt32(args[1]);
     }
     url = args[0];
     */
     PerfTest perfTest = new PerfTest();
     perfTest.Run(url, repeats);
 }
Example #2
0
        static void Main(string[] args)
        {
            string url     = "http://www.protocol7.com/svg.net/people.svg";
            int    repeats = 1;

            /*if(args.Length == 0)
             * {
             *      Console.WriteLine("usage: url [noOfRepeats]");
             *      return;
             * }
             * else if(args.Length == 2)
             * {
             * repeats = Convert.ToInt32(args[1]);
             * }
             * url = args[0];
             */
            PerfTest perfTest = new PerfTest();

            perfTest.Run(url, repeats);
        }