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

form-dev / form / 26817518499
63%

Build:
DEFAULT BRANCH: master
Ran 02 Jun 2026 11:55AM UTC
Jobs 12
Files 66
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

02 Jun 2026 11:44AM UTC coverage: 61.516% (+0.08%) from 61.438%
26817518499

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>

60 of 64 new or added lines in 1 file covered. (93.75%)

50887 of 82721 relevant lines covered (61.52%)

5613067.74 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
81.27
2.18% sources/threads.c
Jobs
ID Job ID Ran Files Coverage
1 vorm (extra) (flint - no) - 26817518499.1 02 Jun 2026 11:56AM UTC 62
29.75
GitHub Action Run
2 tvorm -w2 (extra) (flint - no) - 26817518499.2 02 Jun 2026 11:56AM UTC 63
30.67
GitHub Action Run
3 tvorm -w2 (default) - 26817518499.3 02 Jun 2026 11:55AM UTC 66
57.95
GitHub Action Run
4 tvorm (extra) - 26817518499.4 02 Jun 2026 11:57AM UTC 66
29.36
GitHub Action Run
5 tvorm (default) - 26817518499.5 02 Jun 2026 11:56AM UTC 66
58.19
GitHub Action Run
6 vorm (extra) - 26817518499.6 02 Jun 2026 11:56AM UTC 65
28.15
GitHub Action Run
7 tvorm (default) (flint - no) - 26817518499.7 02 Jun 2026 11:56AM UTC 63
57.9
GitHub Action Run
8 tvorm -w2 (default) (flint - no) - 26817518499.8 02 Jun 2026 11:58AM UTC 63
57.68
GitHub Action Run
9 tvorm (extra) (flint - no) - 26817518499.9 02 Jun 2026 11:57AM UTC 63
30.91
GitHub Action Run
10 vorm (default) - 26817518499.10 02 Jun 2026 11:57AM UTC 65
57.8
GitHub Action Run
11 tvorm -w2 (extra) - 26817518499.11 02 Jun 2026 11:56AM UTC 66
29.14
GitHub Action Run
12 vorm (default) (flint - no) - 26817518499.12 02 Jun 2026 11:56AM UTC 62
57.5
GitHub Action Run
Source Files on build 26817518499
  • Tree
  • List 66
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26817518499
  • c26c0568 on github
  • Prev Build on master (#26097422310)
  • Next Build on master (#26817611698)
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