Phase-contrast imaging with x-rays is a developing field for imaging weakly absorbing materials. In this work, two phase-contrast imaging methods, grating- and speckle-based imaging, that measure the derivative of the phase shift, have been implemented with a laboratory source and compared experimentally. It was found that for the same dose conditions, the speckle-tracking differential phase-contrast images have considerably higher contrast-to-noise ratio than the grating-based images, but at the cost of lower resolution. Grating-based imaging performs better in terms of resolution, but would require longer exposure times, mainly due to absorption in the grating interferometer