Both in Industrial Instruments

Roper Technologies vs Cognex

Over the past year ROP returned +7.4% and CGNX returned +38.5%; their daily moves had a correlation of -0.22.

ROP +7.4% CGNX +38.5%Growth of $1, one year, split-adjusted
MetricROPCGNX
Price$481.76$57.78
Market cap$47.65B$9.72B
Today+3.25%+2.89%
1 month+36.0%−11.1%
6 months+35.6%+2.6%
Year to date+8.2%+60.6%
1 year+8.7%+39.9%
Revenue growth (YoY)+8.5%+16.9%
Gross margin69.7%70.6%
Net margin55.4%25.0%
P/E (TTM)19.0×55.6×
Price / sales5.8×8.9×
Net cash-$10.95B$404.4M
Dividend yield0.76%0.59%
Volatility (60d)32.4%48.6%
Short % of float5.0%4.1%
Next earnings——

Shading marks the stronger figure where one clearly exists (lower is better for valuation and volatility).