Skip to content

Commit

Permalink
total suplly in value cache
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-aptos committed Nov 5, 2024
1 parent 243ea97 commit 06232bd
Show file tree
Hide file tree
Showing 4 changed files with 605 additions and 396 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/workflow-run-execution-performance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ on:
type: boolean
description: Whether to run or skip move-only e2e tests at the beginning.
USE_FA_APT:
required: false
default: true
required: true
default: false
type: boolean
description: Whether to exclusively use FA APT. If disabled, uses Coin APT.
description: By default, FA APT is exclusively used. If set Coin APT is used instead.
SOURCE:
required: false
default: CI
Expand Down Expand Up @@ -88,10 +88,10 @@ on:
type: boolean
description: Whether to skip move-only e2e tests at the beginning.
USE_FA_APT:
required: true
default: true
required: false
default: false
type: boolean
description: Whether to exclusively use FA APT or Coin APT
description: By default, FA APT is exclusively used. If set Coin APT is used instead.
IGNORE_TARGET_DETERMINATION:
required: false
default: true
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:

- name: Run single node execution benchmark in performance build mode
shell: bash
run: TABULATE_INSTALL=lib-only pip install tabulate && FLOW="${{ inputs.FLOW }}" SOURCE="${{ inputs.SOURCE }}" RUNNER_NAME="${{ inputs.RUNNER_NAME }}" SKIP_MOVE_E2E="${{ inputs.SKIP_MOVE_E2E && '1' || '' }}" DISABLE_FA_APT="${{ inputs.USE_FA_APT && '' || '1' }}" NUMBER_OF_EXECUTION_THREADS="${{ inputs.NUMBER_OF_EXECUTION_THREADS }}" testsuite/single_node_performance.py
run: TABULATE_INSTALL=lib-only pip install tabulate && FLOW="${{ inputs.FLOW }}" SOURCE="${{ inputs.SOURCE }}" RUNNER_NAME="${{ inputs.RUNNER_NAME }}" SKIP_MOVE_E2E="${{ inputs.SKIP_MOVE_E2E && '1' || '' }}" DISABLE_FA_APT="${{ inputs.USE_COIN_APT && '1' || '' }}" NUMBER_OF_EXECUTION_THREADS="${{ inputs.NUMBER_OF_EXECUTION_THREADS }}" testsuite/single_node_performance.py
if: ${{ (inputs.IGNORE_TARGET_DETERMINATION || needs.test-target-determinator.outputs.run_execution_performance_test == 'true') }}

- run: echo "Skipping single node execution performance! Unrelated changes detected."
Expand Down
2 changes: 1 addition & 1 deletion execution/executor-benchmark/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ mod tests {
// correct execution not yet implemented, so cannot be checked for validity
test_generic_benchmark::<
NativeParallelUncoordinatedBlockExecutor<NativeRawTransactionExecutor>,
>(Some(TransactionTypeArg::AptFaTransfer), false);
>(Some(TransactionTypeArg::NoOp), false);
}

#[test]
Expand Down
Loading

0 comments on commit 06232bd

Please sign in to comment.