ouroboros-network icon indicating copy to clipboard operation
ouroboros-network copied to clipboard

Implement a benchmark for the ledger operations

Open dnadales opened this issue 3 years ago • 1 comments

As a preliminary step toward identifying the node's performance bottlenecks, we should elaborate a benchmark that measures the time the ledger operations consume while applying blocks in the mainnet chain. These operations are:

  • forecasting
  • header ticking
  • header application
  • block ticking
  • blocks application

Use the db-analyser to create a new type of analysis that measures the time these operations take. Use the output of these measurements to write a script that plots the results.

dnadales avatar Oct 03 '22 12:10 dnadales

@nfrisby did the bulk of the implementation in https://github.com/input-output-hk/ouroboros-network/pull/4014. We need to drive this home, and a possible way of doing this is proposed in this comment.

dnadales avatar Oct 03 '22 12:10 dnadales