Home / Companies / Semaphore / Blog / Post Details
Content Deep Dive

How Lawmatics Cut CI Compute Cost by 39.3% and Shortened Pipeline Time by 15.8%

Blog post from Semaphore

Post Details
Company
Date Published
Author
Christian Gómez Alonso
Word Count
1,513
Company Posts That Month
8
Language
English
Hacker News Points
-
Post removed?
No
Summary

Lawmatics, in collaboration with Semaphore, successfully optimized their CI pipeline by reducing compute costs and improving efficiency without compromising developer feedback time. The optimization focused on re-evaluating the machine class used for the most expensive part of the pipeline, which was the browser-test section. Initially, Lawmatics had used f1-standard-4 machines for 16 parallel jobs, but after analysis, they shifted to the more cost-effective f1-standard-2 machines, maintaining parallelism and adding a 2 GB swap file to address potential memory issues. This change, along with other strategic adjustments like increasing parallelism to 20 jobs and optimizing test ordering, resulted in a 39.3% reduction in average application compute cost per pipeline and a 15.8% decrease in active pipeline duration. Semaphore's expertise in runner sizing and cost modeling, combined with Lawmatics' deep understanding of their application, allowed for targeted changes that increased efficiency and reduced costs. The result was a faster and cheaper pipeline, with a 17.5% increase in passed tests and a significant reduction in the duration of the longest browser-test jobs, demonstrating the effectiveness of a strategic, data-driven approach to CI optimization.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.