All Projects → tibotiber → react-fps-stats

tibotiber / react-fps-stats

Licence: other
Graphics Performance Monitor for React

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-fps-stats

CODE-CAMP-2020
A Virtual Hackathon Camp for Developers, Build real products and win Swags in comfort of your home.
Stars: ✭ 30 (+42.86%)
Mutual labels:  contribution
mackerel-plugin-linux-proc-stats
Linux processes metrics plugin for mackerel.io agent.
Stars: ✭ 13 (-38.1%)
Mutual labels:  stats
stats
📊 Statistics generator for Facebook Groups
Stars: ✭ 50 (+138.1%)
Mutual labels:  stats
d2dx
D2DX is a complete solution to make Diablo II run well on modern PCs, with high fps and better resolutions.
Stars: ✭ 214 (+919.05%)
Mutual labels:  fps
css-almanac
Repo for planning & voting on which stats to study
Stars: ✭ 33 (+57.14%)
Mutual labels:  stats
fittrak
A data-driven workout tracking tool for the quantified-self 💪 🤓
Stars: ✭ 19 (-9.52%)
Mutual labels:  stats
rtcwPro
RtcwPro - Competition Mod for Return to Castle Wolfenstein
Stars: ✭ 16 (-23.81%)
Mutual labels:  fps
node-mlb-api
A Node.js wrapper for the new MLB Stats API.
Stars: ✭ 18 (-14.29%)
Mutual labels:  stats
wink-statistics
Fast & numerically stable statistical analysis
Stars: ✭ 36 (+71.43%)
Mutual labels:  stats
nativescript-performance-monitor
⚡ Proof your app maintains 60-ish FPS by collecting data or showing it on screen with this NativeScript plugin!
Stars: ✭ 21 (+0%)
Mutual labels:  fps
FWDebug
iOS调试库,支持iOS11+,无需添加任何代码,方便iOS开发和测试。 iOS debugging library, support for iOS11 +, without adding any code to facilitate iOS development and testing.
Stars: ✭ 49 (+133.33%)
Mutual labels:  fps
Trakt-Userscripts
Userscripts to improve and add features to Trakt.tv
Stars: ✭ 39 (+85.71%)
Mutual labels:  stats
Qubes-scripts
Scripts that help with administration and usage of Qubes OS
Stars: ✭ 33 (+57.14%)
Mutual labels:  stats
readis
Lightweight web frontend in PHP for reading data, stats and config from multiple redis servers.
Stars: ✭ 38 (+80.95%)
Mutual labels:  stats
math-stats
A small library that does the statistics for your numbers.
Stars: ✭ 18 (-14.29%)
Mutual labels:  stats
is-directory
Extends `stats.isDirectory()`, returns `true` if a filepath is a directory.
Stars: ✭ 28 (+33.33%)
Mutual labels:  stats
SuperParticles
Amazing CPU-friendly particle network animations
Stars: ✭ 32 (+52.38%)
Mutual labels:  fps
guilyx
Dynamic Profile with github statistics, coding info (time and languages) with WakaTime and music status with the spotify API, leave a ⭐ if you like it
Stars: ✭ 175 (+733.33%)
Mutual labels:  stats
opencollective
🤝 Pretty opencollective stats on postinstall!
Stars: ✭ 24 (+14.29%)
Mutual labels:  stats
stargazer
A app that gives you some statistics about your public Github repositories.
Stars: ✭ 36 (+71.43%)
Mutual labels:  stats

React FPS Stats

Graphics Performance Monitor for React

Forked from https://github.com/sebslomski/react-stats, inspired by https://github.com/mrdoob/stats.js.

Screenshots

FPS

Usage

import React from "react";
import { render } from "react-dom";
import FPSStats from "react-fps-stats";

const App = () => {
  return (
    <div>
      <h2 style={{ marginTop: 60 }}>Minimal example using react-fps-stats</h2>
      <FPSStats />
    </div>
  );
};

render(<App />, document.body);

Try it on CodeSandbox.

Optional Props

By default, the meter is fixed positioned in the top left of the screen. You can pass the optional props top, right, bottom & left to overrride that positioning. Each prop maps to the css values and can use either string or number format. top and left have values by default, so pass 'auto' as their values if you want to use bottom or right values.

Graph height and the graph width can be set via the graphHeight and graphWidth props.

Alternatives

If you are only using this for development purpose and your users don't need to see it, you can consider using the Chrome Devtools FPS Meter.

Contributing

This is a tiny library with little activity, no process, just reach out ;)

Publish process Just a reminder for the maintainer ;)
  • run yarn build
  • bump version
  • commit / push / merge PR
  • tag version v__ to create release
  • add changelog to release note
  • run npm publish from dev host
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].