{"id":15022157,"url":"https://github.com/php/pecl-datetime-hrtime","last_synced_at":"2026-03-04T16:02:37.188Z","repository":{"id":141191877,"uuid":"355127803","full_name":"php/pecl-datetime-hrtime","owner":"php","description":"High resolution timing","archived":false,"fork":false,"pushed_at":"2021-04-06T10:06:58.000Z","size":21,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-10-04T04:45:39.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/php.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-04-06T09:15:34.000Z","updated_at":"2025-09-27T20:05:30.000Z","dependencies_parsed_at":"2023-08-24T18:02:25.846Z","dependency_job_id":null,"html_url":"https://github.com/php/pecl-datetime-hrtime","commit_stats":{"total_commits":25,"total_committers":2,"mean_commits":12.5,"dds":0.12,"last_synced_commit":"53fed8cf2cf57f5df8c22e9b0bb50a44a75571c2"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/php/pecl-datetime-hrtime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php%2Fpecl-datetime-hrtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php%2Fpecl-datetime-hrtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php%2Fpecl-datetime-hrtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php%2Fpecl-datetime-hrtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php","download_url":"https://codeload.github.com/php/pecl-datetime-hrtime/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php%2Fpecl-datetime-hrtime/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30085820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T15:40:14.053Z","status":"ssl_error","status_checked_at":"2026-03-04T15:40:13.655Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-09-24T19:57:32.334Z","updated_at":"2026-03-04T16:02:37.134Z","avatar_url":"https://github.com/php.png","language":"C","readme":"# High resolution timer for PHP #\n\nThis PHP extension brings the possibility to use a high resolution timer from the user land PHP scripts. The best available APIs are used on differend platforms to achieve this goal. \n\n## Synopsis ##\n\n```php\n\n\t$c = new HRTime\\StopWatch;\n\n\t$c-\u003estart();\n\t/* do some interesting stuff*/\n\t$c-\u003estop();\n\t$elapsed0 = $c-\u003egetLastElapsedTime(HRTime\\Unit::NANOSECOND);\n\n\t/* do something else */\n\n\t$c-\u003estart();\n\t/* do some interesting stuff again */\n\t$c-\u003estop();\n\t$elapsed1 = $c-\u003egetLastElapsedTime(HRTime\\Unit::NANOSECOND);\n\n\t$elapsed_total = $c-\u003egetElapsedTime(HRTime\\Unit::NANOSECOND);\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp%2Fpecl-datetime-hrtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp%2Fpecl-datetime-hrtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp%2Fpecl-datetime-hrtime/lists"}