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

apache / incubator-apisix / 3821 / 2
47%
master: 47%

Build:
DEFAULT BRANCH: master
Ran 07 Jun 2020 04:12PM UTC
Files 85
Run time 6s
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

07 Jun 2020 03:57PM UTC coverage: 47.62%. Remained the same
OSNAME=osx_openresty

push

travis-ci

web-flow
[log] Optimize the buffer size and flush time (#1570)

* yousali:<log>Optimize the buffer size and flush time

1. buffer=4096 is better for Writes of more than PIPE_BUF bytes may be nonatomic
2. flush=1. Since the log buffer is lowered, the flush time should also be lowered.

* yousali:<fix>

hi, I also made a test.

```
4096  Requests/sec:  16079.75
8192 Requests/sec:  16389.52
16384 Requests/sec:  16395.30
32768 Requests/sec:  16459.71
```
I think a log buffer size of 8192 or 16384 would be appropriate.

On the other hand, the refresh time of 3 seconds is still relatively long, and 1 or 3 seconds doesn't particularly affect QPS.

So I also agree with `buffer=16384 flush=1; `

3141 of 6596 relevant lines covered (47.62%)

202.29 hits per line

Source Files on job 3821.2 (OSNAME=osx_openresty)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 948
  • Travis Job 3821.2
  • f61b7036 on github
  • Prev Job for OSNAME=osx_openresty on master (#3812.2)
  • Next Job for OSNAME=osx_openresty on master (#3823.2)
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