Small emerging markets like Nigeria and Egypt have delivered stellar stock market performances this year.