Stocks rose for a third straight session Wednesday, but gains were meager overall. Small caps failed to rise in unison with their larger brethren, a troubling sign. On Wednesday, the S&P 500 outperformed the field, rising 0.5%. Give credit to the energy sector. Oil and gas stocks made up many of the top 10 performing industry groups (see the Industry Groups table at the bottom of page B2).