{"id":20917522,"url":"https://github.com/nimble-dev/gprofiler","last_synced_at":"2026-04-20T20:02:24.351Z","repository":{"id":81858969,"uuid":"98596922","full_name":"nimble-dev/gprofiler","owner":"nimble-dev","description":"Profile the C++ behind your R code","archived":false,"fork":false,"pushed_at":"2018-12-12T23:07:40.000Z","size":10,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-19T16:47:59.139Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"R","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/nimble-dev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-28T01:59:56.000Z","updated_at":"2022-03-11T10:00:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1a44bf4-0a2b-4fe0-98d9-9120b3853dbf","html_url":"https://github.com/nimble-dev/gprofiler","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/nimble-dev%2Fgprofiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimble-dev%2Fgprofiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimble-dev%2Fgprofiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimble-dev%2Fgprofiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nimble-dev","download_url":"https://codeload.github.com/nimble-dev/gprofiler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243311871,"owners_count":20271061,"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-18T16:33:56.380Z","updated_at":"2025-12-24T20:52:03.016Z","avatar_url":"https://github.com/nimble-dev.png","language":"R","readme":"# gprofiler - Profile the C++ behind your R code\n\nA wrapper around Google's\n[perftools profiler](https://github.com/gperftools/gperftools) and\n[pprof](https://github.com/google/pprof) visualizer.\n\n## Usage\n\n```r\nlibrary(gprofiler)\nprofile(my_expensive_function(100000))   # On completion, shows results in a web browser.\n```\n\nResults are only meaningful if `my_expensive_function(100000)` takes longer than around 30 seconds.\n\nThe `gprofiler::profile()` function profiles only C++ code.\nTo profile R code, use the [profviz](https://rstudio.github.io/profvis/) package instead.\n\n## Installation\n\n### 1. Install `google-perftools` and `pprof`\n\nUbuntu Linux\n```sh\nsudo apt-get install libgoogle-perftools-dev\n\nsudo apt-get install golang-go    # In case you don't have go installed.\nexport GOPATH=$HOME/go            # Add this to your .bash_profile.\nexport PATH=$PATH:$GOPATH/bin     # Add this to your .bash_profile.\ngo get github.com/google/pprof\n```\n\nOS X\n```sh\nbrew install google-perftools\n\nbrew install binutils                                        # For gobjdump.\nsudo ln -s /usr/local/bin/gobjdump /usr/local/bin/objdump    # Needed by pprof.\n\nbrew install go --cross-compile-common    # In case you don't have go installed.\nexport GOPATH=$HOME/go                    # Add this to your .bash_profile.\nexport PATH=$PATH:$GOPATH/bin             # Add this to your .bash_profile.\ngo get github.com/google/pprof\nsudo mv /usr/local/bin/pprof /usr/local/bin/pprof.pl  # Ignore the older pprof.\n```\n\n### 2. Install the `gprofiler` R Package\n\n```r\nlibrary(devtools)\ndevtools::install_github('nimble-dev/gprofiler')\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimble-dev%2Fgprofiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnimble-dev%2Fgprofiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimble-dev%2Fgprofiler/lists"}