{"id":20726165,"url":"https://github.com/tarc/timerbenchmark","last_synced_at":"2026-06-04T19:31:21.750Z","repository":{"id":152686022,"uuid":"261411144","full_name":"tarc/TimerBenchmark","owner":"tarc","description":"This is a CMake skeleton for C# projects. It is also a kind of benchmark for Windows timer utilities.","archived":false,"fork":false,"pushed_at":"2020-05-08T04:33:56.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T08:51:06.503Z","etag":null,"topics":["cmake","csharp","skeleton"],"latest_commit_sha":null,"homepage":"","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/tarc.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":"2020-05-05T09:20:02.000Z","updated_at":"2020-05-08T04:33:58.000Z","dependencies_parsed_at":"2023-08-17T12:01:13.326Z","dependency_job_id":null,"html_url":"https://github.com/tarc/TimerBenchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tarc/TimerBenchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarc%2FTimerBenchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarc%2FTimerBenchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarc%2FTimerBenchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarc%2FTimerBenchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarc","download_url":"https://codeload.github.com/tarc/TimerBenchmark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarc%2FTimerBenchmark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33917183,"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-04T02:00:06.755Z","response_time":64,"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":["cmake","csharp","skeleton"],"created_at":"2024-11-17T04:23:40.741Z","updated_at":"2026-06-04T19:31:21.727Z","avatar_url":"https://github.com/tarc.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TimerBenchmark\n\nThis is a CMake skeleton for C# projects. It is also a kind of benchmark for Windows timer utilities, based on [TimeSpan Calculation based on DateTime is a Performance Bottleneck](https://www.codeproject.com/Articles/800756/TimeSpan-Calculation-based-on-DateTime-is-a-Perfor).\n\n## Clonning, Compiling and Running\n\nMake sure you have CMake, Git and a C# toolchain properly installed and issue the following commands:\n\n```batch\ngit clone https://github.com/tarc/TimerBenchmark.git\ncd TimerBenchmark\nrun.bat\n```\n\nThe expected output from the above commands is something like:\n\n```text\n-- Building for: Visual Studio 16 2019\n-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.17763.\n-- The CSharp compiler identification is Microsoft unknown 9999\n-- The CSharp compiler version is 9999\n-- Check for working C# compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/MSBuild/Current/Bin/Roslyn/csc.exe\n-- Check for working C# compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/MSBuild/Current/Bin/Roslyn/csc.exe - works\n-- Generating timerbenchmark\n-- Configuring done\n-- Generating done\n-- Build files have been written to: E:/projects/TimerBenchmark/build\nMicrosoft(R) Build Engine versão 16.5.0+d4cbfca49 para .NET Framework\nCopyright (C) Microsoft Corporation. Todos os direitos reservados.\n\n  Checking Build System\n  timerbenchmark -\u003e E:\\projects\\TimerBenchmark\\build\\Debug\\timerbenchmark.exe\n  Performance Tests\n    Stopwatch Resolution (nS): 100\n\n  Reference Loop (NOP) Iterations: 1000000\n    Reference Loop (NOP) Elapsed Time (ms): 1,9908\n\n  Query Environment.TickCount\n    Query Environment.TickCount Elapsed Time (ms): 4,8561\n\n  Query DateTime.Now.Ticks\n    Query DateTime.Now.Ticks Elapsed Time (ms): 178,5078\n\n  Query Stopwatch.ElapsedTicks\n    Query Stopwatch.ElapsedTicks Elapsed Time (ms): 33,7396\n  Building Custom Rule E:/projects/TimerBenchmark/CMakeLists.txt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarc%2Ftimerbenchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarc%2Ftimerbenchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarc%2Ftimerbenchmark/lists"}