• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / storage / 35241739237
83%

Build:
DEFAULT BRANCH: master
Ran 17 Sep 2026 03:41PM UTC
Jobs 7
Files 314
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Sep 2026 03:40PM UTC coverage: 83.178% (-0.007%) from 83.185%
35241739237

push

github

web-flow
perf: avoid closure allocation in splitCacheControlDirectives (#1405)

## What kind of change does this PR introduce?

Perf

## What is the current behavior?

Uses closure for DRY-er code at the cost of some performance

## What is the new behavior?

Duplicate code and perform operation inline to optimize hot path

## Benchmark

| Case | Closure (ms) | Inline (ms) | Speedup |
|---|---:|---:|---:|
| `no-cache` | 62.3 | 16.8 | 3.72x |
| `max-age=3600` | 68.3 | 25.1 | 2.72x |
| `public, max-age=3600` | 89.3 | 43.2 | 2.07x |
| Full Storage output (`public, max-age, stale-while-revalidate,
stale-if-error`) | 203.5 | 141.0 | 1.44x |
| Object cache-control + etag revalidation nudge (`must-revalidate`) |
129.6 | 79.6 | 1.63x |
| One quoted segment with embedded commas | 138.4 | 89.2 | 1.55x |
| 100 short comma-separated directives | 1628.9 | 1444.2 | 1.13x |
| 5,000 short comma-separated directives | 788.6 | 754.0 | 1.05x |
| 100 independent quoted segments | 3574.6 | 3421.3 | 1.04x |
| Long unquoted value, no commas (10,000 chars) | 676.1 | 632.2 | 1.07x
|
| Long unquoted value, no commas (200,000 chars) | 504.6 | 441.1 | 1.14x
|
| Long quoted value with many escapes (50,000 pairs) | 169.3 | 161.3 |
1.05x |

6762 of 8660 branches covered (78.08%)

Branch coverage included in aggregate %.

7 of 7 new or added lines in 1 file covered. (100.0%)

2 existing lines in 1 file now uncovered.

12225 of 14167 relevant lines covered (86.29%)

3056.25 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
78.78
-0.82% src/storage/protocols/tus/s3-locker.ts
Jobs
ID Job ID Ran Files Coverage
1 rest-pg16 - 35241739237.1 17 Sep 2026 03:45PM UTC 295
61.47
GitHub Action Run
2 rest-pg14 - 35241739237.2 17 Sep 2026 03:44PM UTC 295
61.39
GitHub Action Run
3 rest-pg18 - 35241739237.3 17 Sep 2026 03:44PM UTC 295
61.39
GitHub Action Run
4 rest-pg13 - 35241739237.4 17 Sep 2026 03:44PM UTC 295
61.39
GitHub Action Run
5 rest-pg15 - 35241739237.5 17 Sep 2026 03:44PM UTC 295
61.39
GitHub Action Run
6 rest-pg17 - 35241739237.6 17 Sep 2026 03:44PM UTC 295
61.39
GitHub Action Run
7 unit - 35241739237.7 17 Sep 2026 03:41PM UTC 308
61.43
GitHub Action Run
Source Files on build 35241739237
  • Tree
  • List 314
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #35241739237
  • 9473b24d on github
  • Prev Build on master (#35236575468)
  • Next Build on master (#35250631636)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc