April 17, 2018
CLI is a crucial part of a comprehensive system that helps to improve and automate monitoring performance.
Here’s what the command line interface can do for you:
Metrics are most useful when they’re easy to access. Getting stats out of Calibre is as trivial as a one-liner.
calibre site get-pulse-metrics fetches metrics from a given page, whereas calibre site get-snapshot-metrics --site=ryanair --snapshot=1628 will retreive metrics for a given point in time.
Adding a --json or --csv flag, returns machine readable data. Pushing data to a spreadsheet or dashboard software has never been so effortless.
One-off tests can be run from 14 test locations around the world, emulating connection speeds and devices, all with a single command.
Each one-off page test is stored in your team account forever.
Retrieving metrics for a pre-existing test is only a calibre test show <uuid> away.
Getting fast feedback is important — that’s why we’ve created one-off page tests.
Finally, we understand that not everyone is near a terminal window all day. Each test has a secret (but publicly sharable) URL, so you can share reports with the executive team, project managers and coworkers, even if they don’t have a Calibre account.
Because the test result pages are publicly accessible to anyone with a link, it’s possible to use them to showcase performance metrics and improvements in blog posts or case studies.
By using CLI’s Node.js API, you’ll have all the power of Calibre at your fingertips. We created a couple of examples on GitHub to help you get started.
Every Calibre test runs Lighthouse, which provides a set of performance, best practice and accessibility audits, developed by the Google Chrome Devtools team. More power, less tooling.
You’ll need a Calibre account to use CLI. There’s a free, 15-day trial, and we’re more than happy to help if there’s any questions along the way.
We can’t wait to see what you do with it!
Calibre is a bootstrapped company. Every new customer allows us to continue growing and playing a part in making the Web a faster place for everyone.
We will send you the latest web performance articles, tools, case studies and more, so you can become a better performance advocate.