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

mochi-mqtt / server / 7294210300
99%

Build:
DEFAULT BRANCH: main
Ran 21 Dec 2023 11:24PM UTC
Jobs 1
Files 28
Run time 3s
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

21 Dec 2023 11:23PM UTC coverage: 98.785% (-0.04%) from 98.827%
7294210300

push

github

web-flow
Packet encoding optimization (#343)

* Dynamically allocate buffer for writes if needed

* Remove unused net.Buffer

* Return bytes written to buffer instead of conn

* Dynamic write buffer

* Reduce double write of pk.Payload

* Use memory pool for packet encode

* Pool doesn't guarantee value between Put and Get

* Add benchmark for bufpool

* Fix issue #346

* Change default pool not to have size cap

---------

Co-authored-by: JB <28275108+mochi-co@users.noreply.github.com>

77 of 80 new or added lines in 2 files covered. (96.25%)

5527 of 5595 relevant lines covered (98.78%)

65.4 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
90.63
mempool/bufpool.go
Jobs
ID Job ID Ran Files Coverage
1 7294210300.1 21 Dec 2023 11:24PM UTC 28
98.78
GitHub Action Run
Source Files on build 7294210300
  • Tree
  • List 28
  • Changed 7
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c6c7c296 on github
  • Prev Build on main (#7294141625)
  • Next Build on main (#7294413132)
  • 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

© 2025 Coveralls, Inc