{"id":18739566,"url":"https://github.com/springmeyer/server-timing-sparklines","last_synced_at":"2026-06-23T04:31:49.559Z","repository":{"id":66365771,"uuid":"207475251","full_name":"springmeyer/server-timing-sparklines","owner":"springmeyer","description":"Scripts to visualize server-timing headers","archived":false,"fork":false,"pushed_at":"2024-03-01T01:33:58.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-10T01:38:44.353Z","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/springmeyer.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-10T05:47:45.000Z","updated_at":"2024-03-01T01:34:01.000Z","dependencies_parsed_at":"2024-11-07T15:40:26.034Z","dependency_job_id":"ffbca6dd-4c42-49f3-a375-7b73275c7adb","html_url":"https://github.com/springmeyer/server-timing-sparklines","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/springmeyer/server-timing-sparklines","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fserver-timing-sparklines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fserver-timing-sparklines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fserver-timing-sparklines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fserver-timing-sparklines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/springmeyer","download_url":"https://codeload.github.com/springmeyer/server-timing-sparklines/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springmeyer%2Fserver-timing-sparklines/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34675970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-07T15:36:22.958Z","updated_at":"2026-06-23T04:31:49.544Z","avatar_url":"https://github.com/springmeyer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Server Sparklines\n\nVisualize [ttfb](https://en.wikipedia.org/wiki/Time_to_first_byte) + [server-timing headers](https://w3c.github.io/server-timing/#introduction) as [sparklines](https://en.wikipedia.org/wiki/Sparkline)\n\n\n## Depends\n\n - Curl\n - Python 3\n - Termgraph\n\n\n## Install\n\n```\ngit clone git@github.com:springmeyer/server-timing-sparklines.git\ncd server-timing-sparklines\npip install -r requirements.txt\n./viz -h\n```\n\n## Usage\n\nThe `viz` command accepts a single argument of a URL to download\n\nThe `viz` command outputs:\n\n - The curl client timing for DNS lookup, TLS handshake, and Time To First Byte.\n - The Server-Timing headers provided by the backend\n - The overall time it took to initiate the request and download the response\n\nOptionally pass `viz --loop [url]` to repeat the request in a loop indefinetly (ctrl-c to exit). This can be valuable to watch how the timing results change as you might put load on the backend load testing.\n\nExample:\n\n```\n$ ./viz https://www.bbc.co.uk/iplayer\n\nclient:dns-lookup   : ▇▇▇▇▇▇▇▇▇ 515.02\nclient:tls-handshake: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 1249.60\nclient:ttfb         : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 1786.07\ndata                : ▇ 99.34\nmarkup              : ▇ 78.96\ntotal               : ▇▇▇ 186.41\noverall             : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 2611.00\n\n```\n\n## See also\n\n- https://w3c.github.io/server-timing/#introduction\n- https://medium.com/bbc-design-engineering/server-timing-in-the-wild-bfb34816322e\n- https://calendar.perfplanet.com/2018/server-timing\n- https://github.com/benbria/node-servertime\n- https://blog.cloudflare.com/a-question-of-timing\n- https://developers.google.com/web/fundamentals/performance/navigation-and-resource-timing/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringmeyer%2Fserver-timing-sparklines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspringmeyer%2Fserver-timing-sparklines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringmeyer%2Fserver-timing-sparklines/lists"}