All Projects → JordanDelcros → Stats Js

JordanDelcros / Stats Js

Licence: mit
JavaScript Performance Monitor using canvas

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Stats Js

Pc Optimization Hub
collection of various resources devoted to performance and input lag optimization
Stars: ✭ 55 (+358.33%)
Mutual labels:  fps, ping, performance
Watchdoginspector
Shows your current framerate (fps) in the status bar of your iOS app
Stars: ✭ 497 (+4041.67%)
Mutual labels:  fps, monitoring, performance
Walle
iOS Application performance monitoring
Stars: ✭ 19 (+58.33%)
Mutual labels:  fps, memory, performance
Perf Tools
⏱→ 🚀A set of tools for improving performance your application (balancer, performance, PerfKeeper, LazyPromise).
Stars: ✭ 135 (+1025%)
Mutual labels:  fps, memory, performance
Guider
Performance Analyzer
Stars: ✭ 393 (+3175%)
Mutual labels:  monitoring, performance
App perf
Open source application performance monitoring tool with emphasis on ease of setup and use. Providing similar functionality like NewRelic/AppNeta/Skylight etc.
Stars: ✭ 353 (+2841.67%)
Mutual labels:  monitoring, performance
Processhacker
A free, powerful, multi-purpose tool that helps you monitor system resources, debug software and detect malware.
Stars: ✭ 6,285 (+52275%)
Mutual labels:  monitoring, performance
React Adaptive Hooks
Deliver experiences best suited to a user's device and network constraints
Stars: ✭ 4,750 (+39483.33%)
Mutual labels:  memory, performance
Ruby server timing
Bring Rails server-side performance metrics 📈 to Chrome's Developer Tools via the Server Timing API. Production Safe™.
Stars: ✭ 508 (+4133.33%)
Mutual labels:  monitoring, performance
Inspectit
inspectIT is the leading Open Source APM (Application Performance Management) tool for analyzing your Java (EE) applications.
Stars: ✭ 513 (+4175%)
Mutual labels:  monitoring, performance
Heim
Cross-platform async library for system information fetching 🦀
Stars: ✭ 572 (+4666.67%)
Mutual labels:  memory, monitoring
Doraemonkit
一款面向泛前端产品研发全生命周期的效率平台。
Stars: ✭ 18,305 (+152441.67%)
Mutual labels:  monitoring, performance
Pyroscope
Continuous Profiling Platform! Debug performance issues down to a single line of code
Stars: ✭ 4,816 (+40033.33%)
Mutual labels:  monitoring, performance
Trace Nodejs
Trace is a visualised distributed tracing platform designed for microservices.
Stars: ✭ 471 (+3825%)
Mutual labels:  monitoring, performance
Mobileperf
Android performance test
Stars: ✭ 286 (+2283.33%)
Mutual labels:  fps, memory
Grav
Performance visualisation tools
Stars: ✭ 262 (+2083.33%)
Mutual labels:  monitoring, performance
Swagger Stats
API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.
Stars: ✭ 559 (+4558.33%)
Mutual labels:  monitoring, performance
Lldebugtool
LLDebugTool is a debugging tool for developers and testers that can help you analyze and manipulate data in non-xcode situations.
Stars: ✭ 673 (+5508.33%)
Mutual labels:  fps, monitoring
Ios Monitor Platform
📚 iOS 性能监控 SDK —— Wedjat(华狄特)开发过程的调研和整理
Stars: ✭ 2,316 (+19200%)
Mutual labels:  fps, memory
Metered Rs
Fast, ergonomic metrics for Rust
Stars: ✭ 258 (+2050%)
Mutual labels:  monitoring, performance

npm version

stats.js

JavaScript Performance Monitor

This class is a rework of the original stats.js from mrdoob.

It use a single canvas unlike the original that use DOM elements.

So, it provides a simple info box that will help you monitor your code performance.

  • FPS Frames rendered in the last second. The higher the number the better.
  • MS Milliseconds needed to render a frame. The lower the number the better.
  • MB MBytes of allocated memory. (Run Chrome with --enable-precise-memory-info)
  • PING Milliseconds needed to ask request something to the server. The lower the number the better.

Screenshots

fps.png ms.png mb.png ping.png

NPM

	npm install @jordandelcros/stats-js

Usage

Stats([realTime]);

var stats = new Stats(false);

document.body.appendChild(stats.domElement););

function update() {

  window.requestAnimationFrame(update);

	stats.begin();

	// monitored code goes here

	stats.end();

};

window.requestAnimationFrame(update);

to get the PING you need to call special methods into server's requests:

// ...

function fakeServerRequest(){

	// Call on server request send
	stats.beginPing();

	// Fake server latency
	setTimeout(function(){

		// Call on server request response
		stats.endPing();
		fakeServerRequest();

	}, 65);

};

fakeServerRequest();

// ...
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].