Bring oil up to just above medium heat on fry pan and add onions, tomatoes, and jalapeños on a single layer and pan roast for about 20 minutes total, redistributing every 5 minutes or so. Slow roasting like this will wilt the onions and jalapeños a bit and bring out their sweetness.