{"id":19162617,"url":"https://github.com/salmandabbakuti/hlf-benchmarking","last_synced_at":"2026-06-24T09:34:27.146Z","repository":{"id":99904807,"uuid":"264089859","full_name":"Salmandabbakuti/hlf-benchmarking","owner":"Salmandabbakuti","description":"Hyperledger fabric network benchmarking with caliper","archived":false,"fork":false,"pushed_at":"2020-05-15T14:34:43.000Z","size":4122,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-03T21:39:28.728Z","etag":null,"topics":["benchmark-configurations","benchmark-framework","blockchain-technology","caliper","chaincode-sdk-nodejs","hyperledger","hyperledger-fabric"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Salmandabbakuti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-15T03:49:28.000Z","updated_at":"2022-02-09T16:00:32.000Z","dependencies_parsed_at":"2023-05-11T00:00:12.815Z","dependency_job_id":null,"html_url":"https://github.com/Salmandabbakuti/hlf-benchmarking","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Salmandabbakuti%2Fhlf-benchmarking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Salmandabbakuti%2Fhlf-benchmarking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Salmandabbakuti%2Fhlf-benchmarking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Salmandabbakuti%2Fhlf-benchmarking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Salmandabbakuti","download_url":"https://codeload.github.com/Salmandabbakuti/hlf-benchmarking/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240245902,"owners_count":19771029,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["benchmark-configurations","benchmark-framework","blockchain-technology","caliper","chaincode-sdk-nodejs","hyperledger","hyperledger-fabric"],"created_at":"2024-11-09T09:12:21.771Z","updated_at":"2026-06-17T09:30:16.415Z","avatar_url":"https://github.com/Salmandabbakuti.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hlf-benchmarking\nHyperledger fabric network benchmarking with caliper.\n\n\u003e Note: Make sure your network is up and running.\n\n#### Setup\n###### 1. Network configuration:\n- Inorder to benchmark your network, caliper should be connected with your running network. So we need to define our network(peers,orderers and their endpoints, channels, chancodes).\n- Place your network's ```crypto-config``` directory into ```./caliper/networks/basic-network/``` directory.\n- Sample network configuration file can be found in ```./caliper/networks/basic-network/network-config.yaml```\n\u003eNote: If you're network has tls enabled, you should also define tlscerts in ```network-config.yaml```\n\n###### 2. Benchmarking Configuration:\n- Once caliper succesfully connected to your network, it will look for the benchamark configuration file to execute transactions. so we need to define what chaincode functions to be executed and number of rounds, no.of transactions in a round etc. to check the performance of your network efficiently.\n- Sample benchmark config file can be found in ```./caliper/benchmarks/mycc/```\n\n###### 3. Mounting Network and benchmark configurations to caliper container\n```\nservices:\n  caliper:\n    container_name: caliper\n    image: hyperledger/caliper:0.3.0\n    command: launch master\n    environment:\n      - CALIPER_BIND_SUT=fabric:1.4.4\n      - CALIPER_BENCHCONFIG=benchmarks/mycc/config.yaml\n      - CALIPER_NETWORKCONFIG=networks/basic-network/network-config.yaml\n    volumes:\n      - ./caliper:/hyperledger/caliper/workspace\n    network_mode: host\n    ```\n    \n\n```\n###### 4. Starting Tests\n\n```\ndocker-compose -f docker-compose-caliper.yaml up -d\n\ndocker-logs -f caliper # observe logs of caliper. it would take a while to finish based on your network and your pc.\n```\n\n###### 5. Report\n\n- Once benchmarking is completed, Your network report will be generated in ```./caliper``` directory as ```report.html```. open it in your browser and check your fabric network performance.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalmandabbakuti%2Fhlf-benchmarking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalmandabbakuti%2Fhlf-benchmarking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalmandabbakuti%2Fhlf-benchmarking/lists"}