Skip to content

Commit

Permalink
additional opcodes: expression ops, binray and unary
Browse files Browse the repository at this point in the history
  • Loading branch information
piux2 committed Feb 17, 2024
1 parent c17c4ff commit ce6fec9
Show file tree
Hide file tree
Showing 8 changed files with 597 additions and 25 deletions.
9 changes: 6 additions & 3 deletions benchmarking/README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@

To enable benchmarking
- To enable benchmarking

```sh
export ENABLE_BENCHMARKING=true 
```

To print out opcode details on console
- To print out opcode details on console
```sh
export OPCODE_DETAILS=true

./build/gnoland start | grep "benchmark.Op"
```
The benchmarking contract is located at `examples/gno.land/r/x/benchmark/ops.gno`

To execute the benchmarking functions, add and edit file located at `gno.land/genesis/genesis_txs.txt`
- To execute the benchmarking functions, add and edit file located at `gno.land/genesis/genesis_txs.txt`

TODO:
- benchmark binary operations on different data type with large numbers.
Loading

0 comments on commit ce6fec9

Please sign in to comment.