testing 100 #5
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace TestConsoleApp
|
||||
{
|
||||
public class Integration
|
||||
{
|
||||
string str = string.Empty;
|
||||
}
|
||||
}
|
||||
@@ -11,12 +11,12 @@ namespace TestConsoleApp
|
||||
for (int i = 0; i < 99999; i++)
|
||||
{
|
||||
var a = 0;a += i;a++;
|
||||
|
||||
}
|
||||
Console.WriteLine("{0}", stopWatch.Elapsed.TotalMilliseconds);
|
||||
var stopWatch2 = Stopwatch.StartNew();
|
||||
for (int i = 0; i < 99999; i++)
|
||||
{
|
||||
string k = string.Empty;
|
||||
var a = 0; a += i; a++;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user