bitshares / bitshares-core

BitShares Blockchain node and command-line wallet
https://bitshares.github.io/
Other
1.17k stars 646 forks source link

Not able to perform testing #1298

Closed sachushaji closed 6 years ago

sachushaji commented 6 years ago

Bug Description I was trying to test the performance testing for the implementation , but i am not able to test its performance. I followed the steps specified in the documentation but didn't gave any results.

Impacts Not able to confirm whether the implementation achieves the specified transaction rates.

Steps To Reproduce 1.Successfully built dependencies and was able to launch the witness node. 2.Followed the steps specified in the testing document and was not able to launch the witness node. 3.Entered into the directory /programs/witness_node and executed the command.Tried out specific tests as mentioned in the document and got error.

Screenshots screenshot from 2018-08-30 18-28-04 screenshot from 2018-08-30 18-28-09 screenshot from 2018-08-30 18-30-23 screenshot from 2018-08-30 18-33-01 screenshot from 2018-08-30 18-48-00

abitmore commented 6 years ago
  1. The witness_node binary is inside programs/witness_node, you executed cd .. that's why you can't find it.
  2. We have tests/chain_test but not tests/chain_tests.
  3. I guess performance_test is outdated even if it still exists. The doc is somehow outdated as well.
sachushaji commented 6 years ago

Then how can i check the througput? What tests should i follow?

abitmore commented 6 years ago

Then how can i check the throughput?

Good question. I don't have an answer. Perhaps others can help.

Perhaps run:

make performance_test
tests/performance_test
ryanRfox commented 6 years ago

@sachushaji from the screen shots it seems you were able to get witness_node running and syncing toward 30M blocks. May I understand your intended test(s)? If it's related to transaction throughput, you may reference the stress test performed on the TESTNET in 2017: http://bitshares.kaufen/wp-content/uploads/docs/bitshares-stresstest.pdf

sachushaji commented 6 years ago

Hi @ryanRfox. I wanted to test it at my local machine to check whether it reaches the specified throughput level and verifiy it myself. Most of the popular projects enables this by specifying standard testing codes so as to verify the throughput, but I couldn't find any here. Can you shed some light into this issue?

abitmore commented 6 years ago

@sachushaji IMHO so-called standard testing code is more for testing performance of running hardware but not the software.

sachushaji commented 6 years ago

I also want the same thing..with minimal hatdware spec whats the throughput and latency the network can achieve.

@abitmore : without generating blocks?

Sigcheck_benchmark is for private testnet throughput?

sachushaji commented 6 years ago

@abitmore I tried to run the performance tests as you mentioned but it gets an error screenshot from 2018-08-31 12-54-33

abitmore commented 6 years ago

@sachushaji As I said that commented out test code doesn't make sense. If you want to try it, best if you can try to fix it by yourself and tell us the result of the test and submit a pull request. Thanks.

sachushaji commented 6 years ago

@abitmore okay, will try

ryanRfox commented 6 years ago

@pmconrad Did you post your 100k benchmark demo from your BitFest talk? Perhaps that will assist @sachushaji

pmconrad commented 6 years ago

See #1337

abitmore commented 6 years ago

Fixed by #1337.