
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
tti-measure
Advanced tools
A simple script to measure the time-to-interactive of a remote or local website. See the blogpost for more information and background.
🚀🚀 tti-measure 🚀🚀
Automated, headless-able time-to-interactive measurement
E.g.: tti-measure -u "https://greta.io" -u "http://127.0.0.1:9999/test.html"
-u, --url Compulsory arg Urls to run the script on. Pass multiple -u to test multiple urls
-r, --runs Default: 2 Number of runs per page
-t, --target Default: 5000 Retuns non-zero if a test fails to load within the target time (ms)
-a, --autostart Default: true Autostart chrome
--headless Default: false Should chrome run headless
-cp, Default: 9222 Chrome remote debug port
-v, --debug Default: false Log verbosity
-p, --profile Default: 3gDsl Network profile. '3gDsl' runs the tests on 3g and on dsl.
Valid network profiles ['3g', 'dsl', 'uncap', '3gDsl']
# Install
npm i -g tti-measure
Then, just execute tti-measure -u "https://greta.io" to have an idea of the time-to-interactive on our homepage. It will run the page twice on 3g profile and twice on the dsl profile, and print an average.
$ tti-measure -u "https://greta.io"
🚀🚀 tti-measure 🚀🚀
Chrome connected
-----------------# Average TTI #-----------------
{
"https://greta.io": {
"3g": 863.5,
"dsl": 579.5
}
}
---------------------------------------------------
FAQs
Automated, headless-able time-to-interactive measurement
We found that tti-measure 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.