Skip to content

Commit

Permalink
feat: add benchmarking script (#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag authored Jan 15, 2025
1 parent 2949957 commit b3eb0cd
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions test/performance/scripts/any_to_bank.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
function next() {
return [
{
action: 'CREATE_TRANSACTION',
data: {
script: {
plain: `vars {
account $source
}
send [USD/2 100] (
source = $source allowing unbounded overdraft
destination = @bank
)`,
vars: {
source: "src:" + uuid()
}
}
}
}
]
}

0 comments on commit b3eb0cd

Please sign in to comment.