# Performance testing extension for Unity Test Runner
The Unity Performance Testing Extension is a Unity Editor package that, when installed, provides an API and test case decorators to make it easier to take measurements/samples of Unity profiler markers, and other custom metrics outside of the profiler, within the Unity Editor and built players. It also collects configuration metadata, such as build and player settings, which is useful when comparing data for against different hardware and configurations.
## Installing
To install the Performance Testing Extension package
1. Open the manifest.json file for your Unity project (located in the YourProject/Packages directory) in a text editor
2. Add com.unity.test-framework.performance to the dependencies as seen below
3. Add com.unity.test-framework.performance to the testables section. If there is not a testables section in your manifest.json file, go ahead and it add.
4. Save the manifest.json file
5. Verify the Performance Testing Extension is now installed opening the Unity Package Manager window
6. Ensure you have created an Assembly Definition file created in the same folder where your tests or scripts are that you’ll reference the Performance Testing Extension with. This Assembly Definition file needs to reference Unity.PerformanceTesting in order to use the Performance Testing Extension. Example of how to do this:
* Create a new folder for storing tests in ("Tests", for example)
* Create a new assembly definition file in the new folder using the context menu (right click/Create/Assembly definition) and name it "Tests" (or whatever you named the folder from step a. above)
* In inspector for the assembly definition file check "Test Assemblies”, and then Apply.
* Open the assembly definition file in a text editor and add Unity.PerformanceTesting. To the references section. Save the file when you’re done doing this.
> manifest.json
``` json
{
"dependencies": {
"com.unity.test-framework.performance": "0.1.50-preview",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.unitywebrequest": "1.0.0",
"com.unity.modules.unityanalytics": "1.0.0",
"com.unity.modules.vr": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.xr": "1.0.0"
},
"testables": [
"com.unity.test-framework.performance"
]
}
```
> assembly definition
``` json
{
"name": "Tests.Editor",
"references": [
"Unity.PerformanceTesting"
],
"optionalUnityReferences": [
"TestAssemblies"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false
}
```
没有合适的资源?快使用搜索试试~ 我知道了~
腾讯比赛.zip
共2000个文件
bin:1000个
md:371个
info:225个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 125 浏览量
2023-10-01
16:57:31
上传
评论
收藏 202.07MB ZIP 举报
温馨提示
比赛项目源码
资源推荐
资源详情
资源评论
收起资源包目录
腾讯比赛.zip (2000个子文件)
011b0bc2a5aa253479be5d5d19fff624 10KB
0127e82e3b84228408285b49421d6ba8 4KB
015812e983113a84b95773e55f3cec13 5KB
01721b4a922692f4d80ef10751baa70c 10KB
0181db608628b494d8ae50728e507ce1 13KB
018e19d6c1b36224b85b5c0ddd6a895e 4KB
01aaabedd6a3443f1b0702e31df8e517 7KB
01ab4daa0c099e24e90bbb8623a4198b 4KB
01ad59e9f33e547b4a150ec586362fb8 4KB
01ada73c4792aba4c937ff5d92cce866 15KB
01b8f0e33ff01164da19412b5fbdc7d4 4KB
01cd264c206ae482393dc9d04b26eca0 9KB
01e02995805eb483690380a911a657e2 60KB
01e80e004e94f5e48ad1cb83d5701300 6KB
01f55acdf535c4ea582d926d3f374721 4KB
0f19d607a01d3694e84c04c8eab68f9a 5KB
0f23589566e318c408af431d95bb492c 5KB
0f3902e2aa2609f47ab0c956e56ea0bf 5KB
0f4a2b15d455c38448872d912b63341b 10KB
0f6aa10456b30264a9bd4aeded39530a 7KB
0f6f860c0f1e24214b5d2974cc624227 5KB
0f7143ee0e2bd4565be05e2353903824 5KB
0f7633c93f0364a418841eeb8b058634 18KB
0f8c5c7c733ba43888ea1b8ba90cdd21 4KB
0f8fa14b3731cda4e947062e734d5e1e 77KB
0f9e9a126b4ecf24d81258763ac4a64d 6KB
0fa10b21877c61b4db40ba5708815f81 17KB
0fafdc3d4f989ff48803e7d870539b41 4KB
0fbcdcda305ecd54cb7c79f6c8cb48b7 4.01MB
0fcef9ef067b4cd44a62bd6ac0166384 46KB
0fda1aff5a5744478f70542e95fd3d42 12KB
0fda7ebe61ab2164383d10e32efb9c6e 4KB
0fe44692bf3e82a4086129d673aa75c9 4KB
0fe4c527c3aa3eb42912a1caafbbc6a0 5KB
130a64d32c054c5fb51b1e5e13f93fc2 67KB
130ea682941bc7e48a1cd0af4ce3844c 8KB
1322fd896bbb15bb6e335591b766ae62 4KB
132564d35bbdac3458d90dc38649e882 4KB
1330afbc510383b4b9e477fe8b582100 16KB
1350e4a38ff5ae44a9d8627d33b48de8 7KB
1358e9b39cd7e8442bece5b15a2a7c63 5KB
1369382d2c5e64dc5b2ec0b6b0a94531 4KB
1378a33cdd085d64c9da863d2484ff21 17KB
137f6921c5ee7ca4dbffb34de10f52f5 6KB
1381004014fbad64bb7b8e689b090daa 19KB
138961c4434d141a987d96df1f8d7342 8KB
138c0b127ef07fd428612196694d782f 4KB
13bcacf4237fb3c4e9b547cc7420a120 5KB
13eb80ce50ac9c43cdbaf2109c0ec7db 4KB
191128023ec19d143b9328a73ff33d8c 6KB
1921af34326c3cc46a41f7d9fca5ed25 4KB
19255c24842f72c4c94c21b682a3e170 5KB
198c389f4bc3b41b6b298a0c56e6b870 8KB
198ec765a01574320a8199338d27d9f1 4KB
19d205ceab90d42038ad1d376affc356 5KB
19d2fc993bedec24d99f5a3af8752c39 4KB
19da2635a60154a6793334e535a0a856 5KB
19f704e40905d4647b7a72c624208668 5KB
1e0f288e3500f904ead03b5861df99fe 4KB
1e2149954f87a41168e24c0736c3b62c 5KB
1e29a17691259ac4e9de48d4cfd72d06 4KB
1e50b53d0c552004db62a39d61d06297 82KB
1e540f901d21a5c4c94afaaa341f0eba 60KB
1e6ef5859508a4c199588a322da8b233 7KB
1e8b78ac948f05a46a6d8339a503172b 6KB
1e9a1cee4b87c8f4b870e4fbb3efef14 4KB
1ea56bc9911bbad4191075872a46cc89 4KB
1ee517c3caa96594ca34977000fa20a7 4KB
1f0e14eed65d43342acaeb7f9e597621 4KB
1f3be30cb97279146bc83ceb83fff369 5KB
1f45258a2afd45afabd0d78ae4fcf414 5KB
1f49bcab900e54c498a852d067a7636c 53KB
1f4f20df9923ed04ea15d89f8456b8f0 7KB
1f57d33d1d144457bb7ced81ae7a5db7 54KB
1f932325a7a46ff4cb10f98701de6911 4KB
1f99c4766b3e2464c978e3a1ebeb94c7 4KB
1fcb2f1e4a7d9ba42bc5940a5611f302 5KB
1fe4fc72895e4bb4f90ff44b47e76051 4KB
1ff9d8296ed1f02419bf4f417ff2265e 11KB
2903adf6630c9534f894c6df5a7937f2 5KB
292dbec5e9c0baa44b67d675e23f4f71 152KB
29309be0e1004fad967256187775c528 4KB
293182c4d29604c05b6724ae00fd121a 6KB
2957e5e48d8d44496b7c9aeba6096b1f 10KB
295b85a50f6edfe488511041c695c48a 4KB
29938ef4dca90ce47ae640695d8b1c9f 39KB
29ad9e6c943cb94428f9f3656c20c60d 7KB
29b00527f85bb3346a4d2cb710971587 7KB
29c3a6d9896aa9b4dad615133f9de841 4KB
29c4adff654862b40a2e9fb2015a42c3 151KB
29d58ccb958d24942bf23fafcec87c0b 4KB
2d142b475fbfb8cf12ba3a795194300a 4KB
2d37e5385efd7064cb1d54c94960acae 12KB
2d413641b2ef00944932ea717573480f 5KB
2d4d46c70fdd242668a56e99799e8540 4KB
2d6ba5cbe47e6ad3c87474c56174d4e0 4KB
2d77b2d58287d46a6a61f12c861bfc2f 18KB
2d8c01f04a0874c9384ae360c07d0098 19KB
2da0c512f12947e489f739169773d7ca 157KB
2da27f5fe80a3a549ac7331d9f52f5f0 4KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
学术菜鸟小晨
- 粉丝: 1w+
- 资源: 4949
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- WebCrawler.scr
- 【计算机专业毕业设计】大学生就业信息管理系统设计源码.zip
- YOLO 数据集:8种路面缺陷病害检测【包含划分好的数据集、类别class文件、数据可视化脚本】
- JAVA实现Modbus RTU或Modbus TCPIP案例.zip
- 基于YOLOv8的FPS TPS AI自动锁定源码+使用步骤说明.zip
- JAVA实现Modbus RTU或Modbus TCPIP案例.zip
- 基于yolov8+streamlit的火灾检测部署源码+模型.zip
- 测试aaaaaaabbbbb
- VID20240521070643.mp4
- Android系统原理与开发学习要点详解-培训课件.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功