1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00

1157 Commits

Author SHA1 Message Date
Mrs4s
5d7cb85b1e
update: unknown group system msg log level updated Error -> Debug 2021-12-13 01:42:29 +08:00
Mrs4s
06bc0bba17
feat: GuildMessageRecalledEvent 2021-12-13 01:34:54 +08:00
wdvxdr
abe1fe7770
feat: support send guild music share 2021-12-12 17:12:47 +08:00
wdvxdr
503db83375
fix: drop oneof in oidb.D89AGroupinfo
RomiChan/protobuf don't support oneof now
2021-12-12 14:58:30 +08:00
wdvxdr
5ff69f3c3a
binary/jce: use go/parser generator 2021-12-12 14:38:03 +08:00
源文雨
45692b75f8
fix(jce): ToByes lost some fields of SvcReqRegisterNew (#217) 2021-12-12 00:04:15 +08:00
Mrs4s
416a6c17be
fix build 2021-12-11 02:36:55 +08:00
Mrs4s
a206b0077c
feat: update FetchGuildMemberProfileInfo api 2021-12-11 02:34:32 +08:00
Mrs4s
be7293b1c0
Merge pull request #215 from fumiama/master
perf(jce): drop reflect in writer
2021-12-11 02:16:01 +08:00
fumiama
bcde705a75 fix: codegen error & drop all reflect in jce 2021-12-10 14:49:53 +08:00
fumiama
ed7199def8 fix: gen rely on jce 2021-12-09 23:30:12 +08:00
fumiama
f1d2259956 fix(jce): replacment not equivalent 2021-12-09 22:47:16 +08:00
fumiama
b041fc20e8 perf(jce): drop most reflect in writer
name                           old time/op    new time/op     delta
JceWriter_WriteMap-8             2.34µs ± 2%     0.69µs ± 4%   -70.63%  (p=0.008 n=5+5)
JceWriter_WriteJceStructRaw-8    1.28µs ± 1%     0.42µs ± 1%   -66.86%  (p=0.008 n=5+5)

name                           old speed      new speed       delta
JceWriter_WriteMap-8           39.7MB/s ± 2%  135.4MB/s ± 4%  +240.56%  (p=0.008 n=5+5)
JceWriter_WriteJceStructRaw-8  82.3MB/s ± 1%  219.9MB/s ± 1%  +167.32%  (p=0.008 n=5+5)

name                           old alloc/op   new alloc/op    delta
JceWriter_WriteMap-8             1.30kB ± 0%     0.21kB ± 0%   -84.05%  (p=0.008 n=5+5)
JceWriter_WriteJceStructRaw-8      640B ± 0%       208B ± 0%   -67.50%  (p=0.008 n=5+5)

name                           old allocs/op  new allocs/op   delta
JceWriter_WriteMap-8               30.0 ± 0%        2.0 ± 0%   -93.33%  (p=0.008 n=5+5)
JceWriter_WriteJceStructRaw-8      15.0 ± 0%        2.0 ± 0%   -86.67%  (p=0.008 n=5+5)
2021-12-09 22:25:53 +08:00
Mrs4s
8cd25e02fc
feat: FetchGuildMemberListWithRole api 2021-12-08 21:25:33 +08:00
Mrs4s
25c67a3ee1
fix: MessageSvc.PushNotify decode error 2021-12-08 16:02:34 +08:00
Mrs4s
2caf71a0bb
fix: sso frame head parse error 2021-12-08 13:47:42 +08:00
lizheng.lz1998
59471c51cf update protocol id 2021-12-08 00:48:28 +08:00
Mrs4s
2d17133a7b
fix: reconnect on decrypt flag error 2021-12-07 13:29:01 +08:00
Mrs4s
355fe4a410
Merge branch 'master' of github.com:/Mrs4s/MiraiGo 2021-12-06 21:57:01 +08:00
Mrs4s
d094d0483d
Merge pull request #210 from fumiama/master
fix(#209): OpenWriterF encode error
2021-12-04 20:40:55 +08:00
fumiama
d3ab5965d5 fix(#209): OpenWriterF encode error 2021-12-04 20:31:11 +08:00
Mrs4s
c73026ce09
update dep 2021-12-04 18:08:59 +08:00
Mrs4s
a2e7548a2b
ref: remove guild FindMember func & remove guild members cache 2021-12-04 18:08:20 +08:00
Mrs4s
34bb74d1d1
fix: lz4 decode error 2021-12-04 17:43:00 +08:00
Mrs4s
e043181fc1
Merge pull request #203 from fumiama/master
perf: on jce & tea & pool & writer
2021-12-03 12:30:19 +08:00
Mrs4s
96fd4d32e7
fix: nil pointer panic on guild event flow decoder 2021-12-02 12:00:17 +08:00
github-actions[bot]
c0713ba75d ci(chore): Fix stylings 2021-12-01 17:04:11 +00:00
Mrs4s
d08d9dbddd
feat: decode compressed guild event packet. close #207 2021-12-02 01:03:10 +08:00
Mrs4s
9778dd2369
feat: MemberJoinedGuildEvent 2021-11-27 20:28:46 +08:00
Mrs4s
524b2b7881
update protobuf 2021-11-27 17:25:29 +08:00
Mrs4s
5c5e61d279
fix build 2021-11-27 02:04:57 +08:00
Mrs4s
14bb70f1f0
Merge branch 'master' of github.com:/Mrs4s/MiraiGo 2021-11-27 02:02:32 +08:00
Mrs4s
67bf336f22
feat: PostTopicChannelFeed 2021-11-27 02:02:13 +08:00
github-actions[bot]
88279a654a ci(chore): Fix stylings 2021-11-26 17:21:51 +00:00
Mrs4s
8b4b8269f3
feat: GetTopicChannelFeeds 2021-11-27 01:21:04 +08:00
源文雨
b27ab903f1
Merge branch 'master' into master 2021-11-26 15:06:02 +08:00
fumiama
13a9d087e7 perf(jce): drop reflect in reader
name                   old time/op    new time/op    delta
JceReader_ReadSlice-8    1.53ms ±90%    0.82ms ±86%  -46.30%  (p=0.017 n=16+16)

name                   old speed      new speed      delta
JceReader_ReadSlice-8   117MB/s ± 3%   228MB/s ± 4%  +94.43%  (p=0.000 n=16+16)

name                   old alloc/op   new alloc/op   delta
JceReader_ReadSlice-8     516kB ±88%     536kB ±85%     ~     (p=0.780 n=16+16)

name                   old allocs/op  new allocs/op  delta
JceReader_ReadSlice-8     25.6k ±88%     26.6k ±85%     ~     (p=0.780 n=16+16)
2021-11-26 15:02:44 +08:00
github-actions[bot]
e8e50b5062 ci(chore): Fix stylings 2021-11-26 02:22:51 +00:00
Mrs4s
915d2da4cc
Merge remote-tracking branch 'origin/master'
# Conflicts:
#	client/guild.go
#	client/pb/channel/GuildChannelBase.pb.go
#	client/pb/channel/GuildFeedCloudMeta.pb.go
#	client/pb/channel/GuildFeedCloudRead.pb.go
#	client/pb/channel/MsgResponsesSvr.pb.go
#	client/pb/qweb/protocol.pb.go
2021-11-26 10:21:59 +08:00
Mrs4s
6514cd144e
protocol: update protobuf files 2021-11-26 10:19:08 +08:00
github-actions[bot]
59a3a3b2c0 ci(chore): Fix stylings 2021-11-26 01:58:28 +00:00
Mrs4s
ce23185cde
protocol: update protobuf files & save work progress 2021-11-26 09:57:41 +08:00
Mrs4s
797a912b6d
protocol: update protobuf files & save work progress 2021-11-26 09:54:46 +08:00
wdvxdr
b483e44f9c
proto: use protoc-gen-golite generated files 2021-11-25 21:23:49 +08:00
wdvxdr
4bdb791334
dep: use RomiChan/protobuf 2021-11-24 21:57:13 +08:00
Mrs4s
4c60c8ee47
Merge branch 'master' of github.com:/Mrs4s/MiraiGo 2021-11-24 00:04:12 +08:00
Mrs4s
9c5515ca9f
fix typo 2021-11-24 00:03:56 +08:00
fumiama
a70e0f20de perf: add 0 alloc func OpenWriterF 2021-11-23 16:21:06 +08:00
fumiama
26579583cc drop(pool): unnecessay nil judge 2021-11-23 15:35:52 +08:00
fumiama
ec053573f1 perf(tea): use runtime.fastrand
name          old time/op    new time/op    delta
TEAen/16-8       242ns ± 1%     225ns ± 2%  -6.98%  (p=0.008 n=5+5)
TEAen/256-8     1.71µs ± 0%    1.68µs ± 0%  -1.58%  (p=0.008 n=5+5)
TEAen/4K-8      25.0µs ± 1%    25.0µs ± 0%    ~     (p=1.000 n=5+5)
TEAen/32K-8      202µs ± 1%     202µs ± 0%    ~     (p=0.548 n=5+5)
TEAde/16-8       208ns ± 0%     207ns ± 0%    ~     (p=0.198 n=5+5)
TEAde/256-8     1.65µs ± 0%    1.64µs ± 0%  -0.39%  (p=0.048 n=5+5)
TEAde/4K-8      24.6µs ± 0%    24.6µs ± 1%    ~     (p=1.000 n=5+5)
TEAde/32K-8      199µs ± 0%     199µs ± 0%    ~     (p=0.905 n=4+5)

name          old speed      new speed      delta
TEAen/16-8    66.2MB/s ± 1%  71.2MB/s ± 2%  +7.51%  (p=0.008 n=5+5)
TEAen/256-8    150MB/s ± 0%   152MB/s ± 0%  +1.61%  (p=0.008 n=5+5)
TEAen/4K-8     164MB/s ± 1%   164MB/s ± 0%    ~     (p=1.000 n=5+5)
TEAen/32K-8    162MB/s ± 1%   162MB/s ± 0%    ~     (p=0.548 n=5+5)
TEAde/16-8     154MB/s ± 0%   154MB/s ± 0%    ~     (p=0.222 n=5+5)
TEAde/256-8    165MB/s ± 0%   165MB/s ± 0%    ~     (p=0.056 n=5+5)
TEAde/4K-8     167MB/s ± 0%   167MB/s ± 1%    ~     (p=1.000 n=5+5)
TEAde/32K-8    165MB/s ± 0%   165MB/s ± 0%    ~     (p=0.825 n=4+5)
2021-11-23 13:18:58 +08:00