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

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

Build:
DEFAULT BRANCH: master
Ran 06 Jul 2016 07:48AM UTC
Files 224
Run time 10s
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.381% (-0.004%) from 93.385%
395.2

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

13474 of 14429 relevant lines covered (93.38%)

22598.0 hits per line

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