mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
-
This commit is contained in:
parent
eedb57ae6c
commit
1a5f662a0a
Binary file not shown.
@ -13,11 +13,27 @@ namespace OrmTest.ExpressionTest
|
|||||||
{
|
{
|
||||||
internal static void Init()
|
internal static void Init()
|
||||||
{
|
{
|
||||||
|
DateTime b = DateTime.Now;
|
||||||
|
int count = 10000;
|
||||||
|
for (int i = 0; i < count; i++)
|
||||||
|
{
|
||||||
single();
|
single();
|
||||||
|
Multiple();
|
||||||
singleDynamic();
|
singleDynamic();
|
||||||
|
MultipleDynamic();
|
||||||
|
}
|
||||||
|
DateTime e = DateTime.Now;
|
||||||
|
Console.WriteLine("Count: "+ count + "\r\nTime: "+(e-b).TotalSeconds+ " Seconds ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static void Multiple()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
private static void MultipleDynamic()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
private static void single()
|
private static void single()
|
||||||
{
|
{
|
||||||
int p = 1;
|
int p = 1;
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user