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

modflowpy / flopy / 151
73%

Build:
DEFAULT BRANCH: develop
Ran 18 Aug 2020 08:42PM UTC
Jobs 5
Files 202
Run time 2min
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

pending completion
151

push

travis-ci-com

web-flow
perf(util_array.util2d): write_txt string += performance slow for large arrays (#964)

Writing large arrays (like JA in a disu file) using package_object.write_file() is
too slow (hours for a JA of size ~10M). Experimentation suggests the bottleneck is
in utils/util_array.py() in function array2string, which uses the string += "more"
and string = string + "more" methods, which scale badly with size.
Implement solution: Change string += loop to "".join(iterable) method.

Co-authored-by: Mike Taves <mwtoews@gmail.com>

Fixes #961

3 of 3 new or added lines in 1 file covered. (100.0%)

35517 of 48772 relevant lines covered (72.82%)

3.06 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
flopy/mbase.py
27
100.0
flopy/utils/util_array.py
Jobs
ID Job ID Ran Files Coverage
1 151.1 (PYTHONPATH=$PYTHONPATH:. RUN_TYPE=misc) 18 Aug 2020 08:42PM UTC 0
14.85
Travis Job 151.1
2 151.2 (PYTHONPATH=$PYTHONPATH:. RUN_TYPE=test) 18 Aug 2020 08:43PM UTC 0
72.77
Travis Job 151.2
3 151.3 (PYTHONPATH=$PYTHONPATH:. RUN_TYPE=test) 18 Aug 2020 08:44PM UTC 0
72.77
Travis Job 151.3
4 151.4 (PYTHONPATH=$PYTHONPATH:. RUN_TYPE=test) 18 Aug 2020 08:43PM UTC 0
72.77
Travis Job 151.4
5 151.5 (PYTHONPATH=$PYTHONPATH:. RUN_TYPE=test) 18 Aug 2020 08:43PM UTC 0
73.03
Travis Job 151.5
Source Files on build 151
  • Tree
  • List 202
  • Changed 119
  • Source Changed 0
  • Coverage Changed 119
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #151
  • 7bdc399d on github
  • Prev Build on develop (#2601)
  • Next Build on develop (#154)
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