{"id":17214067,"url":"https://github.com/takikawa/racket-profile-flamegraph","last_synced_at":"2026-01-06T10:03:12.188Z","repository":{"id":62424291,"uuid":"72325000","full_name":"takikawa/racket-profile-flamegraph","owner":"takikawa","description":"Hooks up Racket profile outputs to FlameGraph","archived":false,"fork":false,"pushed_at":"2017-12-01T19:00:24.000Z","size":31,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T19:54:33.826Z","etag":null,"topics":["racket"],"latest_commit_sha":null,"homepage":"","language":"Racket","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/takikawa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-30T04:08:32.000Z","updated_at":"2021-07-16T23:54:58.000Z","dependencies_parsed_at":"2022-11-01T18:01:10.571Z","dependency_job_id":null,"html_url":"https://github.com/takikawa/racket-profile-flamegraph","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/takikawa%2Fracket-profile-flamegraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takikawa%2Fracket-profile-flamegraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takikawa%2Fracket-profile-flamegraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takikawa%2Fracket-profile-flamegraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takikawa","download_url":"https://codeload.github.com/takikawa/racket-profile-flamegraph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245467185,"owners_count":20620210,"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":["racket"],"created_at":"2024-10-15T03:01:30.267Z","updated_at":"2026-01-06T10:03:07.149Z","avatar_url":"https://github.com/takikawa.png","language":"Racket","readme":"# profile-flame-graph\n\n[![Scribble](https://img.shields.io/badge/Docs-Scribble-blue.svg)](http://docs.racket-lang.org/profile-flame-graph/index.html)\n\nA library for providing Racket profiler outputs as\n[flame graphs](https://github.com/brendangregg/FlameGraph).\n\nThe library can optionally call out to the `flamegraph.pl` script.\nFor this feature, you will need to check out the\n[FlameGraph](https://github.com/brendangregg/FlameGraph) repo and\nadd it to your `PATH` variable.\n\n# Quick usage\n\nInstall with:\n\n```\nraco pkg install profile-flame-graph\n```\n\nYou will need to install FlameGraph. On a unix system, that might\nlook like this:\n\n```\ngit clone https://github.com/brendangregg/FlameGraph.git\nexport PATH=\"$PATH:$PWD/FlameGraph\"\n```\n\nAdd this import into the program you want to profile:\n\n```\n(require profile-flame-graph)\n```\n\nWrap the expression you want to profile in your program like this:\n\n```racket\n(profile \u003cyour-code-here\u003e\n         #:svg-path \"my-profile.svg\"\n         #:preview? #t)\n```\n\nand run your program:\n\n```\nracket \u003cyour-program\u003e.rkt\n```\n\nwhich will write the profile output to `my-profile.svg` and pop\nup a window showing the flame graph.\n\n---\n\nCopyright © 2016 Asumu Takikawa\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Lesser General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option) any\nlater version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along\nwith this program. If not, see http://www.gnu.org/licenses.\n","funding_links":[],"categories":["Packages"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakikawa%2Fracket-profile-flamegraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakikawa%2Fracket-profile-flamegraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakikawa%2Fracket-profile-flamegraph/lists"}