OSDN Git Service

rename (#465)
[bytom/vapor.git] / test / performance / rpc_test.go
1 package performance
2
3 import (
4         "testing"
5
6         "github.com/bytom/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 }