node_thrift_benchmark
v0.1.2
Published
generic thrift benchmark
Downloads
5
Readme
Example
service = require "./gen-nodejs/MessageService"
types = require "./gen-nodejs/MessageService_types"
options =
host: "localhost"
port: "10000"
thrift_bench = new ThriftBench(service, options)
user = new types.UserId
uid: "1"
type: "csr"
clientType: "pc"
thrift_bench.online(user, console.log).execute(100)