创建 JFR 报告
- 使用 Fabric 启动 Minecraft。
- 下载最新版本并将其放入
mods文件夹中。 - 首先运行
/jfr start命令并生成新的地形。 - 运行
/jfr stop。这将在.minecraft/debug/client-*.jfr处创建一个文件。
分析 JFR 报告
- 下载并安装 JDK Mission Control 工具。
- 在 Mission Control 中,导航至
File > Open File...(文件 > 打开文件...)并选择 JFR 报告。

- 在大纲中选择
Even Browser页面。

- 找到
Minecraft > World Generation > Feature Placement(Minecraft > 世界生成 > 结构放置)事件类型,并选中它。 - 创建一个仅包含此事件类型的新页面。

- 由于每个区块的每次结构放置都会产生一个 JFR 事件,因此对事件进行分组非常有用。

- 在此视图中,您可以显示平均持续时间和总持续时间。现在可以非常容易地看出哪些结构是性能瓶颈。

Creating a JFR report
- Launch Minecraft with Fabric.
- Download the latest release and add it in the
modsfolder. - Start by running the
/jfr startcommand and generate new terrain. - Run
/jfr stop. This will create a file at.minecraft/debug/client-*.jfr.
Analyzing the JFR report
- Download and install the JDK Mission Control tool.
- In Mission Control, navigate to
File > Open File...and select the JFR report.

- Select the
Even BrowserPage in the Outline.

- Find the
Minecraft > World Generation > Feature Placementevent type, and select it. - Create a new page with just this event type.

- Because the JFR file has an event for each feature placement per chunk, it is useful to group events.

- In this view, you can show average and total durations. It is now really easy to see which features are the bottlenecks.

版本游戏版本平台发布时间本站下载
正式版
1.3.1
Worldgen profiling 1.3.1
1.20.41.20.3 Fabric 2 年前 ·
0
1.20.4
1.20.3
1.20.2
1.20.1, 1.20, 1.19.4, 1.19.3
Fabric
2 年前
0
下载 Worldgen profiling
版本:1.3.1
游戏版本:1.20.4、1.20.3、1.20.2 等
平台:Fabric
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.3.0
Worldgen profiling 1.3.0
1.19.41.19.3 Fabric 2 年前 ·
0
1.19.4
1.19.3
Fabric
2 年前
0
下载 Worldgen profiling
正式版
1.2.0
Worldgen profiling 1.2.0
1.19.21.19.1 Fabric 3 年前 ·
0
1.19.2
1.19.1
1.19
Fabric
3 年前
0
下载 Worldgen profiling
正式版
1.1.0
Worldgen profiling 1.1.0
1.18.2 Fabric 3 年前 ·
0
1.18.2
Fabric
3 年前
0
下载 Worldgen profiling
正式版
1.0.0
Worldgen profiling 1.0.0
1.18.11.18 Fabric 3 年前 ·
0
1.18.1
1.18
Fabric
3 年前
0
下载 Worldgen profiling
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
Ixeris
decce6
缓冲的原始输入和线程化的事件轮询
优化
656
模组
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
339
模组
Fast Noise
omo50
原版世界生成优化模组
优化世界生成
242
模组
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
239
模组
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
239
模组
Xaero的小地图
thexaero
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
冒险交通
238
评论 0
登录后参与评分
还没有评论,来抢沙发吧