Skip to content

Commit

Permalink
Extra benchmark for nil Invoke
Browse files Browse the repository at this point in the history
  • Loading branch information
mikera committed Jul 18, 2023
1 parent f91e92f commit f5da4d8
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,15 @@ public void minimalTransaction() {
Context ctx=s.applyTransaction(trans);
ctx.getValue();
}

@Benchmark
public void nullInvoke() {
State s=STATE;
Address addr=HERO;
ATransaction trans=Invoke.create(addr,1, (ACell)null);
Context ctx=s.applyTransaction(trans);
ctx.getValue();
}

@Benchmark
public void defInEnvironment() {
Expand Down

0 comments on commit f5da4d8

Please sign in to comment.