---
title: "curl performance"
url: https://daily.dev/posts/curl-performance-7nwvdvse5
source_url: https://daniel.haxx.se/blog/2026/08/14/curl-performance-2
type: article
source: "daniel.haxx.se"
published: 2026-08-14T11:22:53.462Z
updated: 2026-08-14T11:23:17.739Z
tags: ["open-source", "curl"]
reading_time: 9
upvotes: 24
comments: 1
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# curl performance

**[daniel.haxx.se](https://daily.dev/sources/danielhaxxse)** · 9 min read · 24 upvotes · 1 comments

## Summary

Daniel Stenberg describes building a new performance testing system for curl from scratch, after years of shelving the idea. Running on his own local development machine (to avoid noisy cloud infrastructure), a shell script pulls the latest git source, builds curl, and runs 24 tests every twenty minutes via crontab, logging results and generating gnuplot graphs. Results are automatically published live at curl.se/perf. The setup already surfaced regressions within hours of going live, prompting quick fixes from curl developers. New concepts introduced include 'stakes' (manually set thresholds to flag regressions), box-and-whisker plots for distribution, LTTB downsampling for long-term graphs, and the Mann-Kendall Test + Sen's Slope for trend detection. The code lives in a new curl/perf GitHub repository, and Stenberg is inviting contributions.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://daniel.haxx.se/blog/2026/08/14/curl-performance-2>

## Questions this post answers

### How does curl detect performance regressions in its codebase over time?

Curl runs a new performance test suite roughly every twenty minutes via crontab, building from the latest git commits on a dedicated development machine and running 24 tests that take about six minutes total. Results feed a live public dashboard at curl.se/perf using gnuplot graphs, box-and-whisker plots for distribution, and manually set thresholds called 'stakes' to flag when a merge degrades performance.

_daily.dev surfaces engineering writeups like this for teams building their own regression-detection pipelines._

### What algorithm can I use to downsample time series data for long-term performance graphs?

Largest-Triangle-Three-Buckets (LTTB) is an algorithm for downsampling a full range of data points into a smaller set that remains visually representative on a graph. Curl's performance dashboard uses LTTB to generate separate 'long term' graphs once the number of build data points grows too large to display conveniently in a single short-term chart.

_developers tuning dashboards and telemetry pipelines can find similar data-visualization techniques on daily.dev._

### What statistical test can detect gradual performance trends across many builds?

The Mann-Kendall Test combined with Sen's Slope is used to identify trends in noisy time-series data, such as performance measurements across hundreds of software builds. It can be applied to spot a slow, gradual degradation or improvement that individual data points wouldn't reveal, complementing manually set threshold markers for catching sudden regressions.

_daily.dev helps engineers tracking build performance discover trend-detection techniques like this one._

## Community discussion

Top comments from developers on daily.dev.

**@agustinbarrientos** · 1 upvotes

> The graph needs to mark compiler and test-machine changes. A new toolchain can look like a curl regression.

## Similar posts on daily.dev

- [One hundred curl graphs](https://daily.dev/posts/one-hundred-curl-graphs-qzmnf5wex) · daniel.haxx.se · 2 upvotes · 0 comments
- [The challenge of maintaining curl](https://daily.dev/posts/the-challenge-of-maintaining-curl-lydsx01wj) · Hacker News · 2 upvotes · 0 comments
- [10K curl downloads per year](https://daily.dev/posts/10k-curl-downloads-per-year-tewsnuld1) · daniel.haxx.se · 3 upvotes · 0 comments

---

Tags: [#open-source](https://daily.dev/tags/open-source), [#curl](https://daily.dev/tags/curl)

[View this post on daily.dev](https://daily.dev/posts/curl-performance-7nwvdvse5)
