• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

excaliburjs / Excalibur / 1142
84%
main: 89%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/site/postcss-8.5.23
DEFAULT BRANCH: main
Ran 30 Nov 2016 12:55AM UTC
Jobs 1
Files 1
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1142

push

travis-ci

eonarheim
[#97] Add basic frame statistics (#694)

Part of #97

To make our way towards closing #97 we need basic statistics to gather and display. This adds some basic frame statistics that are collected during a frame and is designed to be extended later on with more stats. Since all stats are encapsulated in a class, users can add historical tracking and logging of past statistics using the `preframe` and `postframe` hooks on engine.

## Changes:

- Add `Engine.debug` to access current frame stats and (later) provide debugging flags/functions
- Add `Engine.stats.currFrame` and `Engine.stats.prevFrame` to hold current and previous frame statistics
- Add new `FrameStats` class to hold frame statistics
- Add new `postframe` and `preframe` events which fire before and after the frame is drawn/updated to aid in stat display/collection

4580 of 6678 relevant lines covered (68.58%)

215.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1142.1 30 Nov 2016 12:55AM UTC 0
68.58
Travis Job 1142.1
Source Files on build 1142
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1142
  • 48ed769d on github
  • Prev Build on master (#1134)
  • Next Build on master (#1144)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc