{"id":78551,"library":"stackprof","title":"StackProf","description":"A fast sampling profiler for Ruby code with CPU, wallclock, and object allocation samplers.","status":"active","version":"0.2.28","language":"ruby","source_language":null,"source_url":"https://github.com/tmm1/stackprof","tags":["profiling","performance","debugging","sampling"],"install":[{"cmd":"gem install stackprof","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'stackprof', '~> 0.2.28'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"StackProf","correct":"require 'stackprof'"}],"quickstart":{"code":"require 'stackprof'\nStackProf.run(mode: :cpu, out: 'profile.dump') do\n  # code to profile\nend","lang":"ruby","description":"Profile CPU usage of a block of code."},"warnings":[{"fix":"Ensure you have a compatible Ruby (MRI) and build tools installed.","message":"StackProf requires a compiled extension and may not work on all Ruby implementations.","severity":"gotcha","affected_versions":">= 0"}],"env_vars":null,"search_vec":"'alloc':14 'code':8 'cpu':10 'debug':18 'fast':3 'object':13 'perform':17 'profil':5,16 'rubi':7 'sampl':4,19 'sampler':15 'stackprof':1 'wallclock':11","created_at":"2026-06-18T04:21:52.905658+00:00","updated_at":"2026-06-18T04:21:52.905658+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://github.com/tmm1/stackprof","github":"https://github.com/tmm1/stackprof","docs":"http://www.rubydoc.info/gems/stackprof/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["observability","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}