1、从`puppet-wechat`发现群消息监听的时候会进行群成员的查询,而此方法比较耗时,可能达到6s左右。测试使用`await Promise.all`后时间缩短到2s,单应该还不是最好的状态 <img width="837" alt="image" src="https://user-images.githubusercontent.com/20028566/179349429-061323e9-d564-44b4-9986-3c0d38d7eb75.png"> <img width="1074" alt="image" src="https://user-images.githubusercontent.com/20028566/179349436-c2f0e090-8aaa-48e4-be8e-24ac118f1d3c.png"> <img width="723" alt="image" src="https://user-images.githubusercontent.com/20028566/179349883-4b37e73f-4e04-4b53-a985-79e3a43d9423.png"> 2、可以看到为了查询一个群成员会调用三次方法,而且每次调用方法都会把所有群成员的消息全部请求一遍,这就导致查询速度会降低很多,而且对同一个群也会查询三次,复用率很低,感觉可以优化一下,先查询群成员信息,再进行后续的步骤 <img width="853" alt="image" src="https://user-images.githubusercontent.com/20028566/179349617-68a7f008-1c2c-4744-8b46-836071dbab6d.png"> <img width="875" alt="image" src="https://user-images.githubusercontent.com/20028566/179349610-f49bef00-a9e4-4666-a2ba-e3dd0c5bf9cc.png">