SAN FRANCISCO — After straying in 2012, Wilson Sonsini Goodrich & Rosati has rejoined the Valley pack, posting solid gains in revenue and profitability metrics.

Like tech-focused peers Cooley and Fenwick & West, Wilson capitalized on the continuing boom in 2013, boosting revenue 6.7 percent, and revenue per lawyer 3.9 percent to $925,000. Even so, that figure is below the $930,000 it hit in 2011. Meanwhile, both Fenwick and Cooley have over the past five years gained on and then passed Wilson on that measure of financial health.