mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2026-03-01 04:28:51 +00:00
Profiling/improving our tests #871
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#871
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 @roman-khimov on GitHub (Mar 1, 2022).
We've got a lot of tests which is very good except they take a heck lot of time to run. There were some optimizations already done previously (most notably in #2001), but it's time to make another round. First of all, the most resource-demanding tests need to be identified and then we'll think on whether and how they can be improved.
@fyrchik commented on GitHub (Mar 2, 2022):
Packages where tests take more than 5 seconds (on my machine):
TestUT, most of the time spent inexecute.@roman-khimov commented on GitHub (Jun 9, 2022):
It can be split into subpackages which can then be run in parallel (the effect was seen in #1472 already).
My current list is:
@roman-khimov commented on GitHub (Oct 5, 2022):
Argh.
@roman-khimov commented on GitHub (Dec 6, 2022):
Block verification can be disabled in most of tests to remove some crypto overhead.
@fyfyrchik commented on GitHub (Dec 15, 2023):
Btw, I have recently stumbled upon https://github.com/gotestyourself/gotestsum which is quite useful