I have a couple Interdynamics "Truck Air" compressors that I've had for 10+ years. I was about to highly recommend them, but I just poked around the web to see what they sell for now. It looks like they're now making them in China, and they're not nearly as good as they used to be. So I can highly recommend them, but only if you can find one of the old US-made ones like mine. They say "Made in USA" in the lower right corner of the front, and on the box.
You can pump faster by hand than one of these little things pumps, and hand pumps are much cheaper and will probably last much longer than most cheap 12v pumps. Doing things by hand isn't popular these days, but sometimes it's the best way.
If you have room, carry a 5-7 gal. portable air tank as well. It won't completely fill a big tire, but it'll top off several, or get one from flat to high enough to drive on after you plug it, and it's faster than a compressor or pump.
And of course, always carry tire plugs. Folks keep telling me they don't work, but I've been using them for decades and I've never seen one fail. I have, however, been really inconvenienced when I needed one and didn't have it.