Small ones are like really small and have very little capability. In most cases getting away is better.

If you do get a extinguisher and plan to save the car, make sure you do not use powder. Spraying powder in a engine bay is a good way to ruining it forever. (the salts get everywhere and corrodes contacts).
_________________________