Sensitive method for measuring third order nonlinearities in compact dielectric and hybrid plasmonic waveguides.