Inactive plugins are ignored by WordPress, so they don’t impact the site speed. Even if we have dozens of inactive plugins, it should not affect the performance.