Gitlab Inc vs Hershey Co — how do they compare? Gitlab Inc trades at $31.84 (market cap $5.54B), while Hershey Co trades at $176.28 (market cap $34.54B). The key difference: Hershey Co is far larger — about 6.2× Gitlab Inc's market cap, and Hershey Co pays a 3.41% dividend while Gitlab Inc pays none. Which is the better fit depends on your goals.
| GTLB | HSY | |
|---|---|---|
Market Cap | $5.54B | $34.54B |
Sector | Technology | Consumer Staples |
52-Week High | $51.04 | $236.28 |
52-Week Low | $19.42 | $162.31 |
Enterprise Value | $4.29B | $39.34B |
Dividend Yield | — | 3.41% |
Signals from Pluang's Aura AI — not financial advice
GitLab trades at $31.50, down 4.49% today, with a bullish technical signal from moving averages but mixed oscillators. Revenue grew to $759.25M in 2025, though net income remained negative at -$6.33M. Recent earnings beats and a strategic position in AI-driven DevSecOps, including a fourth consecutive Gartner Magic Quadrant leadership recognition (Business Wire, 2026-06-17), highlight growth potential despite profitability challenges.
The outlook balances strong revenue growth and market position against high valuation multiples and persistent losses. Analyst consensus targets $32.50, suggesting modest upside, but risks include execution on profitability and competitive pressures in the software sector. Cash flow trends show improvement projected for 2026, yet investor caution is warranted given the elevated P/E ratio of 521.22.
HSY trades at $174.84, up 1.97% in the last session, with a bearish technical signal but recent earnings beats. The stock shows strong profitability with a 9.12% net income margin and 23.23% ROE, though its P/E of 31.71 suggests premium valuation. Recent news highlights margin recovery and new product launches, with Q2 2026 earnings due July 30, 2026.
Outlook is cautiously optimistic as easing cocoa costs and innovation drive growth, but high debt and valuation pose risks. Analyst consensus is a $209.25 price target with a 'Hold' bias, offering potential upside if earnings momentum continues amid competitive and economic pressures.
Trailing returns across standard periods
Latest headlines on both assets
GitLab Inc operates on an all-remote model. The company is a technology company whose primary offering is GitLab, a complete DevOps platform delivered as a single application. GitLab is used by a wide range of organizations. The company also provides related training and professional services. GitLab is offered on both self-managed and software-as-a-service (SaaS) models. The principal markets for GitLab are currently located in the United States, Europe, and Asia Pacific. The company is focused on accelerating innovation and broadening the distribution of its platform to companies across the world.
Read more on GTLB →Hershey is a leading confectionery manufacturer in the U.S. (around a $25 billion market), controlling around 46% of the domestic chocolate space (per IRI). Beyond its namesake label, the firm's mix has expanded over the last 85 years and now consists of 100 brands, including Reese's, Kit Kat, Kisses, and Ice Breakers. Hershey's products are sold in about 80 countries, albeit with just a high-single-digit percentage of sales coming from markets outside the U.S., including Brazil, India, and Mexico. The firm has sought inorganic opportunities to extend its reach beyond its core confection business, adding Amplify Snack Brands and its Skinny Pop ready-to-eat popcorn to its mix and Pirate Brands (including the Pirate's Booty, Smart Puffs, and Original Tings brands) over the past few years.
Read more on HSY →