Performance of near-infrared high-contrast imaging methods with JWST from commissioning