벤치마크 추가
벤치마크 프레임워크를 사용하여 팔렛의 실행 요구 사항을 추정하는 방법을 보여줍니다.
팔렛에 벤치마크 추가
frame-benchmarking = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "polkadot-v1.0.0", optional = true }[features] runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]std = [ ... "frame-benchmarking/std", ... ]
벤치마크 모듈 추가
벤치마크 테스트
런타임에 벤치마크 추가
벤치마크 실행
예제
Last updated