Both in Industrial Instruments

Cognex vs Keysight Technologies

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

CGNX +39.4% KEYS +63.9%Growth of $1, one year, split-adjusted
MetricCGNXKEYS
Price$58.11$305.11
Market cap$9.78B$51.94B
Today+3.01%+2.06%
1 month−9.7%−20.6%
6 months−1.2%−14.3%
Year to date+61.5%+50.2%
1 year+40.4%+66.8%
Revenue growth (YoY)+16.9%+36.5%
Gross margin70.6%65.9%
Net margin25.0%21.5%
P/E (TTM)55.9×41.2×
Price / sales9.0×7.9×
Net cash$404.4M$88.0M
Dividend yield0.59%—
Volatility (60d)48.0%44.6%
Short % of float4.1%1.3%
Next earnings——

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