StockComparison Logo
vs

SUN vs CGNX

Comparison between Sunoco LP (SUN, Company) and Cognex Corp (CGNX, Company).

SUN is from the Energy sector, while CGNX is from the Technology sector.

5-Year PerformanceSUN has outperformed CGNX, delivering a return of +23.2% compared to -5.3%

SUN vs CGNX - Performance Comparison

Key Characteristics

Financial metrics and valuation ratios

Market Cap
Winner
SUN
$10B
CGNX
$10B
Max Drawdown
Winner
SUN
79.87%
CGNX
85.19%
Sharpe Ratio
Winner
SUN
1.67
CGNX
1.26
5Y Beta
Winner
SUN
0.34
CGNX
1.45
Industry
SUN
Oil & Gas Refining & Marketing
CGNX
Scientific & Technical Instruments
P/E Ratio
Winner
SUN
11.95
CGNX
73.34
Forward P/E
Winner
SUN
15.41
CGNX
33.90
PEG Ratio
Winner
SUN
0.90
CGNX
3.12
Dividend Yield
Winner
SUN
5.00%
CGNX
0.53%
5Y Dividends CAGR
Winner
SUN
13.42%
CGNX
-31.58%
5Y EPS CAGR
Winner
SUN
0.77%
CGNX
-7.89%
Debt to Equity
SUN
57.77%
Winner
CGNX
0.00%
Free Cash Flow Yield
Winner
SUN
7.99%
CGNX
2.32%
P/S Ratio
Winner
SUN
0.47
CGNX
10.09
P/B Ratio
Winner
SUN
1.69
CGNX
7.04

SUN vs CGNX - Historical Returns

Returns include dividend reinvestment.

1M
Winner
SUN
+14.31%
CGNX
-0.81%
3M
SUN
+14.36%
Winner
CGNX
+17.42%
6M
SUN
+34.94%
Winner
CGNX
+60.01%
1Y
SUN
+51.44%
Winner
CGNX
+84.58%
5Y(CAGR)
Winner
SUN
+23.21%
CGNX
-5.31%
10Y(CAGR)
Winner
SUN
+19.72%
CGNX
+12.12%
Max(CAGR)
Winner
SUN
+18.18%
CGNX
+9.33%

SUN vs CGNX - Annual Returns (1999 - 2026)

Returns include dividend reinvestment.

YearSUNCGNX
2026+45.87%+72.28%
2025+8.16%+1.71%
2024-3.70%-10.44%
2023+49.92%-12.34%
2022+13.29%-38.45%
2021+56.21%-2.77%
2020+5.58%+46.09%
2019+25.24%+45.84%
2018+6.01%-36.76%
2017+17.21%+93.98%
2016-24.42%+92.37%
2015-14.02%-16.87%
2014+58.77%+9.22%
2013+35.09%+98.75%
2012+9.95%+4.12%
2011N/A+19.53%
2010N/A+64.06%
2009N/A+19.35%
2008N/A-23.48%
2007N/A-15.44%
2006N/A-18.91%
2005N/A+12.82%
2004N/A-0.78%
2003N/A+47.96%
2002N/A-27.56%
2001N/A+33.87%
2000N/A-40.24%
1999N/A+29.44%

SUN vs CGNX Drawdown Comparison

The maximum drawdown for SUN was -65.45%, occurring on Mar 18, 2020. Recovery took 1621 trading sessions.

The maximum drawdown for CGNX was -83.73%, occurring on Mar 9, 2009. Recovery took 3348 trading sessions.

The current SUN drawdown is -1.79%. The current CGNX drawdown is -30.17%.

RankSUNCGNX
#1-65.45%
Aug 22, 2014 - Feb 1, 2021
-83.73%
Apr 7, 2000 - Aug 1, 2013
#2-21.29%
Mar 6, 2024 - Jan 12, 2026
-74.63%
Feb 12, 2021 - Apr 8, 2025
#3-20.82%
Feb 1, 2022 - Nov 1, 2022
-51.57%
Nov 21, 2017 - Nov 4, 2020
#4-14.64%
Mar 26, 2013 - Nov 6, 2013
-44.58%
Apr 13, 2015 - Sep 21, 2016
#5-13.96%
May 19, 2026 - Jul 14, 2026
-20.02%
Feb 13, 2014 - Jul 3, 2014
#6-12.50%
Feb 6, 2023 - Aug 30, 2023
-19.62%
Aug 22, 2014 - Feb 26, 2015
#7-12.17%
Dec 28, 2023 - Feb 15, 2024
-14.73%
Mar 9, 2000 - Mar 23, 2000
#8-12.06%
Mar 4, 2014 - Apr 28, 2014
-11.49%
Jun 8, 2017 - Aug 1, 2017
#9-9.10%
Oct 19, 2021 - Jan 4, 2022
-9.92%
Dec 31, 1999 - Jan 14, 2000
#10-8.43%
Jun 11, 2021 - Aug 3, 2021
-9.83%
Oct 29, 2013 - Nov 27, 2013
#11-8.18%
Sep 28, 2023 - Oct 18, 2023
-8.95%
Oct 24, 2016 - Nov 7, 2016
#12-7.27%
Apr 28, 2014 - May 19, 2014
-8.81%
Nov 22, 1999 - Dec 21, 1999
#13-7.02%
Nov 12, 2012 - Jan 2, 2013
-8.46%
Sep 10, 2013 - Oct 29, 2013
#14-6.86%
Feb 8, 2013 - Feb 26, 2013
-6.60%
Jan 21, 2000 - Feb 2, 2000
#15-6.57%
Feb 8, 2021 - Apr 6, 2021
-6.42%
Jan 14, 2021 - Feb 5, 2021

Correlation

Correlation between SUN and CGNX is 0.32 which considered as a weak positive correlation - the stocks show a slight tendency to move together.

0.32
-101

Dividend Comparison (2003 - 2026)

SUN vs CGNX dividend yield comparison.

YearSUNCGNX
20262.58%0.27%
20256.89%0.90%
20246.74%0.85%
20235.59%0.68%
20227.66%0.56%
20218.09%0.32%
202011.47%2.77%
201910.79%0.37%
201812.14%0.48%
201711.63%0.27%
201612.16%0.46%
20156.78%0.62%
20144.12%0.00%
20135.43%0.00%
20120.11%3.89%
20110.00%1.01%
20100.00%0.85%
20090.00%1.69%
20080.00%3.18%
20070.00%1.69%
20060.00%1.39%
20050.00%1.06%
20040.00%1.00%
20030.00%0.42%

Select Stocks to Compare