# art-frame-stats

> Art.Frame.Stats

Latest version **1.2.6** (published 2021-08-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install art-frame-stats
pnpm add art-frame-stats
yarn add art-frame-stats
bun add art-frame-stats
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.6 |
| Published | 2021-08-25 |
| First published | 2019-08-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 13.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Shane Brinkman-Davis Delamore, Imikimi LLC" |
| Maintainers | shanebdavis |

## Links

- npm: https://www.npmjs.com/package/art-frame-stats
- Repository: https://github.com/art-suite/art-suite-applications
- Issues: https://github.com/art-suite/art-suite-applications/issues
- npm.io page: https://npm.io/package/art-frame-stats

## Dependencies (2)

- [@art-suite/art-canvas](https://npm.io/package/@art-suite/art-canvas.md) ^1.28.7
- [art-build-configurator](https://npm.io/package/art-build-configurator.md) ^1.29.3

## Recent versions

- 1.2.6 (latest) — 2021-08-25
- 1.2.5 — 2021-08-25
- 1.2.4 — 2020-12-13
- 1.2.2 — 2020-12-01
- 1.2.1 — 2019-08-05

## README

# Art.Frame.Stats

An easy, extensible tool for logging where your JavaScript time was spent each frame. It is targeted to be used in the Epoched frame-update world of ArtSuite (ArtEpochedState based), however, it should work well even beyond that.

The primary system is you start an overall frame-timer at the beginning of your frame-update, and end it when you are completely done. That alone will get you a nice bar-graph of performance-per-frame. But, and this is where it gets interesting, you can nest sub-timers, as deep as you want, and it'll "do the right thing" and add a rainbow of information to each bar in the bar-graph (one frame) showing you exactly where you spend your time.

The main output is a nice graph - as a bitmap. That means you need the ArtDomConsole to really get full advantage. If there is interest (and help), I'd love to find other easy outputs.

This tool really is awesome for introspection of frame-update-based performance. Much more effective than Chrome's overly general, and overwhelming performance tools.

### Install

```coffeescript
npm install art-frame-stats
```

---
_Source: https://npm.io/package/art-frame-stats · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
