{"id":18041647,"url":"https://github.com/katyo/xhprof-helper","last_synced_at":"2025-04-05T02:25:56.812Z","repository":{"id":5197059,"uuid":"6372176","full_name":"katyo/xhprof-helper","owner":"katyo","description":"Kayofication PHP-XHProf server-side support and helper chromium extension","archived":false,"fork":false,"pushed_at":"2012-10-29T18:22:34.000Z","size":272,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T10:45:34.493Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"inaka/apns4erl","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/katyo.png","metadata":{"files":{"readme":"README.org","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":"2012-10-24T15:28:30.000Z","updated_at":"2014-01-07T05:39:59.000Z","dependencies_parsed_at":"2022-09-09T13:01:38.809Z","dependency_job_id":null,"html_url":"https://github.com/katyo/xhprof-helper","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/katyo%2Fxhprof-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katyo%2Fxhprof-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katyo%2Fxhprof-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katyo%2Fxhprof-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katyo","download_url":"https://codeload.github.com/katyo/xhprof-helper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247277877,"owners_count":20912616,"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-10-30T16:11:16.806Z","updated_at":"2025-04-05T02:25:56.567Z","avatar_url":"https://github.com/katyo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"* Overview\n\n  This is a simple [[http://pecl.php.net/package/xhprof][XHProf]] helper which makes profiling PHP apps with XHProf safe and easy.\n  It consists of [[http://www.chromium.org/Home][Chromium]] extension and some pieces of PHP code on a server side.\n  \n  *WARNING:* This software in _alpha stage_, so some features _may don't work properly_.\n\n* Configuration\n\n** XHProf\n   \n   Recommended /xhprof.ini/ looks like:\n   : ; XHProf profiling logs will be located here\n   : xhprof.output_dir=/var/log/xhprof\n   : ; XHProf library are located here\n   : xhprof.library_dir=/usr/share/php5-xhprof/xhprof_lib\n   : ; XHProf secret key (optionally may be used for\n   : ; preventing profiling requests from outsiders)\n   : xhprof.secret_key=‹∞juju∞›\n   : ; PHP Header and Footer (need for profiling any hosted script)\n   : auto_prepend_file=/path/to/server/auto_head.php\n   : auto_append_file=/path/to/server/auto_foot.php\n\n   Code of /server/auto_{head,foot}.php/ may contains any hooks, required your frameworks/hostware.\n   For example, profiling of Drupal requires to call _k10n_xhprof_foot() at drupal_exit().\n   I propose a simple solution here:\n   : function system_exit(){\n   :   _k10n_xhprof_foot();\n   : }\n\n** Web-server\n   \n   You need convert X-HProf request header to server variable XHPROF_COOKIE. For Nginx FastCGI simply add:\n   : fastcgi_param XHPROF_COOKIE $http_x_hprof;\n\n** Extension\n\n   You need to configure extension before first profiling session.\n   + Set XHProf GUI url\n   + Set secret key (optional)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatyo%2Fxhprof-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatyo%2Fxhprof-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatyo%2Fxhprof-helper/lists"}