Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
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
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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.