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

Neptune-Crypto / neptune-core / 18009448670
75%

Build:
DEFAULT BRANCH: master
Ran 25 Sep 2025 02:41PM UTC
Jobs 1
Files 240
Run time 1min
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

25 Sep 2025 01:41PM UTC coverage: 73.612% (-0.02%) from 73.634%
18009448670

push

github

Sword-Smith
perf(archival_mutator_set): use batch-removal method to update archival mutator set

Instead of looping over all removal records, and keeping each one up to
date, while applying each removal record individually, we use the (newly
fixed) `ArchivalMutatorSet::batch_remove` which doesn't bother with
updating the MMR authentication paths of each applied removal record but
rather just looks at the chunks and applies all removal records while
keeping the rest of the data structure consistent.

Huge speed increase! 2.9x overall in our most central state-related
method `GlobalState::set_new_tip` (when applying two blocks, first with
1 input, 1000 outputs; second with 1000 inputs, 2000 outputs). So the
speed increase of this individual step in archival mutator set is likely
much more than the overall 2.9x speedup, since the new benchmark only
measures the total time spent in `set_new_tip`.

Prior to this commit:
set_new_tip                        fastest       │ slowest       │ median        │ mean          │ samples │ iters
╰─ set_new_tip                                   │               │               │               │         │
   ╰─ set_new_tip                  9.681 s       │ 10.82 s       │ 10.58 s       │ 10.45 s       │ 10      │ 10

Now:
set_new_tip                        fastest       │ slowest       │ median        │ mean          │ samples │ iters
╰─ set_new_tip                                   │               │               │               │         │
   ╰─ set_new_tip                  2.734 s       │ 3.939 s       │ 3.698 s       │ 3.577 s       │ 10      │ 10

This closes #684.

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

517 existing lines in 16 files now uncovered.

24858 of 33769 relevant lines covered (73.61%)

662755.78 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
98.69
-0.33% neptune-core/src/protocol/consensus/type_scripts/time_lock.rs
2
84.62
-2.56% neptune-core/src/state/mempool/upgrade_priority.rs
2
96.33
0.0% neptune-core/src/util_types/mutator_set/removal_record/chunk_dictionary.rs
3
71.91
-3.37% neptune-core/src/application/config/triton_vm_env_vars.rs
7
0.0
0.0% neptune-core/src/application/rpc/server/mempool_transaction_info.rs
7
93.9
0.0% neptune-core/src/util_types/mutator_set/removal_record/chunk.rs
10
86.08
-5.06% neptune-core/src/application/job_queue/queue.rs
23
90.94
0.22% neptune-core/src/util_types/mutator_set/archival_mutator_set.rs
36
0.0
0.0% neptune-dashboard/src/receive_screen.rs
37
0.0
0.0% neptune-dashboard/src/mempool_screen.rs
47
0.0
0.0% neptune-dashboard/src/history_screen.rs
48
0.0
0.0% neptune-dashboard/src/address_screen.rs
55
0.0
0.0% neptune-dashboard/src/overview_screen.rs
71
0.0
0.0% neptune-dashboard/src/peers_screen.rs
76
0.0
0.0% neptune-dashboard/src/send_screen.rs
92
0.0
0.0% neptune-dashboard/src/dashboard_app.rs
Jobs
ID Job ID Ran Files Coverage
1 18009448670.1 25 Sep 2025 02:41PM UTC 240
73.61
GitHub Action Run
Source Files on build 18009448670
  • Tree
  • List 240
  • Changed 21
  • Source Changed 15
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18009448670
  • 105969b6 on github
  • Prev Build on master (#17975943871)
  • Next Build on master (#18009904388)
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