第一步:直接下载qtwinmigrate这个源代码 在QT内将图中的example内的qtdll打开 第二步:可以编译出dll文件 第三步:编写c#程序,调用dll.程序结构和代码如下: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Runtim
背景 开发了一个导入接口,测试过程中发现导入压缩包24M时,耗时50多秒.觉得这个时间太长了,可能存在问题,于是开始了漫长的排查之旅. 查看接口时间 通过Chrome DevTools 查看接口请求信息,发现接口时间主要消耗在发送数据(Request sent)和等待服务器响应(Waiting for server respnse)两部分. Request sent:平均在31s Waiting for server respnse:平均18s Request sent时间属于正常偏慢,因为发送