Both in Industrial Instruments

Danaher vs Cognex

Over the past year DHR returned +9.9% and CGNX returned +32.6%; their daily moves had a correlation of -0.01.

DHR +9.9% CGNX +32.6%Growth of $1, one year, split-adjusted
MetricDHRCGNX
Price$234.93$53.06
Market cap$165.15B$8.93B
Today+2.09%−8.69%
1 month+9.0%−20.0%
6 months+34.3%−14.8%
Year to date+2.6%+47.5%
1 year+9.7%+27.2%
Revenue growth (YoY)+8.3%+16.9%
Gross margin58.5%70.6%
Net margin18.8%25.0%
P/E (TTM)38.1×51.1×
Price / sales6.4×8.2×
Net cash-$20.80B$404.4M
Dividend yield0.68%0.64%
Volatility (60d)28.5%51.2%
Short % of float1.3%4.1%
Next earnings——

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