{"id":20027075,"url":"https://github.com/unic/sitecore-module-profiling","last_synced_at":"2025-10-24T18:53:15.228Z","repository":{"id":61714159,"uuid":"553600758","full_name":"unic/sitecore-module-profiling","owner":"unic","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-19T15:07:39.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-25T17:11:25.671Z","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/unic.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":"2022-10-18T13:18:33.000Z","updated_at":"2022-10-18T13:28:22.000Z","dependencies_parsed_at":"2022-10-20T10:00:30.265Z","dependency_job_id":null,"html_url":"https://github.com/unic/sitecore-module-profiling","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fsitecore-module-profiling","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fsitecore-module-profiling/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fsitecore-module-profiling/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fsitecore-module-profiling/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unic","download_url":"https://codeload.github.com/unic/sitecore-module-profiling/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241460058,"owners_count":19966516,"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-13T09:08:57.415Z","updated_at":"2025-10-24T18:53:10.185Z","avatar_url":"https://github.com/unic.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sitecore Profiling Module\nUse this module to include profiling into your projects or modules. This module contains two separate projects and NuGet packages:\n\n- `Unic.Profiling`: This is used for creating the profiling, add and stop profiling etc. in your code. This does actually nothing than firing some events.\n- `Unic.Profiling.MiniProfiler`: This takes the profiling events from the other project and forward them to the MiniProfiler. Use this project if you want to see an output of the profiling settings from the other project.\n\n## Installation\n### Configuring profiling\nInstall the NuGet package `Unic.Profiling` on projects where you want to add a profiling.\n\n### See profiling output\nInstall the NuGet package `Unic.Profiling.MiniProfiler` on web projects where you want to see the output of the configured profilings. After the installation you need to add the output directly before the closing `\u003c/body\u003e` tag the view:\n\n    @using StackExchange.Profiling;\n    \u003chead\u003e\n\t\t...\n    \u003c/head\u003e\n    \u003cbody\u003e\n\t\t...\n\t\t@MiniProfiler.RenderIncludes()\n    \u003c/body\u003e\n\nTo disable the MiniProfiler output, you can set the following config in the `web.config` file. By default, MiniProfiler is enabled.\n\n    \u003cconfiguration\u003e\n    \t\u003cappSettings\u003e\n    \t\t\u003cadd key=\"Profiling.DisableMiniProfier\" value=\"true\" /\u003e\n    \t\u003c/appSettings\u003e\n    \u003c/configuration\u003e\n\t\n## Usage\nFor profiling your code, you just need to add a line of code each for starting and ending the profiling. It is important the event name is the same for starting and ending the profiling:\n\n    Unic.Profiling.Profiler.Profiler.OnStart(this, \"My code\");\n    \n    ...\n    \n    Unic.Profiling.Profiler.Profiler.OnEnd(this, \"My code\");","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funic%2Fsitecore-module-profiling","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funic%2Fsitecore-module-profiling","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funic%2Fsitecore-module-profiling/lists"}