{"id":16161456,"url":"https://github.com/gamemann/performance-test-program","last_synced_at":"2025-03-18T22:30:40.062Z","repository":{"id":92735757,"uuid":"426870586","full_name":"gamemann/Performance-Test-Program","owner":"gamemann","description":"A small program that acts as a C profiler.","archived":false,"fork":false,"pushed_at":"2021-11-12T04:57:14.000Z","size":4,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T12:30:02.426Z","etag":null,"topics":["c","performance","profile","profiling"],"latest_commit_sha":null,"homepage":"https://moddingcommunity.com/","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/gamemann.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":"2021-11-11T04:32:04.000Z","updated_at":"2024-08-27T02:00:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"47ee33b5-f9de-40e4-9007-548fcf16858b","html_url":"https://github.com/gamemann/Performance-Test-Program","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/gamemann%2FPerformance-Test-Program","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2FPerformance-Test-Program/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2FPerformance-Test-Program/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2FPerformance-Test-Program/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gamemann","download_url":"https://codeload.github.com/gamemann/Performance-Test-Program/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243950813,"owners_count":20373664,"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":["c","performance","profile","profiling"],"created_at":"2024-10-10T02:25:18.654Z","updated_at":"2025-03-18T22:30:40.054Z","avatar_url":"https://github.com/gamemann.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Performance Test\n## Description\nThis is a simple program in C for performance testing which only works for x86 and x86_64 systems. A `for` loop is executed *x* times and we use the Assembly instruction `rdtsc` for profiling.\n\n## Test 1\nTest #1 simply creates a character array with a size of 256 bytes and a string value of \"a string\" is copied to the character array via `strcpy()`. Afterwards, a variable representing the profiling average along with the highest and lowest profile speeds are calculated.\n\n## Command Line\nThere is currently only one command line argument which may be found below.\n\n```\n-c --count =\u003e The amount of times to execute for/while loops.\n```\n\n### Example\n```\n./perftest1 -c 10000000\n```\n\n## Building And Installing\nYou can use `git` and `make` to build and install the program.\n\n```\ngit clone https://github.com/gamemann/Performance-Test-Program.git\ncd Performance-Test-Program/\nsudo make \u0026\u0026 sudo make install\n```\n\nThe binary `perftest1` will be copied to `/usr/bin`. Therefore, it should be added to your path (e.g. you can write `perftest1 ...`).\n\n## Credits\n* [Christian Deacon](https://github.com/gamemann)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamemann%2Fperformance-test-program","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgamemann%2Fperformance-test-program","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamemann%2Fperformance-test-program/lists"}