Talks: Near Zero-Overhead Python Code Coverage

Friday - May 17th, 2024 5:15 p.m.-5:45 p.m. in Ballroom A

Presented by:


Code coverage shows what lines or branches your tests are missing. If you maintain Python code, chances are you use to measure it. You probably don't use it all the time, though, as it slows down your tests -- up to a whopping 2.6x. This talk introduces SlipCover, a new tool that brings this overhead down to only 5%. We look into what slows down, and show how SlipCover is able to do better. For Python 3.12, SlipCover adopts the new Low Impact Monitoring API (PEP669); we discuss the advantages and challenges of integrating it into SlipCover.