Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stevenmiller888/deku-performance
Performance monitoring component
https://github.com/stevenmiller888/deku-performance
Last synced: 26 days ago
JSON representation
Performance monitoring component
- Host: GitHub
- URL: https://github.com/stevenmiller888/deku-performance
- Owner: stevenmiller888
- Created: 2015-09-07T21:18:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-07T21:40:15.000Z (over 9 years ago)
- Last Synced: 2024-10-10T22:13:49.822Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 125 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
Awesome Lists containing this project
- awesome-deku - deku-performance
README
# deku-performance
[![NPM version][npm-image]][npm-url]
[![license][license-image]][license-url]A performance monitoring component built with Deku that uses accurate end-to-end latency data via the [Navigation Timing](https://developer.mozilla.org/en-US/docs/Web/API/Navigation_timing_API) API.
## Installation
$ npm install deku-performance
## Usage
It is recommended to conditionally render this component based on an environment variable (e.g. `window.env`):
```js
import Performance from 'stevenmiller888/deku-performance';{
window.env === 'development'
?
: null
}
```## Resources
[W3](http://www.w3.org/TR/navigation-timing/#processing-model#processing-model)
## License
[MIT](https://tldrlegal.com/license/mit-license)
[npm-image]: https://img.shields.io/npm/v/deku-performance.svg?style=flat-square
[npm-url]: https://npmjs.org/package/deku-performance
[license-image]: https://img.shields.io/npm/l/express.svg
[license-url]: https://tldrlegal.com/license/mit-license