Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
589ed37b
Commit
589ed37b
authored
Dec 25, 2014
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename variable
parent
b5fd310a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
epictest/bench_test.go
epictest/bench_test.go
+10
-10
No files found.
epictest/bench_test.go
View file @
589ed37b
...
...
@@ -54,17 +54,17 @@ func BenchmarkNetworkSlowAddCat64MB(b *testing.B) { benchmarkAddCat(64*MB, netw
func
BenchmarkNetworkSlowAddCat128MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
128
*
MB
,
network
,
b
)
}
func
BenchmarkNetworkSlowAddCat256MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
256
*
MB
,
network
,
b
)
}
var
blockstore
=
Config
{}
.
Blockstore_7200RPM
()
var
hdd
=
Config
{}
.
Blockstore_7200RPM
()
func
BenchmarkBlockstoreSlowAddCat1MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
1
*
MB
,
blockstore
,
b
)
}
func
BenchmarkBlockstoreSlowAddCat2MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
2
*
MB
,
blockstore
,
b
)
}
func
BenchmarkBlockstoreSlowAddCat4MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
4
*
MB
,
blockstore
,
b
)
}
func
BenchmarkBlockstoreSlowAddCat8MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
8
*
MB
,
blockstore
,
b
)
}
func
BenchmarkBlockstoreSlowAddCat16MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
16
*
MB
,
blockstore
,
b
)
}
func
BenchmarkBlockstoreSlowAddCat32MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
32
*
MB
,
blockstore
,
b
)
}
func
BenchmarkBlockstoreSlowAddCat64MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
64
*
MB
,
blockstore
,
b
)
}
func
BenchmarkBlockstoreSlowAddCat128MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
128
*
MB
,
blockstore
,
b
)
}
func
BenchmarkBlockstoreSlowAddCat256MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
256
*
MB
,
blockstore
,
b
)
}
func
BenchmarkBlockstoreSlowAddCat1MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
1
*
MB
,
hdd
,
b
)
}
func
BenchmarkBlockstoreSlowAddCat2MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
2
*
MB
,
hdd
,
b
)
}
func
BenchmarkBlockstoreSlowAddCat4MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
4
*
MB
,
hdd
,
b
)
}
func
BenchmarkBlockstoreSlowAddCat8MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
8
*
MB
,
hdd
,
b
)
}
func
BenchmarkBlockstoreSlowAddCat16MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
16
*
MB
,
hdd
,
b
)
}
func
BenchmarkBlockstoreSlowAddCat32MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
32
*
MB
,
hdd
,
b
)
}
func
BenchmarkBlockstoreSlowAddCat64MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
64
*
MB
,
hdd
,
b
)
}
func
BenchmarkBlockstoreSlowAddCat128MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
128
*
MB
,
hdd
,
b
)
}
func
BenchmarkBlockstoreSlowAddCat256MB
(
b
*
testing
.
B
)
{
benchmarkAddCat
(
256
*
MB
,
hdd
,
b
)
}
var
mixed
=
Config
{}
.
Network_NYtoSF
()
.
Blockstore_SlowSSD2014
()
.
Routing_Slow
()
...
...
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