Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
browser-perf
Advanced tools
about:tracing
, Chrome Devtools timeline, IE UI Responsiveness tab, Xperf, etc.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.
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
ondemand.saucelabs.com
with localhost:4444/wd/hub
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
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
Licensed under BSD-2 Clause. See License.txt for more details
Please ping me if you would need help setting this up.
FAQs
Measure browser rendering performance metrics
The npm package browser-perf receives a total of 126 weekly downloads. As such, browser-perf popularity was classified as not popular.
We found that browser-perf demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.