Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StackExchange.Redis
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
StackExchange.Redis
Commits
596713b7
Commit
596713b7
authored
Jul 27, 2018
by
Marc Gravell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweak to perf test rig
parent
e38f42ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Program.cs
BasicTest/Program.cs
+3
-3
No files found.
BasicTest/Program.cs
View file @
596713b7
using
System
;
using
System
;
using
System.Diagnostics
;
using
System.Reflection
;
using
System.Reflection
;
using
System.Threading.Tasks
;
using
System.Threading.Tasks
;
using
BenchmarkDotNet.Attributes
;
using
BenchmarkDotNet.Attributes
;
...
@@ -29,8 +28,9 @@ public CustomConfig()
...
@@ -29,8 +28,9 @@ public CustomConfig()
Add
(
new
MemoryDiagnoser
());
Add
(
new
MemoryDiagnoser
());
Add
(
StatisticColumn
.
OperationsPerSecond
);
Add
(
StatisticColumn
.
OperationsPerSecond
);
Add
(
JitOptimizationsValidator
.
FailOnError
);
Add
(
JitOptimizationsValidator
.
FailOnError
);
Add
(
Configure
(
Job
.
Clr
));
Add
(
Configure
(
Job
.
Clr
));
//Add(Get
(Job.Core));
Add
(
Configure
(
Job
.
Core
));
}
}
}
}
internal
class
SlowConfig
:
CustomConfig
internal
class
SlowConfig
:
CustomConfig
...
@@ -178,7 +178,7 @@ public class Issue898 : IDisposable
...
@@ -178,7 +178,7 @@ public class Issue898 : IDisposable
public
void
Dispose
()
=>
mux
?.
Dispose
();
public
void
Dispose
()
=>
mux
?.
Dispose
();
public
Issue898
()
public
Issue898
()
{
{
mux
=
ConnectionMultiplexer
.
Connect
(
"
localhost
:6379"
);
mux
=
ConnectionMultiplexer
.
Connect
(
"
127.0.0.1
:6379"
);
db
=
mux
.
GetDatabase
();
db
=
mux
.
GetDatabase
();
}
}
...
...
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