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-ds-measure
Commits
1d05d26e
Commit
1d05d26e
authored
Nov 28, 2016
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add needed import
parent
35ae3db1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
measure.go
measure.go
+1
-1
package.json
package.json
+6
-0
No files found.
measure.go
View file @
1d05d26e
...
...
@@ -16,7 +16,7 @@ var (
datastoreLatencyBuckets
=
[]
float64
{
1e-4
,
1e-3
,
1e-2
,
1e-1
}
// sort sizes in buckets with following upper bounds in bytes
datastoreSizeBuckets
=
[]
float64
{
1
<<
6
,
1
<<
12
,
1
<<
18
,
1
<<
24
}
datastoreSizeBuckets
=
[]
float64
{
1
<<
6
,
1
<<
12
,
1
<<
18
,
1
<<
24
}
)
// New wraps the datastore, providing metrics on the operations. The
...
...
package.json
View file @
1d05d26e
...
...
@@ -18,6 +18,12 @@
"hash"
:
"QmRWDav6mzWseLWeYfVd5fvUKiVe9xNH29YfMF438fG364"
,
"name"
:
"go-datastore"
,
"version"
:
"1.2.0"
},
{
"author"
:
"ipfs"
,
"hash"
:
"QmRg1gKTHzc3CZXSKzem8aR4E3TubFhbgXwfVuWnSK5CC5"
,
"name"
:
"go-metrics-interface"
,
"version"
:
"0.1.2"
}
],
"gxVersion"
:
"0.8.0"
,
...
...
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