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

cybertec-postgresql / pgwatch / 15399233432
74%

Build:
DEFAULT BRANCH: master
Ran 02 Jun 2025 05:56PM UTC
Jobs 1
Files 43
Run time 111202min
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

02 Jun 2025 05:54PM UTC coverage: 60.341% (+1.1%) from 59.267%
15399233432

push

github

web-flow
[!] optimize `PostgresWriter.flush()` with custom `CopyFrom` iterator (#777)

Optimize `PostgresWriter.flush()` for better performance. It avoids
per-row JSON marshaling overhead.
Introduced `copyFromMeasurements` to batch process
`MeasurementEnvelopes` efficiently, grouping by metric and writing
directly to PostgreSQL using a streaming approach.
New approach reduces memory allocations and temporary objects, speeds up
`flush()` with lower GC pressure.

55 of 90 new or added lines in 2 files covered. (61.11%)

3 existing lines in 1 file now uncovered.

2658 of 4405 relevant lines covered (60.34%)

0.69 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
13
0.0
0.0% internal/reaper/reaper.go
22
40.5
12.38% internal/sinks/postgres.go

Uncovered Existing Lines

Lines Coverage ∆ File
3
40.5
12.38% internal/sinks/postgres.go
Jobs
ID Job ID Ran Files Coverage
1 15399233432.1 02 Jun 2025 05:56PM UTC 43
60.34
GitHub Action Run
Source Files on build 15399233432
  • Tree
  • List 43
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15399233432
  • 1494a16a on github
  • Prev Build on master (#15398199345)
  • Next Build on master (#15414722580)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc