mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2026-03-01 04:28:51 +00:00
Optimize per-executor neotest coverage collection #1351
Labels
No labels
I1
I2
I3
I4
S1
S2
S3
S4
U0
U1
U2
U3
U3
U4
blocked
bug
bug
cli
compiler
config
config
consensus
dependencies
discussion
documentation
enhancement
epic
feature
go
good first issue
help wanted
neotest
network
oracle
performance
question
rpc
security
smartcontract
task
task
task
test
vm
wallet
windows
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neo-go#1351
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AnnaShaleva on GitHub (Aug 16, 2024).
Is your feature request related to a problem? Please describe.
#3462 enables neotest coverage, but it may be optimized. Currently covered OPs are stored in a global mutex-protected package-level variable and every Executor modifies it on every VM instruction handling. It slows our tests down if tests are running in parallel.
Describe the solution you'd like
Implement https://github.com/nspcc-dev/neo-go/pull/3462#discussion_r1718516293.
Describe alternatives you've considered
No alternatives, the proposed solution fits perfectly.
@roman-khimov commented on GitHub (Aug 18, 2024):
Makes sense.
@cthulhu-rider commented on GitHub (Nov 27, 2025):
hits hard with the growth of tests in NeoFS contract repo:
330.782sat some point (pretty long itself) https://github.com/nspcc-dev/neofs-contract/actions/runs/19504140965/job/55825690985486.712shttps://github.com/nspcc-dev/neofs-contract/actions/runs/19573736994/job/5605341865610mhttps://github.com/nspcc-dev/neofs-contract/actions/runs/19702909682/job/56443274046#step:4:8623by increasing timeout to
20m, test almost reached12mhttps://github.com/nspcc-dev/neofs-contract/actions/runs/19733726508/job/56540580452?pr=549