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

form-dev / form / 26817518499 / 11
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 02 Jun 2026 12:15PM UTC
Files 66
Run time 4s
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

02 Jun 2026 11:44AM UTC coverage: 29.144% (+0.06%) from 29.085%
26817518499.11

push

github

jodavies
perf: improve parallelism of SortBotMerge

Currently, the sortbot stage of tform sorting does not achieve good
parallelism. Primarily, this is because the "sortblock" size has
grown with default SmallSize and LargeSize adjustments, such that in
many cases the sortbot levels do not run in parallel at all, because
each thread's output fits in a single block.

This commit adjusts the logic for filling and unlocking the blocks
such that sortbot threads can start work as soon as possible:
 - Only put complete terms into the blocks, no splitting over the blocks.
 - Track the number of terms in each block, and use this when reading
   the data to determine when a block is complete, rather than waiting
   for a term to overlap the "stop" pointer.
 - When filling blocks (in PutToMaster), if a certain (small) minimum
   number of terms has been written, probe if a reading thread is waiting
   on the current block by attempting to lock the previous block. If a
   thread is waiting (so the lock fails), unlock the current block
   immediately and write the term into the next.

Also reduce the MINIMUMNUMBEROFTERMS parameter from 10 to 1, so that
the small+large buffer does not scale (so much) with large MaxTermSize
and many threads, and similarly reduce NUMBEROFBLOCKSINSORT to its minimal
value of 8.

Co-authored-by: AnaIPereira <AnaIPereira@users.noreply.github.com>

24157 of 82889 relevant lines covered (29.14%)

559610.92 hits per line

Source Files on job tvorm -w2 (extra) - 26817518499.11
  • Tree
  • List 66
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26817518499
  • c26c0568 on github
  • Prev Job for on master (#26097422310.3)
  • Next Job for on master (#26817611698.5)
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