Both in Industrial Instruments

Keysight Technologies vs Cognex

Over the past year KEYS returned +67.9% and CGNX returned +35.7%; their daily moves had a correlation of 0.44.

KEYS +67.9% CGNX +35.7%Growth of $1, one year, split-adjusted
MetricKEYSCGNX
Price$307.20$56.15
Market cap$52.30B$9.45B
Today−6.86%−4.78%
1 month−17.8%−9.8%
6 months−12.8%+0.4%
Year to date+51.2%+56.1%
1 year+80.2%+18.4%
Revenue growth (YoY)+36.5%+16.9%
Gross margin65.9%70.6%
Net margin21.5%25.0%
P/E (TTM)41.5×54.0×
Price / sales7.9×8.7×
Net cash$88.0M$404.4M
Dividend yield—0.61%
Volatility (60d)44.2%48.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).