All Projects → gokatz → ember-appmetrics

gokatz / ember-appmetrics

Licence: MIT license
Ember library used to measure various metrics in your Ember app with ultra simple APIs.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to ember-appmetrics

performance-budget-plugin
Perfromance budget plugin for Webpack (https://webpack.js.org/)
Stars: ✭ 65 (+306.25%)
Mutual labels:  performance-metrics, performance-analysis, performance-monitoring
Pcm
Processor Counter Monitor
Stars: ✭ 1,240 (+7650%)
Mutual labels:  performance-metrics, performance-analysis, performance-monitoring
Nemetric
前端性能指标的监控,采集以及上报。用于测量第一个dom生成的时间(FP/FCP/LCP)、用户最早可操作时间(fid|tti)和组件的生命周期性能,,网络状况以及资源大小等等。向监控后台报告实际用户测量值。
Stars: ✭ 145 (+806.25%)
Mutual labels:  performance-metrics, performance-analysis, performance-monitoring
Myperf4j
High performance Java APM. Powered by ASM. Try it. Test it. If you feel its better, use it.
Stars: ✭ 2,281 (+14156.25%)
Mutual labels:  performance-metrics, performance-analysis, performance-monitoring
compile-time-perf
Measures high-level timing and memory usage metrics during compilation
Stars: ✭ 64 (+300%)
Mutual labels:  performance-metrics, performance-analysis, performance-monitoring
Speedracer
Collect performance metrics for your library/application.
Stars: ✭ 1,868 (+11575%)
Mutual labels:  performance-metrics, performance-analysis
Opbeat Node
DEPRECATED - See Elastic APM instead: https://github.com/elastic/apm-agent-nodejs
Stars: ✭ 155 (+868.75%)
Mutual labels:  performance-metrics, performance-monitoring
Lighthouse Batch
Run Lighthouse analysis over multiple sites in a single command
Stars: ✭ 83 (+418.75%)
Mutual labels:  performance-metrics, performance-analysis
Apm Server
APM Server
Stars: ✭ 878 (+5387.5%)
Mutual labels:  performance-metrics, performance-monitoring
Lighthouse
Automated auditing, performance metrics, and best practices for the web.
Stars: ✭ 23,903 (+149293.75%)
Mutual labels:  performance-metrics, performance-analysis
Appmetrics
Node Application Metrics provides a foundational infrastructure for collecting resource and performance monitoring data for Node.js-based applications.
Stars: ✭ 864 (+5300%)
Mutual labels:  performance-metrics, performance-monitoring
Scouter
Scouter is an open source APM (Application Performance Management) tool.
Stars: ✭ 1,792 (+11100%)
Mutual labels:  performance-metrics, performance-monitoring
Junitperf
⛵️Junit performance rely on junit5 and jdk8+.(java 性能测试框架)
Stars: ✭ 86 (+437.5%)
Mutual labels:  performance-metrics, performance-analysis
Spm Agent Mongodb
Sematext Agent for monitoring MongoDB
Stars: ✭ 7 (-56.25%)
Mutual labels:  performance-metrics, performance-monitoring
Stackimpact Java
StackImpact Java Profiler - Production-Grade Performance Profiler: CPU, locks, runtime metrics, and more
Stars: ✭ 7 (-56.25%)
Mutual labels:  performance-metrics, performance-analysis
Dynamometer
A tool for scale and performance testing of HDFS with a specific focus on the NameNode.
Stars: ✭ 122 (+662.5%)
Mutual labels:  performance-metrics, performance-analysis
Corefreq
CoreFreq is a CPU monitoring software designed for the 64-bits Processors.
Stars: ✭ 1,026 (+6312.5%)
Mutual labels:  performance-metrics, performance-monitoring
Stackimpact Nodejs
DEPRECATED StackImpact Node.js Profiler - Production-Grade Performance Profiler: CPU, memory allocations, async calls, errors, metrics, and more
Stars: ✭ 46 (+187.5%)
Mutual labels:  performance-metrics, performance-analysis
Goappmonitor
Golang application performance data monitoring.
Stars: ✭ 478 (+2887.5%)
Mutual labels:  performance-metrics, performance-analysis
Inspectit
inspectIT is the leading Open Source APM (Application Performance Management) tool for analyzing your Java (EE) applications.
Stars: ✭ 513 (+3106.25%)
Mutual labels:  performance-metrics, performance-analysis

ember-appmetrics 🐹

Build Status Ember Observer Score

Ember library used to measure various metrics in your Ember app with ultra simple APIs. Especially useful for RUM in Ember SPAs.

Installation 💻

For Ember CLI >= 0.2.3:

ember install ember-appmetrics

For Ember CLI < 0.2.3:

ember install:addon ember-appmetrics

Compatibility

This addon is tested against the latest stable Ember version.

Usage 🏹

Inject the metrics service like 'metrics: Ember.inject.service()' into the class where you want to measure the performance or use initializers if you are going with one-time injection.

Addon provides three API for measuring the performance of a given period.

  • start : need to call this API with an event name as an argument to mark the starting point.

  • end : need to call this API with an event name as an argument to mark the ending point and it returns the duration for the corresponding mark.

  • measure : will return the latest calculated time for the given event. This API will be deprecated in the future release in the favor of end API as the end method itself return the duration.

  • getAllMetrics :

  1. will return an object containing all the previously measured metrics and its duration, if no arguments were passed.
  2. will return an array containing all the duration for the given metric name if the metric name is given as arguments.
  • clearAllMetrics : Will clear out all the performance marks and measures.
    this.get('metrics').start('accounts_page');
    Ember.run.scheduleOnce('afterRender', () => {
      let accountsPageRenderDuration = this.get('metrics').end('accounts_page');
      console.log(accountsPageRenderDuration); // will return the duration to for this render performance in milliseconds.
    });

Browser support 🌏

Since fall back mechanism of all level has been handled in the addon itself, the only thing addon need is that the browser must have Date API, which is supported in all major and minor browsers.

PS: In Safari, the User Timing API (performance.mark()) is not available, so the DevTools timeline will not be annotated with marks.

Installation 💻

  • git clone this repository
  • npm install
  • bower install

Running 👟👟

Running Tests 💉

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Contribution 👨‍👧‍👦

Missing something? Let's work together to get that done 😉

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].