npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

laya-stats-ui

v1.0.8

Published

为 LayaAir 增强的性能面板

Readme

LayaAir 性能面板

注意:此版本仅支持浏览器,适配 LayaAir 3.3.1 以上版本 3.2~3.3.0 版本请使用 1.0.7 版本的插件。

兼容官方性能面板的运行时性能监控工具,可以帮助开发者快速定位游戏性能瓶颈,提高游戏性能。

特性

  • 兼容 LayaAir 官方的性能面板使用方式,无需修改任何代码或配置
  • 兼容原有全部功能,包括性能监控、内存监控、帧率监控、渲染监控等
  • 能够拖动性能面板,不遮挡游戏画面
    • 默认展示简洁模式仅展示帧率和帧时间
  • 对监控指标进行分组,可以折叠/展开查看
  • 增加 FPS 和 帧时间的实时统计图表
  • 增加堆内存实时分配情况指标
  • 增加 MeshRender 节点数量统计
  • 内置 WebGL 分析功能,支持抓帧分析绘制过程

使用方式

  1. 在你的 LayaAir 项目根目录通过安装此包

    npm install -D laya-stats-ui

    如果你使用 yarn 执行

    yarn add --dev laya-stats-ui
  2. 在 LayaAir IDE 中引入此包 菜单栏中选择 开发者 > 包管理器 点击添加包,选择 node_modules 目录下 laya-stats-ui 目录

  3. 在 项目设置/运行配置/杂项 中勾选 “显示统计信息” 选项

  4. 运行项目,即可在编辑器预览窗口或浏览器中看到性能面板

截图演示

屏幕截图