Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
d63f01cdfb
40
bin/robot003.txt
Normal file
40
bin/robot003.txt
Normal file
@ -0,0 +1,40 @@
|
||||
机器人总数: 3000
|
||||
成功数量: 3000
|
||||
失败数量: 0
|
||||
消息总吞吐量: 453410
|
||||
---消息压测详情----------------------------------------------------------------------------------------------------
|
||||
消息名:horoscope.info 请求次数:2534 耗时最小:13 ms 耗时最大:1517 ms 平均耗时:23.89ms 中位耗时:18.00ms
|
||||
消息名:wtask.battlestart 请求次数:4562 耗时最小:14 ms 耗时最大:1602 ms 平均耗时:22.89ms 中位耗时:19.00ms
|
||||
消息名:viking.getlist 请求次数:24440 耗时最小:12 ms 耗时最大:1677 ms 平均耗时:27.79ms 中位耗时:18.00ms
|
||||
消息名:caravan.getstory 请求次数:4804 耗时最小:14 ms 耗时最大:1502 ms 平均耗时:22.80ms 中位耗时:19.00ms
|
||||
消息名:user.login 请求次数:3000 耗时最小:18 ms 耗时最大:2077 ms 平均耗时:617.76ms 中位耗时:669.00ms
|
||||
消息名:user.create 请求次数:2929 耗时最小:13 ms 耗时最大:1663 ms 平均耗时:23.82ms 中位耗时:23.00ms
|
||||
消息名:hero.talentlist 请求次数:2856 耗时最小:13 ms 耗时最大:1673 ms 平均耗时:21.26ms 中位耗时:18.00ms
|
||||
消息名:arena.info 请求次数:2624 耗时最小:14 ms 耗时最大:1608 ms 平均耗时:24.16ms 中位耗时:18.00ms
|
||||
消息名:shop.buy 请求次数:10 耗时最小:19 ms 耗时最大:20 ms 平均耗时:19.90ms 中位耗时:20.00ms
|
||||
消息名:pagoda.challenge 请求次数:24440 耗时最小:14 ms 耗时最大:1695 ms 平均耗时:29.91ms 中位耗时:19.00ms
|
||||
消息名:wtask.completecondi 请求次数:4558 耗时最小:14 ms 耗时最大:1634 ms 平均耗时:21.51ms 中位耗时:19.00ms
|
||||
消息名:wtask.finish 请求次数:9084 耗时最小:14 ms 耗时最大:1597 ms 平均耗时:33.65ms 中位耗时:20.00ms
|
||||
消息名:chat.send 请求次数:24440 耗时最小:12 ms 耗时最大:260 ms 平均耗时:17.75ms 中位耗时:17.00ms
|
||||
消息名:viking.challenge 请求次数:23997 耗时最小:15 ms 耗时最大:1696 ms 平均耗时:24.35ms 中位耗时:21.00ms
|
||||
消息名:items.getlist 请求次数:2789 耗时最小:13 ms 耗时最大:1672 ms 平均耗时:24.68ms 中位耗时:18.00ms
|
||||
消息名:arena.challengereward 请求次数:23669 耗时最小:16 ms 耗时最大:1832 ms 平均耗时:27.43ms 中位耗时:23.00ms
|
||||
消息名:viking.challengeover 请求次数:23931 耗时最小:21 ms 耗时最大:1660 ms 平均耗时:32.46ms 中位耗时:28.00ms
|
||||
消息名:caravan.buyorsell 请求次数:23990 耗时最小:15 ms 耗时最大:1676 ms 平均耗时:22.97ms 中位耗时:20.00ms
|
||||
消息名:wtask.info 请求次数:2644 耗时最小:15 ms 耗时最大:1591 ms 平均耗时:25.65ms 中位耗时:19.00ms
|
||||
消息名:pagoda.getlist 请求次数:2560 耗时最小:14 ms 耗时最大:1600 ms 平均耗时:25.20ms 中位耗时:18.00ms
|
||||
消息名:sys.funcgetlist 请求次数:2488 耗时最小:14 ms 耗时最大:1585 ms 平均耗时:29.65ms 中位耗时:18.00ms
|
||||
消息名:wtask.accept 请求次数:11291 耗时最小:13 ms 耗时最大:1687 ms 平均耗时:23.51ms 中位耗时:19.00ms
|
||||
消息名:equipment.getlist 请求次数:2814 耗时最小:13 ms 耗时最大:1654 ms 平均耗时:25.51ms 中位耗时:18.00ms
|
||||
消息名:arena.matche 请求次数:24440 耗时最小:17 ms 耗时最大:1667 ms 平均耗时:35.70ms 中位耗时:23.00ms
|
||||
消息名:arena.challenge 请求次数:23730 耗时最小:16 ms 耗时最大:1671 ms 平均耗时:25.51ms 中位耗时:22.00ms
|
||||
消息名:wtask.battlefinish 请求次数:4548 耗时最小:20 ms 耗时最大:1534 ms 平均耗时:30.21ms 中位耗时:27.00ms
|
||||
消息名:caravan.getlist 请求次数:2514 耗时最小:17 ms 耗时最大:1820 ms 平均耗时:35.19ms 中位耗时:22.00ms
|
||||
消息名:hero.drawcard 请求次数:24440 耗时最小:39 ms 耗时最大:3471 ms 平均耗时:75.41ms 中位耗时:65.00ms
|
||||
消息名:equipment.upgrade 请求次数:24440 耗时最小:15 ms 耗时最大:1692 ms 平均耗时:29.80ms 中位耗时:20.00ms
|
||||
消息名:horoscope.upgrade 请求次数:24440 耗时最小:19 ms 耗时最大:1709 ms 平均耗时:40.10ms 中位耗时:29.00ms
|
||||
消息名:caravan.gotocity 请求次数:24440 耗时最小:15 ms 耗时最大:1744 ms 平均耗时:30.51ms 中位耗时:21.00ms
|
||||
消息名:hero.list 请求次数:2856 耗时最小:13 ms 耗时最大:1739 ms 平均耗时:30.70ms 中位耗时:19.00ms
|
||||
消息名:gm.cmd 请求次数:40555 耗时最小:13 ms 耗时最大:1892 ms 平均耗时:22.10ms 中位耗时:19.00ms
|
||||
消息名:shop.getlist 请求次数:2605 耗时最小:14 ms 耗时最大:1563 ms 平均耗时:30.70ms 中位耗时:19.00ms
|
||||
消息名:pagoda.challengeover 请求次数:23948 耗时最小:19 ms 耗时最大:1810 ms 平均耗时:31.71ms 中位耗时:28.00ms
|
@ -28,7 +28,14 @@ func (this *apiComp) ChangeMts(session comm.IUserSession, req *pb.CapturesheepCh
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
if dragon, err = this.module.dragon.QueryDragonById(session.GetUserId(), req.Mid); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_DBError,
|
||||
Title: pb.ErrorCode_DBError.ToString(),
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
}
|
||||
info.Defmts = dragon.Id
|
||||
if err = this.module.modelCaptureSheep.Change(session.GetUserId(), map[string]interface{}{
|
||||
"defmts": info.Defmts,
|
||||
@ -40,6 +47,6 @@ func (this *apiComp) ChangeMts(session comm.IUserSession, req *pb.CapturesheepCh
|
||||
}
|
||||
return
|
||||
}
|
||||
session.SendMsg(string(this.module.GetType()), "changemts", &pb.CapturesheepChangeMtsResp{})
|
||||
session.SendMsg(string(this.module.GetType()), "changemts", &pb.CapturesheepChangeMtsResp{Mid: req.Mid})
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user