Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
Dapper
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
Dapper
Commits
f2b36563
Commit
f2b36563
authored
Aug 22, 2019
by
mgravell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bdn
parent
3a4cddf2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
Config.cs
Dapper.Tests.Performance/Config.cs
+5
-5
Dapper.Tests.Performance.csproj
Dapper.Tests.Performance/Dapper.Tests.Performance.csproj
+2
-2
ORMColum.cs
Dapper.Tests.Performance/Helpers/ORMColum.cs
+1
-1
ReturnColum.cs
Dapper.Tests.Performance/Helpers/ReturnColum.cs
+1
-1
No files found.
Dapper.Tests.Performance/Config.cs
View file @
f2b36563
...
@@ -22,7 +22,7 @@ public Config()
...
@@ -22,7 +22,7 @@ public Config()
Add
(
MarkdownExporter
.
GitHub
);
Add
(
MarkdownExporter
.
GitHub
);
Add
(
HtmlExporter
.
Default
);
Add
(
HtmlExporter
.
Default
);
var
md
=
new
MemoryDiagnoser
()
;
var
md
=
MemoryDiagnoser
.
Default
;
Add
(
md
);
Add
(
md
);
Add
(
new
ORMColum
());
Add
(
new
ORMColum
());
Add
(
TargetMethodColumn
.
Method
);
Add
(
TargetMethodColumn
.
Method
);
...
@@ -30,8 +30,8 @@ public Config()
...
@@ -30,8 +30,8 @@ public Config()
Add
(
StatisticColumn
.
Mean
);
Add
(
StatisticColumn
.
Mean
);
//Add(StatisticColumn.StdDev);
//Add(StatisticColumn.StdDev);
//Add(StatisticColumn.Error);
//Add(StatisticColumn.Error);
Add
(
Baseline
ScaledColumn
.
Scaled
);
Add
(
Baseline
RatioColumn
.
RatioMean
);
Add
(
md
.
GetColumnProvider
());
//
Add(md.GetColumnProvider());
Add
(
Job
.
ShortRun
Add
(
Job
.
ShortRun
.
WithLaunchCount
(
1
)
.
WithLaunchCount
(
1
)
...
@@ -39,8 +39,8 @@ public Config()
...
@@ -39,8 +39,8 @@ public Config()
.
WithUnrollFactor
(
Iterations
)
.
WithUnrollFactor
(
Iterations
)
.
WithIterationCount
(
1
)
.
WithIterationCount
(
1
)
);
);
Set
(
new
DefaultOrderer
(
SummaryOrderPolicy
.
FastestToSlowest
)
);
Orderer
=
new
DefaultOrderer
(
SummaryOrderPolicy
.
FastestToSlowest
);
SummaryPerType
=
false
;
Options
|=
ConfigOptions
.
JoinSummary
;
}
}
}
}
}
}
Dapper.Tests.Performance/Dapper.Tests.Performance.csproj
View file @
f2b36563
...
@@ -15,13 +15,13 @@
...
@@ -15,13 +15,13 @@
<PackageReference Include="Dashing" Version="2.0.7" />
<PackageReference Include="Dashing" Version="2.0.7" />
<PackageReference Include="Dashing.Weaver" Version="2.0.7" />
<PackageReference Include="Dashing.Weaver" Version="2.0.7" />
<PackageReference Include="Belgrade.Sql.Client" Version="1.1.4" />
<PackageReference Include="Belgrade.Sql.Client" Version="1.1.4" />
<PackageReference Include="BenchmarkDotNet" Version="0.11.
1
" />
<PackageReference Include="BenchmarkDotNet" Version="0.11.
5
" />
<PackageReference Include="DevExpress.Xpo" Version="18.1.6" />
<PackageReference Include="DevExpress.Xpo" Version="18.1.6" />
<!--<PackageReference Include="BLToolkit" Version="4.3.6" />-->
<!--<PackageReference Include="BLToolkit" Version="4.3.6" />-->
<PackageReference Include="EntityFramework" Version="6.2.0" />
<PackageReference Include="EntityFramework" Version="6.2.0" />
<PackageReference Include="FirebirdSql.Data.FirebirdClient" Version="6.3.0" />
<PackageReference Include="FirebirdSql.Data.FirebirdClient" Version="6.3.0" />
<PackageReference Include="linq2db.SqlServer" Version="2.3.0" />
<PackageReference Include="linq2db.SqlServer" Version="2.3.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.
1.2
" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.
2.6
" />
<PackageReference Include="Microsoft.SqlServer.Types" Version="14.0.1016.290" />
<PackageReference Include="Microsoft.SqlServer.Types" Version="14.0.1016.290" />
<PackageReference Include="MySqlConnector" Version="0.44.1" />
<PackageReference Include="MySqlConnector" Version="0.44.1" />
<PackageReference Include="NHibernate" Version="5.1.3" />
<PackageReference Include="NHibernate" Version="5.1.3" />
...
...
Dapper.Tests.Performance/Helpers/ORMColum.cs
View file @
f2b36563
...
@@ -19,7 +19,7 @@ public string GetValue(Summary summary, BenchmarkCase benchmarkCase)
...
@@ -19,7 +19,7 @@ public string GetValue(Summary summary, BenchmarkCase benchmarkCase)
return
type
.
GetCustomAttribute
<
DescriptionAttribute
>()?.
Description
??
type
.
Name
.
Replace
(
"Benchmarks"
,
string
.
Empty
);
return
type
.
GetCustomAttribute
<
DescriptionAttribute
>()?.
Description
??
type
.
Name
.
Replace
(
"Benchmarks"
,
string
.
Empty
);
}
}
public
string
GetValue
(
Summary
summary
,
BenchmarkCase
benchmarkCase
,
I
SummaryStyle
style
)
=>
GetValue
(
summary
,
benchmarkCase
);
public
string
GetValue
(
Summary
summary
,
BenchmarkCase
benchmarkCase
,
SummaryStyle
style
)
=>
GetValue
(
summary
,
benchmarkCase
);
public
bool
IsAvailable
(
Summary
summary
)
=>
true
;
public
bool
IsAvailable
(
Summary
summary
)
=>
true
;
public
bool
AlwaysShow
=>
true
;
public
bool
AlwaysShow
=>
true
;
...
...
Dapper.Tests.Performance/Helpers/ReturnColum.cs
View file @
f2b36563
...
@@ -17,7 +17,7 @@ public string GetValue(Summary summary, BenchmarkCase benchmarkCase)
...
@@ -17,7 +17,7 @@ public string GetValue(Summary summary, BenchmarkCase benchmarkCase)
return
type
==
typeof
(
object
)
?
"dynamic"
:
type
.
Name
;
return
type
==
typeof
(
object
)
?
"dynamic"
:
type
.
Name
;
}
}
public
string
GetValue
(
Summary
summary
,
BenchmarkCase
benchmarkCase
,
I
SummaryStyle
style
)
=>
GetValue
(
summary
,
benchmarkCase
);
public
string
GetValue
(
Summary
summary
,
BenchmarkCase
benchmarkCase
,
SummaryStyle
style
)
=>
GetValue
(
summary
,
benchmarkCase
);
public
bool
IsAvailable
(
Summary
summary
)
=>
true
;
public
bool
IsAvailable
(
Summary
summary
)
=>
true
;
public
bool
AlwaysShow
=>
true
;
public
bool
AlwaysShow
=>
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment