2.0.0-alpha.2 • Published 2 months ago
@hyperledger/cactus-test-verifier-client v2.0.0-alpha.2
@hyperledger/cactus-test-verifier-client
Usage
Stress test
- Used for manual leak analysis.
- The test will execute with exposed GC and disabled optimizations.
- Results will be written to
./integration-with-verifier-client-stress.log
for further analysis (in thecwd
where you execute the command). Columns (in order):rss
heapTotal
heapUsed
external
arrayBuffers
- Report lines:
- Initial memory usage (before running the tests).
- Usage after running the stress test.
- Usage after freeing the verifier client.
- You can uncomment the
checkMemory
call in test file for more step-by-step report, but it will make the test run longer. - To investigate with the node debugger use
stress-test-inspect
script.
# Make sure the build was successful before executing these commands.
# Execute stress test
yarn run stress-test
# Execute stress test with debugger inspect break
yarn run stress-test-inspect
FAQ
What is a dedicated test package for?
This is a dedicated test package meaning that it verifies the integration between two packages that are somehow dependent on each other and therefore these tests cannot be added properly in the child package due to circular dependency issues and it would not be fitting to add it in the parent because the child package's tests should not be held by the parent as a matter of principle.
2.0.0-2945-supply-chain-app-build-failed.241
2 months ago
2.0.0-main.214
3 months ago
2.0.0-lfx-connector.208
3 months ago
2.0.0-dev.196
3 months ago
2.0.0-dev.197
3 months ago
2.0.0-dev.195
3 months ago
2.0.0-lfx-connector.164
4 months ago
2.0.0-lfx-connector.163
4 months ago
2.0.0-main.159
4 months ago
2.0.0-main.91
6 months ago
2.0.0-dev.94
6 months ago
2.0.0-dev.93
6 months ago
2.0.0-alpha.2
7 months ago
2.0.0-alpha.1
8 months ago