
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
tti-observer
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-observer 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
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.