{"repo":"plasma-umass/scalene","free":true,"listed":false,"github":"https://github.com/plasma-umass/scalene","clone":"git clone https://github.com/plasma-umass/scalene.git","description":"Scalene: a high-performance, high-precision CPU, GPU, and memory profiler for Python with AI-powered optimization proposals","language":"Python","stars":13491,"topics":["python","profiling","performance-analysis","cpu-profiling","profiler","python-profilers","gpu-programming","scalene","profiles-memory","performance-cpu"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"Scalene: a Python CPU+GPU+memory profiler with AI-powered optimization proposals by Emery Berger, Sam Stern, and Juan Altmayer Pizzorno. Scalene community Slack (tweet from Ian Ozsvald, author of High Performance Python ) Python Profiler Links to AI to Improve Code Scalene identifies inefficiencies and asks GPT-4 for suggestions , IEEE Spectrum Episode 172: Measuring Multiple Facets of Python Performance With Scalene, The Real Python podcast Scalene web-based user interface: https://scalene-gui.github.io/scalene-gui/ About Scalene Scalene is a high-performance CPU, GPU and memory profiler for Python that does a number of things that other Python profilers do not and cannot do. It runs orders of magnitude faster than many other profilers while delivering far more detailed information. It is also the first profiler ever to incorporate AI-powered proposed optimizations. AI-powered optimization suggestions Note For optimization suggestions, Scalene supports a variety of AI providers, including Amazon Bedrock, Microsoft Azure, OpenAI, and local models via Ollama. To enable AI-powered optimization suggestions from AI providers, you need to select a provider and, if needed, enter your credentials, in the box under \"AI Optimization Options\". Once you've entered your key and any other needed data, click on the lightning bolt (⚡) beside any line or the explosion (💥) for an entire region of code to generate a proposed optimization. Click on a proposed optimization to copy it to the cli","default_branch":null,"files":null,"tree":[],"storefront":"/r/plasma-umass","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/plasma-umass/scalene/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}