{"id":20068707,"url":"https://github.com/sapd/gm_performance","last_synced_at":"2025-09-11T17:35:13.681Z","repository":{"id":85217282,"uuid":"42010830","full_name":"Sapd/gm_performance","owner":"Sapd","description":"Performance measurement for Garrysmod Server","archived":false,"fork":false,"pushed_at":"2015-09-17T09:41:24.000Z","size":268,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T11:25:15.434Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/Sapd.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":"2015-09-06T17:07:28.000Z","updated_at":"2019-03-07T20:21:55.000Z","dependencies_parsed_at":"2023-03-05T23:00:30.320Z","dependency_job_id":null,"html_url":"https://github.com/Sapd/gm_performance","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Sapd/gm_performance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sapd%2Fgm_performance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sapd%2Fgm_performance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sapd%2Fgm_performance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sapd%2Fgm_performance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sapd","download_url":"https://codeload.github.com/Sapd/gm_performance/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sapd%2Fgm_performance/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260944713,"owners_count":23086864,"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-11-13T14:08:18.031Z","updated_at":"2025-06-20T12:32:42.109Z","avatar_url":"https://github.com/Sapd.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gm_performance\n## Usage\n```\nrequire(\"performance\")\nperformance.getFPS() -- returns fps as a double\nperformance.getDiff() -- returns time between one frame in microseconds\nperformance.getDiffMS() -- in milliseconds\n```\n\n## Benchmarking:\n\n```\n-- Starts measuring performance every 200ms and writes it into a csv file in garrysmod root folder\nperformance.startBenchmark()\n-- Stops it\nperformance.stopBenchmark()\n```\nYou can open the csv later with Microsoft Excel or Libreoffice Calc and generate Diagrams out of it.\n\n![Image](http://i.imgur.com/LA0iS3b.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapd%2Fgm_performance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsapd%2Fgm_performance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapd%2Fgm_performance/lists"}