介绍
Sampler is a performance analysis tool to investigate any slowdown or related issue for both client and server.
Until further documentation or the GUI are done the target audience is mostly advanced users or anyone asked to provide debugging data by mod or mod pack authors.
Its most important features are:
- A sampling profiler (sampler) to see exactly where the Minecraft client/server spends its time: start, (wait), stop, export sub-commands
- Event-based sampling triggers, e.g. to capture only lag spikes: trigger sub-command
- Actually precise tickrate information: tps sub-command or F3
- Counts for ticking game objects to notice any excess: counts sub-command, more detailed when invoked with the dimension id
- Memory information and garbage collection statistics: memory sub-command
- Highlights for tile entity special renderers (potentially expensively rendered blocks): tesr sub-command
- Highlights for the sources of chunk updates: renderupdates sub-command
- Various other sub-commands for investigating network I/O, chunk loads, saves, finding blocks/entities, …
This mod is designed to have no observable overhead while idle and very little overhead during profiling. Its feature set is extensive and best explored using its help functionality.
The user interface is purely command driven at this point, see
/sampler help
for all server-side commands and
/csampler help
for all client-side commands.
Every command is following the pattern /sampler <subcommand> [<arguments>…] for the server side and /csampler <subcommand> [<arguments>…] for the client side. Detailed help for each sub-command is available through /(c)sampler help <subcommand>.
(The logo is a chart from an analysis frontend that is still under development and not publicly available at this time)
常见问题
Sampler 支持哪些 Minecraft 版本?
Sampler 支持 Minecraft Java 版 1.7.10–1.12.2,共 13 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Sampler 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
sfPlayer1 的其他作品
查看全部 →Industrial Craft
一个功能丰富、用途广泛的科技模组,最初于2011年发布。
NotEnoughIDs
扩展硬编码方块ID上限
FastCraft
一款强大的通用优化模组,不改变游戏玩法。
Fabric Language Scala
Fabric Language support for Scala
评论
登录后评论和评分