All Projects → axemclion → Browser Perf

axemclion / Browser Perf

Licence: bsd-2-clause
Performance Metrics for Web Browsers

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Browser Perf

Nemetric
前端性能指标的监控,采集以及上报。用于测量第一个dom生成的时间(FP/FCP/LCP)、用户最早可操作时间(fid|tti)和组件的生命周期性能,,网络状况以及资源大小等等。向监控后台报告实际用户测量值。
Stars: ✭ 145 (-84.41%)
Mutual labels:  metrics, performance, performance-metrics, web-performance
Scouter
Scouter is an open source APM (Application Performance Management) tool.
Stars: ✭ 1,792 (+92.69%)
Mutual labels:  metrics, performance, performance-metrics
Myperf4j
High performance Java APM. Powered by ASM. Try it. Test it. If you feel its better, use it.
Stars: ✭ 2,281 (+145.27%)
Mutual labels:  metrics, performance, performance-metrics
Inspectit
inspectIT is the leading Open Source APM (Application Performance Management) tool for analyzing your Java (EE) applications.
Stars: ✭ 513 (-44.84%)
Mutual labels:  metrics, performance, performance-metrics
Garie
Open source web performance
Stars: ✭ 484 (-47.96%)
Mutual labels:  metrics, performance, web-performance
Perfume.js
Web performance library for measuring all User-centric performance metrics
Stars: ✭ 2,533 (+172.37%)
Mutual labels:  metrics, performance, web-performance
Opbeat Node
DEPRECATED - See Elastic APM instead: https://github.com/elastic/apm-agent-nodejs
Stars: ✭ 155 (-83.33%)
Mutual labels:  metrics, performance, performance-metrics
Awesome Pagespeed Metrics
⚡Metrics to help understand page speed and user experience
Stars: ✭ 585 (-37.1%)
Mutual labels:  metrics, performance, web-performance
javametrics
Application Metrics for Java™ instruments the Java runtime for performance monitoring, providing the monitoring data visually with its built in dashboard
Stars: ✭ 19 (-97.96%)
Mutual labels:  metrics, performance-metrics
Metered Rs
Fast, ergonomic metrics for Rust
Stars: ✭ 258 (-72.26%)
Mutual labels:  metrics, performance
Skywalking
APM, Application Performance Monitoring System
Stars: ✭ 18,341 (+1872.15%)
Mutual labels:  metrics, web-performance
Snmpcollector
A full featured Generic SNMP data collector with Web Administration Interface for InfluxDB
Stars: ✭ 216 (-76.77%)
Mutual labels:  metrics, performance
Javamelody
JavaMelody : monitoring of JavaEE applications
Stars: ✭ 2,486 (+167.31%)
Mutual labels:  metrics, performance
Wallace Cli
Pretty CSS analytics on the CLI
Stars: ✭ 281 (-69.78%)
Mutual labels:  metrics, 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 (-62.04%)
Mutual labels:  metrics, performance
React Native Performance
Monitor and measure React Native performance
Stars: ✭ 269 (-71.08%)
Mutual labels:  metrics, performance
Prerender.js
Fast webpages for all browsers.
Stars: ✭ 411 (-55.81%)
Mutual labels:  performance, web-performance
Sparklens
Qubole Sparklens tool for performance tuning Apache Spark
Stars: ✭ 345 (-62.9%)
Mutual labels:  performance, performance-metrics
Swagger Stats
API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.
Stars: ✭ 559 (-39.89%)
Mutual labels:  metrics, performance
Appmetrics
App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application.
Stars: ✭ 1,986 (+113.55%)
Mutual labels:  metrics, performance

browser-perf

  • Is a NodeJS based tool
  • For measuring browser performance metrics (like frame rates, expensive layouts, paints, styles, etc.)
  • For Web pages, Cordova/Phonegap and other Hybrid applications.
  • Metrics are measured while mimicking real user interactions - clicking buttons, typing content, etc.
  • Tool collects the metrics from sources like about:tracing, Chrome Devtools timeline, IE UI Responsiveness tab, Xperf, etc.
  • Monitor this information regularly by integrating the tool with continuous integration systems.

Documentation

Read more on why browser-perf here.

Please see the wiki pages for more information. You can find information about supported browsers, getting started, command line usage, reference for the Node API etc.

Usage

Command line

Install the tool using npm install -g browser-perf and then run

$ browser-perf http://yourwebsite.com --browsers=chrome,firefox --selenium=ondemand.saucelabs.com --username=username --accesskey=accesskey
  • Replace username and access key with the saucelabs.com username and accesskey
  • If you have Selenium set up, you could substitute ondemand.saucelabs.com with localhost:4444/wd/hub
  • You can also use BrowserStack credentials and substitute ondemand.saucelabs.com with hub.browserstack.com

See the wiki page for an extensive list of command line options and more usage scenarios.

Here is a video of the command line usage Demo of browser-perf

Node Module

browser-perf is also a node module and has the following API

var browserPerf = require('browser-perf');
browserPerf('/*URL of the page to be tested*/', function(err, res) {
	// res - array of objects. Metrics for this URL
	if (err) {
		console.log('ERROR: ' + err);
	} else {
		console.log(res);
	}
}, {
	selenium: 'http://localhost:4444/wd/hub',
	browsers: ['chrome', 'firefox']
	username: SAUCE_USERNAME // if running tests on the cloud  
});

See the API wiki page for more details on configuring. Instructions on using it for Cordova apps is also on the wiki

Scenario

  • Websites can become slow
    • over time as more CSS and Javascript is added
    • due to a single commit that adds expensive CSS (like gradients)
  • We use tools in Chrome or Internet Explorer only when the site is too slow.
  • Tools like YSlow and Page Speed are great, but will it not be better if the are a part of continuous integration?
  • Tools like this(http://npmjs.org/package/browser-perf) and Phantomas can fill the gap to monitor site performance every time a checkin is performed.

License

Licensed under BSD-2 Clause. See License.txt for more details

Contact

Please ping me if you would need help setting this up.

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