The long-anticipated purge, announced on Tuesday, will jettison about 15 per cent of Yahoo’s workforce along with an assortment of services.

Yahoo is laying off about 1,700 employees and shedding some of its excess baggage in a shake-up likely to determine whether CEO Marissa Mayer can save her own job.

The long-anticipated purge, announced on Tuesday, will jettison about 15 per cent of Yahoo’s workforce along with an assortment of services that Mayer decided aren’t worth the time and money that the Internet company has been putting into them.

Mayer hopes to sell some of Yahoo’s unwanted services for about $1 billion, though she didn’t identify which ones. In an apparent concession to some shareholders, Mayer also said Yahoo’s board will mull “strategic alternatives” that could result in the sale of all the company’s Internet operations.

Analysts have speculated that Verizon, AT&T and Comcast might be interested in buying Yahoo’s main business, despite years of deterioration.

Mayer expressed confidence that her plan to run Yahoo as a smaller, more focused company “will dramatically brighten our future and improve our competitiveness, and attractiveness to users, advertisers, and partners.”

Shareholders have questioned whether she has figured out how to revive the Internet company’s growth after three-and-aalf years of futility. Yahoo’s stock shed 34 cents to $28.72 extended trading after details of Mayer’s latest turnaround attempt came out. The stock has fallen by more than 40 percent since the end of 2014 as investors’ confidence in Mayer has faded.

Some of Yahoo’s most outspoken shareholders, such as SpringOwl Asset Management, already have concluded that Mayer should be laid off, too. Mayer, a former rising star at Google who helped Google eclipse Yahoo, has given no indication she intends to leave.

Even after the mass firings are completed by the end of March, Yahoo will still have about 9,000 workers — three times the roughly 3,000 people that SpringOwl believes the company should be employing, based on its steadily declining revenue.

“We would like to see a higher stock price, and we think Marissa and her current management team have become a hindrance to that,” said Eric Jackson, SpringOwl’s managing director. He declined to disclose the size of SpringOwl’s Yahoo investment.

Yahoo’s stock dipped 25 cents to $28.81 in extended trading after details of Mayer’s latest turnaround attempt came out.

Yahoo’s revenue has been shrinking through most of Mayer’s reign, even though she has spent more than $3 billion buying more than 40 companies, while bringing in new talent and developing mobile applications and other services designed to attract more traffic and advertisers.

The decline has persisted while advertisers have been steadily increasing their digital marketing efforts. Most of that money has been flowing to Google and Facebook — two companies once far smaller than the now 20-year-old Yahoo Inc.

Yahoo’s fourth-quarter report provided fresh evidence of the company’s deterioration. After subtracting ad commissions, revenue plunged 15 percent to $1 billion compared with the previous year the biggest drop since Mayer became CEO in July 2012. Things continue to look bleak, as Yahoo forecast a net revenue decline of 12 to 17 per cent this year.

The Sunnyvale, California, company reported a fourth-quarter loss of $4.4 billion, reflecting the eroding value of its services. The amount included a $1.2 billion hit for acquisitions made under Mayer, including a $230 million decrease in the value of blogging service Tumblr, which the company bought for $1.1 billion in 2013.