Hacker GitHub

← All repos

plasma-umass/scalene

View on GitHub ↗ ★ 13,544 Python

Scalene: a high-performance, high-precision CPU, GPU, and memory profiler for Python with AI-powered optimization proposals

20 mentions on Hacker News by 18 people: 5 stories, 15 comments · first 2021-07-05 · latest 2026-01-10

Mentions per year 20 mentions · busiest year 2023 (8)
20082026
  1. Super cool! It recommended me Scalene Python profiler ( https://github.com/plasma-umass/scalene ), which looks very interesting – I haven't heard about it before..
  2. …CPU+GPU+memory profiler for Python, with AI-powered optimization suggestions GitHub stars - https://github.com/plasma-umass/scalene - Coz: A causal profiler that tells you where to optimize your code (C/C++/Rust/Swift/Java) -…
  3. …perf to the LLM and say 'now optimize'). This has been a feature of the Scalene Python profiler ( https://github.com/plasma-umass/scalene ) for some time (at this point, about 1.5 years) - bring your own API key for OpenAI / Azure /…
    comment by emeryberger · 2025-01-07 · in LLMs and Code Optimization
  4. …C++ or Rust or whatever) is a classic strategy. Just profile your code with something like Scalene: https://github.com/plasma-umass/scalene Alternatively, you can just write it in Julia.
  5. ▲ 183
    Scalene: A high-performance, high-precision CPU, GPU, memory profiler for Python
    story by kristianp · 2024-10-21 · 23 comments
  6. …had they used a profiler like scalene [0] to find where the unnecessary copying was happening. [0] https://github.com/plasma-umass/scalene
  7. …where exactly (in this case, it's not a problem of GPU memory, but CPU memory). I tried Scalene ( https://github.com/plasma-umass/scalene ), which seems to be powerful, but somehow the output it gives me is not useful at all? It doesn't…
    comment by albertzeyer · 2024-02-10 · in Memray – A Memory Profiler for Python
  8. Does anyone know how it compares to scalene? https://github.com/plasma-umass/scalene
    comment by emmanueloga_ · 2023-12-08 · in Memray: Python memory profiler
  9. …'fatter' python is vs c++ (eg: slide 29) b) shows Scalene improving performance (eg: 90x slide 111) https://github.com/plasma-umass/scalene
  10. …Using a modern profiler like scalene might point out where some improvements are possible: https://github.com/plasma-umass/scalene
    comment by sn9 · 2023-08-28 · in Fortran
  11. ▲ 36
    Scalene: A high-performance, CPU, GPU, and memory profiler for Python
    story by KolmogorovComp · 2023-06-18 · 4 comments
  12. You should take a look at Scalene - it's even better. https://github.com/plasma-umass/scalene
    comment by dralley · 2023-03-30 · in Making Python faster with Rust
  13. ▲ 15
    Scalene: A Python CPU/GPU/memory profiler with optimization proposals
    story by pkkm · 2023-02-19 · 1 comment
  14. ▲ 6
    Scalene: A Python memory profiler with AI-powered optimization proposals
    story by samwillis · 2023-01-05 · 0 comments
  15. ▲ 4
    Scalene now incorporates AI-powered optimization suggestions
    story by bkgh · 2023-01-02 · 2 comments
  16. …you c time vs python time (numpy calls, etc), and it's faster than most other python profilers. https://github.com/plasma-umass/scalene
    comment by eyegor · 2022-12-15 · in Python 3.11 Delivers
  17. …JIT or FFI? I think I've only ever seen the Python profiler, scalene[0], handle these cases. [0]: https://github.com/plasma-umass/scalene
    comment by jzelinskie · 2022-11-29 · in DWARF-Based Stack Walking Using eBPF
  18. https://github.com/plasma-umass/scalene check out scalene!
    comment by kungfufrog · 2022-04-20 · in Memray: a memory profiler for Python
  19. I haven't tried it yet, but Scalene looks interesting: https://github.com/plasma-umass/scalene .
  20. …and memory usage in a performant way. The author gave a talk about it on last PyCon US [1]. [0]: https://github.com/plasma-umass/scalene [1]: https://www.youtube.com/watch?v=nrQPqy3YY5A