Skip to content
Snippets Groups Projects
  1. Oct 28, 2020
    • thiolliere's avatar
      Fix benchmarks template whitespaces (#7447) · 16799198
      thiolliere authored
      
      * fix
      
      * actual fix
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_democracy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/democracy/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/system/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * Update frame/system/src/weights.rs
      
      Co-authored-by: default avatarParity Benchmarking Bot <admin@parity.io>
      Co-authored-by: default avatarShawn Tabrizi <shawntabrizi@gmail.com>
      16799198
  2. Oct 27, 2020
    • Shawn Tabrizi's avatar
      New Weight Template + Organization (#7391) · e4cfb255
      Shawn Tabrizi authored
      
      * add_handlebar_template_to_benchmark
      
      - add benchmark-cli arg to take in a handlebar-template file
      
      * update to always use template
      
      * rewrite writer for handlebars
      
      * polish
      
      * pass cmd data
      
      * update docs
      
      * new weight layout
      
      * separate templates
      
      * support custom filename output
      
      * Update command.rs
      
      * Create frame-weight-template.hbs
      
      * use a vector to maintain benchmark order
      
      * bring back ()
      
      * fix tests
      
      * fix build
      
      * Custom string serializer, remove feature flag
      
      * temp
      
      * rename
      
      * nit
      
      * update docs
      
      * docs on public objects
      
      * small fix
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_balances --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/balances/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * remove long line
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_balances --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/balances/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/system/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for system
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/staking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for staking
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_identity --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/identity/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for identity and staking
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_collective --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/collective/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for collective
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_democracy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/democracy/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for democracy
      
      * clean up zeros
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_elections_phragmen --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/elections-phragmen/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for elections phragmen
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_im_online --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/im-online/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for im online
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_indices --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/indices/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for indices
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_multisig --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/multisig/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for multisig
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_proxy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/proxy/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for proxy
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_scheduler --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/scheduler/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for scheduler
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_session --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/session/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for session
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_timestamp --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/timestamp/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for timestamp
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_treasury --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/treasury/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for treasury
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_utility --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/utility/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for utility
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_vesting --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/vesting/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update for vesting
      
      * temp update
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_utility --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/utility/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      Co-authored-by: default avatarEzadkiel Marbella <zadkiel.m@gmail.com>
      Co-authored-by: default avatarParity Benchmarking Bot <admin@parity.io>
      e4cfb255
    • Shawn Tabrizi's avatar
      Use Handlebars Template for Benchmark CLI Output (#7390) · 3ac070b6
      Shawn Tabrizi authored
      
      * add_handlebar_template_to_benchmark
      
      - add benchmark-cli arg to take in a handlebar-template file
      
      * update to always use template
      
      * rewrite writer for handlebars
      
      * polish
      
      * pass cmd data
      
      * update docs
      
      * support custom filename output
      
      * Update command.rs
      
      * Create frame-weight-template.hbs
      
      * use a vector to maintain benchmark order
      
      * fix tests
      
      * Custom string serializer, remove feature flag
      
      * update docs
      
      * docs on public objects
      
      * small fix
      
      Co-authored-by: default avatarEzadkiel Marbella <zadkiel.m@gmail.com>
      3ac070b6
  3. Oct 16, 2020
  4. Oct 05, 2020
    • Max Inden's avatar
      .maintain/monitoring: Add alert when continuous task ends (#7250) · 0ff724c9
      Max Inden authored
      * .maintain/monitoring: Add alert when continuous task ends
      
      Through the `polkadot_tasks_ended_total` Prometheus metric one can tell
      when a task ended. Use this metric to alert when specific
      known-to-be-continuous tasks end on a node.
      
      * .maintain/monitoring: Don't hard-code task names
      0ff724c9
  5. Sep 30, 2020
    • Max Inden's avatar
      .maintain/monitoring: Normalize alerting rules (#7232) · 51c0d27a
      Max Inden authored
      * .maintain/monitoring: Normalize alerting rules
      
      - Start alert names with their component and end with the describing
      adjective.
      
      - Describe alert duration in `message` with `for more than` across all
      alerts.
      
      * .maintain/monitoring: Fix alert tests
      51c0d27a
  6. Sep 24, 2020
  7. Sep 17, 2020
  8. Sep 15, 2020
  9. Sep 14, 2020
  10. Sep 08, 2020
  11. Aug 24, 2020
  12. Aug 13, 2020
  13. Aug 03, 2020
  14. Jul 27, 2020
  15. Jul 23, 2020
    • HarryHong's avatar
      [CI]Chaostest suite initiation (#5793) · 36e31208
      HarryHong authored
      
      * Initiate chaostest cli test suite: singlenodeheight on one dev node
          Added chaostest stages in CI
          Added new docker/k8s resources and environments to CI
          Added new chaos-only tag to gitlab-ci.yml
      
      * Update .maintain/chaostest/src/commands/singlenodeheight/index.js
      
      Co-authored-by: default avatarMax Inden <mail@max-inden.de>
      
      * change nameSpace to namespace(one word)
      
      * update chaos ci job to match template
      
      * rename build-pr ci stage to docker [chaos:basic]
      
      * test gitlab-ci [chaos:basic]
      
      * Update .gitlab-ci.yml
      
      * add new build-chaos-only condition
      
      * add *default-vars to singlenodeheight [chaos:basic]
      
      * change build-only to build-rules on substrate jobs [chaos:basic]
      
      * test and change when:on_success to when:always [chaos:basic]
      
      * resolve conflicts and test [chaos:basic]
      
      Co-authored-by: default avatarMax Inden <mail@max-inden.de>
      Co-authored-by: default avatarDenis Pisarev <denis.pisarev@parity.io>
      36e31208
  16. Jul 20, 2020
  17. Jul 17, 2020
    • Max Inden's avatar
      .maintain/monitoring/alerting-rules: Remove HighCPUUsage alert (#6648) · fe9c01fc
      Max Inden authored
      The `HighCPUUsage` alert is based on the `cpu_usage_percentage` metric.
      Instead of exposing the overall CPU usage in percent, the metric exposes
      the per core usage summed over all cores.
      
      This commit removes the alert for two reasons:
      
      1. Substrate itself does not expose the core count and thus one can not
      alert based on the `cpu_usage_percentage` metric.
      
      2. Alerting based on CPU usage is generic and not specific to Substrate
      or Blockchains. Thus any CPU usage alert suffice.
      fe9c01fc
  18. Jul 16, 2020
  19. Jul 15, 2020
  20. Jul 03, 2020
  21. Jul 02, 2020
    • pscott's avatar
      Update SubstrateCli to return String (#6550) · 540ae1c1
      pscott authored
      
      * Update SubstrateCli to return String
      
      * Add default implementation for executable_name()
      
      * Use display instead of PathBuf
      
      * Get file_name in default impl of executable_name
      
      * Remove String::from and use .into()
      
      * Use default impl for executable_name()
      
      * Use .as_str() and remove useless .to_string()
      
      * Update only sp-io when running companion build
      
      * Remove unneeded update of sp-io in CI
      
      Co-authored-by: default avatarCecile Tonglet <cecile@parity.io>
      540ae1c1
  22. Jul 01, 2020
    • Max Inden's avatar
      .maintain/monitoring/alerting-rules: Adjust transaction queue size alert (#6426) · 585ea531
      Max Inden authored
      The transaction queue size alert has been firing with a constant 10
      transactions in the queue. While maybe problematic those 10 transactions
      don't need to be the same across scrape intervals.
      
      Instead of alerting with a size above 10, alert based on two things:
      
      1. Monotonically increasing queue size
      
      2. Upper limit queue size reached
      585ea531
  23. Jun 25, 2020
  24. Jun 19, 2020
  25. Jun 18, 2020
  26. Jun 17, 2020
  27. Jun 16, 2020
  28. Jun 12, 2020
  29. Jun 05, 2020
  30. Jun 01, 2020
  31. May 21, 2020
  32. May 15, 2020
  33. May 13, 2020
  34. May 07, 2020