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

aiidateam / aiida_core / 6219 / 8
74%
develop: 74%

Build:
DEFAULT BRANCH: develop
Ran 29 May 2019 09:22PM UTC
Files 387
Run time 19s
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

29 May 2019 08:40PM UTC coverage: 69.301% (-0.07%) from 69.368%
TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests"

push

travis-ci

web-flow
<a href="https://github.com/aiidateam/aiida_core/commit/<a class=hub.com/aiidateam/aiida_core/commit/6da891fee53ca6aaaf95930d038d9a29d339f7df">6da891fee<a href="https://github.com/aiidateam/aiida_core/commit/6da891fee53ca6aaaf95930d038d9a29d339f7df">&quot;&gt;Improve the efficiency of `DbLog` migration for Django (#2949)

The old implementation was using Django&amp;#39;s ORM to get the count and rows
of certain rows in the `DbLog` table. However, this was generating
extremely inefficient queries that made the migration run for days on
big databases. A similar problem was encountered with the original
SqlAlchemy implementation. That was solved in an earlier commit
`</a><a class="double-link" href="https://github.com/aiidateam/aiida_core/commit/<a class="double-link" href="https://github.com/aiidateam/aiida_core/commit/80a0aa9117f399a5385a30ba0ce3e2afc7016a4e">80a0aa911</a>">80a0aa911</a><a href="https://github.com/aiidateam/aiida_core/commit/6da891fee53ca6aaaf95930d038d9a29d339f7df">`, which created a more
efficient query. We now replace the Django ORM solution with the same
custom SQL query as used for SqlAlchemy. This should significantly
improve the efficiency of this migration.

22586 of 32591 relevant lines covered (69.3%)

0.69 hits per line

Source Files on job 6219.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 22
  • Source Changed 0
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1880
  • Travis Job 6219.8
  • 6da891fe on github
  • Prev Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#6216.7)
  • Next Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#6222.7)
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