wdvxdr
|
97dcddb6d4
|
jce: speed up read
don't use bytes.Buffer to inline more functions
name old time/op new time/op delta
JceReader_ReadSlice-8 614µs ±68% 523µs ±70% ~ (p=0.690 n=5+5)
RequestDataVersion2_ReadFrom-8 3.98µs ± 1% 3.54µs ± 2% -10.96% (p=0.008 n=5+5)
name old speed new speed delta
JceReader_ReadSlice-8 104MB/s ± 7% 121MB/s ± 2% +16.68% (p=0.008 n=5+5)
RequestDataVersion2_ReadFrom-8 23.4MB/s ± 1% 26.3MB/s ± 2% +12.33% (p=0.008 n=5+5)
name old alloc/op new alloc/op delta
JceReader_ReadSlice-8 196kB ±67% 184kB ±67% ~ (p=0.690 n=5+5)
RequestDataVersion2_ReadFrom-8 2.59kB ± 0% 2.62kB ± 0% +1.04% (p=0.008 n=5+5)
name old allocs/op new allocs/op delta
JceReader_ReadSlice-8 9.02k ±67% 9.02k ±67% ~ (p=1.000 n=5+5)
RequestDataVersion2_ReadFrom-8 46.0 ± 0% 44.0 ± 0% -4.35% (p=0.008 n=5+5)
|
2021-11-20 20:54:19 +08:00 |
|
Lin
|
0cb45e1d20
|
perf: no md5 on EmptyClient
|
2021-11-20 19:07:24 +08:00 |
|
wdvxdr
|
43b23f4e6f
|
jce: speed up write
name old time/op new time/op delta
JceWriter_WriteMap-8 2.46µs ± 1% 2.37µs ± 1% -3.88% (p=0.000 n=9+9)
JceWriter_WriteJceStructRaw-8 1.78µs ± 1% 1.29µs ± 1% -27.38% (p=0.000 n=9+10)
name old speed new speed delta
JceWriter_WriteMap-8 37.7MB/s ± 1% 39.3MB/s ± 1% +4.04% (p=0.000 n=9+9)
JceWriter_WriteJceStructRaw-8 59.0MB/s ± 1% 81.3MB/s ± 1% +37.70% (p=0.000 n=9+10)
name old alloc/op new alloc/op delta
JceWriter_WriteMap-8 1.30kB ± 0% 1.30kB ± 0% ~ (all equal)
JceWriter_WriteJceStructRaw-8 724B ± 0% 640B ± 0% -11.60% (p=0.000 n=10+10)
name old allocs/op new allocs/op delta
JceWriter_WriteMap-8 30.0 ± 0% 30.0 ± 0% ~ (all equal)
JceWriter_WriteJceStructRaw-8 29.0 ± 0% 15.0 ± 0% -48.28% (p=0.000 n=10+10)
|
2021-11-20 11:38:24 +08:00 |
|
wdvxdr
|
3216c69d46
|
feat: support receive Animated Sticker
|
2021-11-19 23:02:45 +08:00 |
|
github-actions[bot]
|
b9f70f7d4c
|
ci(chore): Fix stylings
|
2021-11-19 14:08:44 +00:00 |
|
wdvxdr
|
aa92a8bb6c
|
feat: support send Animated Stickers
|
2021-11-19 22:07:46 +08:00 |
|
wdvxdr
|
1f8edc2de3
|
update some tlv packet
|
2021-11-19 20:12:56 +08:00 |
|
wdvxdr
|
19e2050004
|
feat: upload guild short video
|
2021-11-18 21:28:17 +08:00 |
|
wdvxdr
|
574c4e57b1
|
perf(tea): unrolling encode
name old time/op new time/op delta
TEAen/16-8 237ns ± 0% 227ns ± 1% -4.03% (p=0.008 n=5+5)
TEAen/256-8 1.69µs ± 0% 1.60µs ± 1% -4.83% (p=0.008 n=5+5)
TEAen/4K-8 25.0µs ± 1% 23.8µs ± 2% -4.73% (p=0.008 n=5+5)
TEAen/32K-8 199µs ± 1% 188µs ± 1% -5.30% (p=0.008 n=5+5)
TEAde/16-8 196ns ± 1% 194ns ± 1% -0.89% (p=0.016 n=5+5)
TEAde/256-8 1.56µs ± 0% 1.54µs ± 0% -1.50% (p=0.008 n=5+5)
TEAde/4K-8 23.5µs ± 0% 23.2µs ± 0% -1.46% (p=0.008 n=5+5)
TEAde/32K-8 187µs ± 1% 184µs ± 1% -1.50% (p=0.008 n=5+5)
name old speed new speed delta
TEAen/16-8 67.6MB/s ± 1% 70.5MB/s ± 1% +4.20% (p=0.008 n=5+5)
TEAen/256-8 152MB/s ± 0% 160MB/s ± 1% +5.07% (p=0.008 n=5+5)
TEAen/4K-8 164MB/s ± 1% 172MB/s ± 2% +4.98% (p=0.008 n=5+5)
TEAen/32K-8 165MB/s ± 1% 174MB/s ± 1% +5.60% (p=0.008 n=5+5)
TEAde/16-8 163MB/s ± 1% 165MB/s ± 1% +0.90% (p=0.016 n=5+5)
TEAde/256-8 174MB/s ± 0% 177MB/s ± 0% +1.51% (p=0.008 n=5+5)
TEAde/4K-8 175MB/s ± 0% 177MB/s ± 0% +1.48% (p=0.008 n=5+5)
TEAde/32K-8 175MB/s ± 1% 178MB/s ± 1% +1.52% (p=0.008 n=5+5)
|
2021-11-17 13:33:25 +08:00 |
|
github-actions[bot]
|
95364f1ff8
|
ci(chore): Fix stylings
|
2021-11-16 15:55:14 +00:00 |
|
Mrs4s
|
782422fca1
|
Merge pull request #196 from Kengxxiao/master
频道身份组操作
|
2021-11-16 23:54:45 +08:00 |
|
Kengxxiao
|
13d2fd51da
|
fix
|
2021-11-16 23:48:04 +08:00 |
|
Kengxxiao
|
273dac82f8
|
remove unused struct
|
2021-11-16 23:21:41 +08:00 |
|
Kengxxiao
|
870922b5b6
|
feat: ModifyRoleInGuild
|
2021-11-16 23:19:05 +08:00 |
|
Kengxxiao
|
5181282bc5
|
feat: support roles management
|
2021-11-16 23:03:10 +08:00 |
|
Kengxxiao
|
5ba00392ba
|
add create role packet
|
2021-11-16 22:10:18 +08:00 |
|
wdvxdr
|
a69487056d
|
drop unsafe in TEA encryption
name old time/op new time/op delta
TEAen/16-8 245ns ± 0% 237ns ± 0% -3.29% (p=0.008 n=5+5)
TEAen/256-8 1.73µs ± 0% 1.69µs ± 0% -2.77% (p=0.008 n=5+5)
TEAen/4K-8 24.9µs ± 0% 25.0µs ± 1% ~ (p=0.690 n=5+5)
TEAen/32K-8 198µs ± 0% 199µs ± 1% +0.73% (p=0.008 n=5+5)
TEAde/16-8 215ns ± 1% 196ns ± 1% -8.93% (p=0.008 n=5+5)
TEAde/256-8 1.70µs ± 0% 1.56µs ± 0% -8.08% (p=0.008 n=5+5)
TEAde/4K-8 24.9µs ± 1% 23.5µs ± 0% -5.50% (p=0.008 n=5+5)
TEAde/32K-8 198µs ± 0% 187µs ± 1% -5.34% (p=0.008 n=5+5)
name old speed new speed delta
TEAen/16-8 65.4MB/s ± 0% 67.6MB/s ± 1% +3.39% (p=0.008 n=5+5)
TEAen/256-8 148MB/s ± 0% 152MB/s ± 0% +2.84% (p=0.008 n=5+5)
TEAen/4K-8 164MB/s ± 0% 164MB/s ± 1% ~ (p=0.587 n=5+5)
TEAen/32K-8 166MB/s ± 0% 165MB/s ± 1% -0.72% (p=0.008 n=5+5)
TEAde/16-8 149MB/s ± 1% 163MB/s ± 1% +9.81% (p=0.008 n=5+5)
TEAde/256-8 160MB/s ± 0% 174MB/s ± 0% +8.80% (p=0.008 n=5+5)
TEAde/4K-8 165MB/s ± 1% 175MB/s ± 0% +5.81% (p=0.008 n=5+5)
TEAde/32K-8 166MB/s ± 0% 175MB/s ± 1% +5.70% (p=0.008 n=5+5)
|
2021-11-16 20:54:40 +08:00 |
|
Kengxxiao
|
96489d00f6
|
add role packet
|
2021-11-16 20:21:18 +08:00 |
|
Mrs4s
|
511e8c41ed
|
feat: guild at encode
|
2021-11-15 01:08:54 +08:00 |
|
Mrs4s
|
55ba62e4b8
|
Merge branch 'master' of github.com:/Mrs4s/MiraiGo
|
2021-11-14 22:51:40 +08:00 |
|
Mrs4s
|
28e93a7e2c
|
fix: sync logic error
|
2021-11-14 22:50:54 +08:00 |
|
wdvxdr
|
2e441ed925
|
drop SendGroupGift support
QQ no longer provide free group gifts, so we should drop it
|
2021-11-14 21:52:09 +08:00 |
|
github-actions[bot]
|
54b035657c
|
ci(chore): Fix stylings
|
2021-11-14 09:17:54 +00:00 |
|
Mrs4s
|
baf792f68a
|
Merge branch 'master' of github.com:/Mrs4s/MiraiGo
|
2021-11-14 17:17:16 +08:00 |
|
Mrs4s
|
8427db5347
|
feat: support guild at message decode
|
2021-11-14 17:16:01 +08:00 |
|
wdvxdr
|
1ea4f641d4
|
fix: better error handle for upload long message
|
2021-11-14 12:06:50 +08:00 |
|
Mrs4s
|
c0ade34f1d
|
fix: panic on get non admin-role-group guild members
|
2021-11-14 04:53:13 +08:00 |
|
Mrs4s
|
e8cf25f6f4
|
fix: send guild channel message response decoder panic error
|
2021-11-14 04:50:06 +08:00 |
|
Mrs4s
|
849be61d5a
|
feat: GuildChannelDestroyedEvent
|
2021-11-14 04:46:57 +08:00 |
|
Mrs4s
|
c149f28fb8
|
feat: GuildChannelCreatedEvent
|
2021-11-14 04:33:02 +08:00 |
|
Mrs4s
|
d3a21e577b
|
fix: guild image type error
|
2021-11-13 02:30:36 +08:00 |
|
wdvxdr
|
7b125259d6
|
style: sort imports
|
2021-11-12 23:43:22 +08:00 |
|
wdvxdr
|
96f4e74496
|
style: rename packets2 to packets
|
2021-11-12 16:30:20 +08:00 |
|
wdvxdr
|
2a92b2755f
|
perf: speed up tea encrypt & decrypt
name old time/op new time/op delta
TEAen/16-8 260ns ± 0% 245ns ± 0% -5.83% (p=0.008 n=5+5)
TEAen/256-8 1.86µs ± 0% 1.73µs ± 0% -6.86% (p=0.008 n=5+5)
TEAen/4K-8 27.8µs ± 0% 24.9µs ± 0% -10.19% (p=0.008 n=5+5)
TEAde/16-8 223ns ± 1% 215ns ± 1% -3.24% (p=0.008 n=5+5)
TEAde/256-8 1.88µs ± 0% 1.70µs ± 0% -9.49% (p=0.000 n=4+5)
TEAde/4K-8 28.1µs ± 1% 24.9µs ± 1% -11.43% (p=0.008 n=5+5)
name old speed new speed delta
TEAen/16-8 61.6MB/s ± 0% 65.4MB/s ± 0% +6.19% (p=0.008 n=5+5)
TEAen/256-8 138MB/s ± 0% 148MB/s ± 0% +7.35% (p=0.008 n=5+5)
TEAen/4K-8 147MB/s ± 0% 164MB/s ± 0% +11.34% (p=0.008 n=5+5)
TEAde/16-8 144MB/s ± 1% 149MB/s ± 1% +3.34% (p=0.008 n=5+5)
TEAde/256-8 145MB/s ± 0% 160MB/s ± 0% +10.47% (p=0.016 n=4+5)
TEAde/4K-8 146MB/s ± 1% 165MB/s ± 1% +12.90% (p=0.008 n=5+5)
|
2021-11-12 11:40:40 +08:00 |
|
github-actions[bot]
|
b85fc25cd5
|
ci(chore): Fix stylings
|
2021-11-11 18:17:49 +00:00 |
|
Mrs4s
|
9350021852
|
feat: SendGuildChannelMessage return *message.GuildChannelMessage
|
2021-11-12 02:17:01 +08:00 |
|
github-actions[bot]
|
19b2c4c5c8
|
ci(chore): Fix stylings
|
2021-11-11 17:51:34 +00:00 |
|
Mrs4s
|
b644f5c158
|
feat: UploadGuildImage
|
2021-11-12 01:50:30 +08:00 |
|
Mrs4s
|
e3411adb3d
|
feat: GuildChannelUpdatedEvent
|
2021-11-11 19:25:59 +08:00 |
|
Mrs4s
|
e02a9ece6e
|
fix: missing args
|
2021-11-11 19:02:04 +08:00 |
|
Mrs4s
|
551a865d9e
|
protocol: use FetchChannelList to fill channel list field
|
2021-11-11 18:59:52 +08:00 |
|
github-actions[bot]
|
8de7862072
|
ci(chore): Fix stylings
|
2021-11-11 10:52:40 +00:00 |
|
Mrs4s
|
6a525b2f8d
|
feat: FetchChannelList
|
2021-11-11 18:51:58 +08:00 |
|
Mrs4s
|
261edb101e
|
style: use unpackOIDBPackage decode oidb response
|
2021-11-11 17:57:06 +08:00 |
|
github-actions[bot]
|
68956c83bc
|
ci(chore): Fix stylings
|
2021-11-11 09:52:54 +00:00 |
|
Mrs4s
|
5e76774dd4
|
Merge branch 'master' of github.com:/Mrs4s/MiraiGo
|
2021-11-11 17:52:18 +08:00 |
|
Mrs4s
|
d7c66bf26a
|
feat: FetchChannelInfo
|
2021-11-11 17:51:59 +08:00 |
|
github-actions[bot]
|
2ba34b09cf
|
ci(chore): Fix stylings
|
2021-11-09 20:12:48 +00:00 |
|
Mrs4s
|
75d6d547d2
|
feat: SendGuildChannelMessage
|
2021-11-10 04:12:01 +08:00 |
|
Mrs4s
|
cc17020dab
|
feat: FindChannel method
|
2021-11-10 00:59:59 +08:00 |
|