forked from gnolang/gno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
additional opcodes: expression ops, binray and unary
- Loading branch information
Showing
8 changed files
with
597 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
Oops, something went wrong.