~/talk

Automating Python Code Performance

TalkinSpanishat PyCon US 2025 · 2025-05-16..05-18· [ai-assisted-development, machine-learning]
links:none on file
slides:none on file

Describes Codeflash, an open tool that automates performance improvements for Python by using language models to propose concrete code replacements, running automatic benchmarks, and generating or reusing tests to verify functional equivalence before and after changes. It instruments real executions to capture inputs, uses line-level profiling to target transformations, and opens pull requests when a validated suggestion improves runtime (example: from 137 ms to 530 µs, ~257× faster).

AI-written summary · about

  1. 0:00Welcome
  2. 1:13Python isn't slow
  3. 3:23Manual optimization challenges
  4. 6:16Automating performance
  5. 8:02CFRAS demo
  6. 16:53Real optimizations in libraries
  7. 19:20Tool integration
  8. 22:54Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.