Main broad-cap indices performed in line with the benchmark indices, as the Nifty Midcap 100 added 0.12 per cent, and the Nifty Smallcap 100 gained 0.86 per cent.