{"id":62825,"library":"cpuprofiler","title":"CPU Profiler","description":"Bindings to Google's CPU profiler.","status":"active","version":"0.0.4","language":"rust","source_language":null,"source_url":"https://github.com/AtheMathmo/cpuprofiler","tags":["profiling","cpu","gperftools","performance"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ncpuprofiler = \"0.0.4\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add cpuprofiler","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"PROFILER","correct":"use cpuprofiler::PROFILER;"}],"quickstart":{"code":"use cpuprofiler::PROFILER;\n\nPROFILER.lock().unwrap().start(\"./profile.prof\").unwrap();\n// ... code to profile ...\nPROFILER.lock().unwrap().stop().unwrap();","lang":"rust","description":"Starts and stops CPU profiling."},"warnings":[{"fix":"Install gperftools (libgoogle-perftools-dev on Ubuntu) and link against it.","message":"Requires gperftools to be installed on the system.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'bind':3 'cpu':1,7,10 'googl':5 'gperftool':11 'perform':12 'profil':2,8,9","created_at":"2026-06-17T16:36:00.807401+00:00","updated_at":"2026-06-17T16:36:00.807401+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/AtheMathmo/cpuprofiler","github":"https://github.com/AtheMathmo/cpuprofiler","docs":"https://docs.rs/cpuprofiler/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["observability"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}