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

apache / commons-lang / 395 / 1
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 06 Jul 2016 07:48AM UTC
Files 224
Run time 12s
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

06 Jul 2016 07:40AM UTC coverage: 93.418% (-0.01%) from 93.428%
395.1

Pull #169

travis-ci

web-flow
LANG-1248 FastDatePrinter Memory allocation regression

When the code was migrated from StringBuffer to Appendable in LANG-1152.
We've lost the ability to modify the buffer (setCharAt) 
The new implementation of appendFullDigits allocate a temporary char
array to work around that limitation.
This is a major source of memory allocation which is not present in
version 3.4.
Test case : 
Single fastdateformat instance
100000 format of long 
pattern : yyyy-MM-dd'T'HH:mm:ss.SSSZ
lang 3.4 : ~30 MB allocated
lang 3.5-snapshot : ~40 MB allocated
-> ~9.3 MB are coming from appendFullDigits called from
PaddedNumberField

This commit add a fast path for 1 to 4 digits which avoid the memory
allocation from the temporary work array.
Pull Request #169: LANG-1248 FastDatePrinter Memory allocation regression

13454 of 14402 relevant lines covered (93.42%)

22519.95 hits per line

Source Files on job 395.1
  • Tree
  • List 0
  • Changed 41
  • Source Changed 1
  • Coverage Changed 41
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 395
  • Travis Job 395.1
  • bd7694db on github
  • Prev Job for on master (#394.1)
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