{"id":17284815,"url":"https://github.com/technopagan/simple-website-speed-test","last_synced_at":"2025-04-14T10:41:40.844Z","repository":{"id":11787563,"uuid":"14329267","full_name":"technopagan/simple-website-speed-test","owner":"technopagan","description":null,"archived":false,"fork":false,"pushed_at":"2013-11-21T17:31:17.000Z","size":124,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T23:51:11.583Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/technopagan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-12T10:38:31.000Z","updated_at":"2022-01-09T14:40:15.000Z","dependencies_parsed_at":"2022-09-23T02:01:02.765Z","dependency_job_id":null,"html_url":"https://github.com/technopagan/simple-website-speed-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technopagan%2Fsimple-website-speed-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technopagan%2Fsimple-website-speed-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technopagan%2Fsimple-website-speed-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technopagan%2Fsimple-website-speed-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technopagan","download_url":"https://codeload.github.com/technopagan/simple-website-speed-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248867035,"owners_count":21174651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T09:54:57.455Z","updated_at":"2025-04-14T10:41:40.805Z","avatar_url":"https://github.com/technopagan.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"simple-website-speed-test\n=========================\n\n## Quick Start\n\n* Usage: ./webspeedtest microsite.bats  http://your-url.tld/somepage\n\n## Introduction\n\nBash script to initiate [TAP compliant](http://www.testanything.org/) web performance metrics testing to be easily integrated with Jenkins or Travis CI\n\n## Required Tools\n\n* [Node.js](http://github.com/joyent/node)\n\n* [PhantomJS](http://github.com/ariya/phantomjs/)\n\n* [Phantomas](http://github.com/macbre/phantomas)\n\n* [jq](http://stedolan.github.io/jq/)\n\n* [BATS](http://github.com/sstephenson/bats)\n\nFor potential integration with Jenkins, check out this [plugin](https://wiki.jenkins-ci.org/display/JENKINS/TAP+Plugin).\n\n## How to maintain the test suite:\n\nAll names for tests \u0026 their variables are derived from JSON object names\nused by [Phantomas](https://github.com/macbre/phantomas) for consistency.\n\nTo create a new testable metric, find its respective JSON object name in\n[the Phantomas documentation](https://github.com/macbre/phantomas#metrics).\n\nThen add it to the array of test metric names within \"Metrics_to_analyze\"\nin this script and create a test, using its name as the variable containing\nthe testable value, for it in \"performance-tests.bats\".\n\nExample - testing that the time to first byte is less than 200ms:\n\n* performance-tests.sh:\n```bash\nMetrics_to_analyze=('timeToFirstByte' '...' '...' '...')\n```\n\n* performance-tests.sh:\n```bash\n@test \"Time to first byte\" {\n \t[ \"$timeToFirstByte\" -lt 200 ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnopagan%2Fsimple-website-speed-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnopagan%2Fsimple-website-speed-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnopagan%2Fsimple-website-speed-test/lists"}