OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix log (#388)
[bytom/vapor.git]
/
test
/
performance
/
rpc_test.go
1
package performance
2
3
import (
4
"testing"
5
6
"github.com/vapor/util"
7
)
8
9
// Test rpc call benchmark - 0.1 s/op
10
func BenchmarkRpcCall(b *testing.B) {
11
b.ResetTimer()
12
for i := 0; i < b.N; i++ {
13
util.ClientCall("/net-info")
14
}
15
}