Both in Semiconductors

OSI Systems vs Diodes

Over the past year OSIS returned −29.1% and DIOD returned +50.5%; their daily moves had a correlation of 0.25.

OSIS −29.1% DIOD +50.5%Growth of $1, one year, split-adjusted
MetricOSISDIOD
Price$199.44$80.13
Market cap$3.14B$3.69B
Today−4.19%−8.76%
1 month+1.4%−17.8%
6 months−29.4%−26.0%
Year to date−21.8%+62.4%
1 year−20.0%+47.1%
Revenue growth (YoY)+4.9%+21.7%
Gross margin30.7%33.1%
Net margin6.1%10.5%
P/E (TTM)19.8×42.9×
Price / sales1.7×2.3×
Net cash-$697.6M$399.5M
Dividend yield——
Volatility (60d)26.7%62.2%
Short % of float13.3%5.7%
Next earnings——

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