{"id":25008090,"url":"https://github.com/vend/elxhprofplugin","last_synced_at":"2025-10-20T00:30:39.455Z","repository":{"id":3253061,"uuid":"4290990","full_name":"vend/elXHProfPlugin","owner":"vend","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-23T03:26:15.000Z","size":897,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-15T01:15:33.470Z","etag":null,"topics":["backstage-exclude"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/vend.png","metadata":{"files":{"readme":"README","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}},"created_at":"2012-05-10T23:15:04.000Z","updated_at":"2022-08-27T08:12:50.000Z","dependencies_parsed_at":"2022-08-17T22:00:54.933Z","dependency_job_id":null,"html_url":"https://github.com/vend/elXHProfPlugin","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/vend%2FelXHProfPlugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vend%2FelXHProfPlugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vend%2FelXHProfPlugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vend%2FelXHProfPlugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vend","download_url":"https://codeload.github.com/vend/elXHProfPlugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237231308,"owners_count":19276159,"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":["backstage-exclude"],"created_at":"2025-02-05T02:56:55.258Z","updated_at":"2025-10-20T00:30:34.129Z","avatar_url":"https://github.com/vend.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"elXHProf plugin\n==============\n\nThe `elXHProfPlugin` is a plugin to ease the use of [XHProf profiler](http://mirror.facebook.net/facebook/xhprof/ ).\n\nIt allows developers to easily profile code blocks thanks to a simple API.\n\nThis plugin also integrates XHProf runs into the web debug toolbar to see and compare them in a simple way.\n\nThis work was originaly realized for [PMSIpilot](http://www.pmsipilot.com/).\n\nPrerequisite\n------------\n  * graphviz to have the graphs working (not mandatory)\n  * XHProf PHP extension installed : [very good XHProf presentation and installation guide](http://techportal.ibuildings.com/2009/12/01/profiling-with-xhprof/)\n\nInstallation\n------------\n\n * Install the plugin\n\n         $ symfony plugin:install elXHProfPlugin\n\n * Deploy web dir by copying elXHProfPlugin/web content into sf_web_dir/elXHProfPlugin or executing the following command\n\n         $ symfony plugin:publish-assets\n\nHow to profile\n--------------\n    $run = new XHProfRun('namespace');\n    // Code to profile\n    $run-\u003eend()\n    \nThe namespace allows you to group multiple runs.\n\nHow to view/compare the results\n--------------\nThe links to the runs results are available in the web debut toolbar. They are grouped by namespace and a distinguished by whether the runs have been done in the current PHP process or in previous processes.\n\nYou can compare 2 runs by checking them and clicking on the `Compare` button.\n\nTODO\n----\n  * Ability to delete runs from debug toolbar","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvend%2Felxhprofplugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvend%2Felxhprofplugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvend%2Felxhprofplugin/lists"}