{"id":26816351,"url":"https://github.com/windperson/demoaspnetcorebenchmark","last_synced_at":"2025-03-30T03:19:31.422Z","repository":{"id":278734844,"uuid":"936458282","full_name":"windperson/DemoAspNetCoreBenchmark","owner":"windperson","description":"Benchmarks for ASP.NET  Core projects","archived":false,"fork":false,"pushed_at":"2025-02-21T11:29:32.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T12:28:12.239Z","etag":null,"topics":["asp-net-core","benchmarkdotnet","net9"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/windperson.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-21T05:53:26.000Z","updated_at":"2025-02-21T11:29:35.000Z","dependencies_parsed_at":"2025-02-21T12:38:39.718Z","dependency_job_id":null,"html_url":"https://github.com/windperson/DemoAspNetCoreBenchmark","commit_stats":null,"previous_names":["windperson/demoaspnetcorebenchmark"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windperson%2FDemoAspNetCoreBenchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windperson%2FDemoAspNetCoreBenchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windperson%2FDemoAspNetCoreBenchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windperson%2FDemoAspNetCoreBenchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/windperson","download_url":"https://codeload.github.com/windperson/DemoAspNetCoreBenchmark/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246270252,"owners_count":20750369,"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":["asp-net-core","benchmarkdotnet","net9"],"created_at":"2025-03-30T03:19:30.991Z","updated_at":"2025-03-30T03:19:31.413Z","avatar_url":"https://github.com/windperson.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Demo ASP.NET Core Benchmark\r\n\r\nThis repository contains some Benchmark tests for [ASP.NET Core](https://learn.microsoft.com/aspnet/core/introduction-to-aspnet-core), written by the aid of [BenchmarkDotNet](https://benchmarkdotnet.org/).\r\n\r\n## WebApiBenchmark\r\n\r\nThe console project in the **WebApiBenchmarks** folder contains a Benchmark between the ASP.NET Core Minimal API Project (***WebApps\\SutMinimalApi*** folder) and another ASP.NET Core MVC Web API Project (***WebApps\\SutMvcWebApi*** folder).\r\n\r\nTo run the Benchmark, under the **WebApiBenchmarks** folder, execute the following command in terminal:\r\n\r\n```\r\ndotnet run -c Release -- --filter '*'\r\n```\r\n\r\nThe result will be like this:\r\n\r\n![Benchmark Result](./screen_shots/Benchmark_MvcWebApiVsMinimalApi.png)\r\n\r\n\r\n## Server Async Stream Benchmark\r\n\r\nThe console project in the **ServerAsyncStreamBenchmark** folder contains a Benchmark that compare using Async Stream or not to return a random integer list of json format in ASP.NET Core Minimal API Project (***AsyncStream\\DemoRandomStreamApi*** folder).\r\n\r\nTo run the Benchmark, under the **ServerAsyncStreamBenchmark** folder, execute the following command in terminal:\r\n\r\n```\r\ndotnet run -c Release -- --filter '*'\r\n```\r\n\r\nThe result will be like this:\r\n\r\n![Benchmark Result](./screen_shots/Benchmark_ServerAsyncStream.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindperson%2Fdemoaspnetcorebenchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwindperson%2Fdemoaspnetcorebenchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindperson%2Fdemoaspnetcorebenchmark/lists"}