当前位置:网站首页>【UE4】UnrealInsight获取真机性能测试报告
【UE4】UnrealInsight获取真机性能测试报告
2022-07-05 20:31:00 【峰度偏偏】
使用UnrealInsight可以看到运行时各个阶段的数据、追踪堆栈调用,帮助我们进行性能的分析。但最佳的测试方式是真机测试,那么如何获取真机的测试报告?
报告获取方式
有实时打印和获取日志两种方式,由于实时打印存在的教程很多,本文只介绍运行完后获取日志的方式。
实时打印
tracehost=IP:Port
:将性能数据通过端口传输到指定IP的UnrealInsight中实时显示。端口号范围为8000到8100。
如官方教程介绍的方式,真机安卓跑性能需要借助adb。具体步骤可以查看评论。
获取日志
-TraceDataFileHandle
:将性能数据写入文件中
- 新建一个名为
UE4CommandLine.txt
的文件,在其中写入命令:[相对路径\]运行项目名.uproject -TraceDataFileHandler
如:../../../ShadowTrackerExtra/ShadowTrackerExtra.uproject -TraceDataFileHandler
- 上述步骤建立的文件放入指定的项目目录
- 运行项目
- 正常退出项目,在
\Saved\trace
下面获取.utrace文件即可
边栏推荐
猜你喜欢
【愚公系列】2022年7月 Go教学课程 004-Go代码注释
小程序页面导航
Applet global configuration
死信队列入门(两个消费者,一个生产者)
走入并行的世界
Solve the problem that the database configuration information under the ThinkPHP framework application directory is still connected by default after modification
CVPR 2022 | 常见3D损坏和数据增强
Frequent MySQL operations cause table locking problems
Oracle tablespace management
Pytorch 1.12 was released, officially supporting Apple M1 chip GPU acceleration and repairing many bugs
随机推荐
CCPC 2021威海 - G. Shinyruo and KFC(组合数,小技巧)
kubernetes资源对象介绍及常用命令(五)-(ConfigMap&Secret)
【数字IC验证快速入门】6、Questasim 快速上手使用(以全加器设计与验证为例)
港股将迎“最牛十元店“,名创优品能借IPO突围?
[C language] three implementations of quick sorting and optimization details
USACO3.4 “破锣摇滚”乐队 Raucous Rockers - DP
Hongmeng OS' fourth learning
Informatics Olympiad 1340: [example 3-5] extended binary tree
Classic implementation of the basic method of intelligent home of Internet of things
Leetcode(695)——岛屿的最大面积
走入并行的世界
2.8、项目管理过程基础知识
19 mongoose modularization
CVPR 2022 | 常见3D损坏和数据增强
y57.第三章 Kubernetes从入门到精通 -- 业务镜像版本升级及回滚(三十)
Informatics Olympiad 1338: [example 3-3] hospital setting | Luogu p1364 hospital setting
Leetcode skimming: binary tree 12 (all paths of binary tree)
小程序页面导航
[Yugong series] go teaching course in July 2022 004 go code Notes
Ffplay document [easy to understand]