Skip to content

Commit

Permalink
break even more
Browse files Browse the repository at this point in the history
  • Loading branch information
ktrz committed Mar 27, 2024
1 parent b7f1fa1 commit 362fe82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/benchmarkdotnet/Benchmarks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static int Fib(int n) {
}

[Benchmark]
public void Fib10() => Fib(20);
public void Fib10() => Fib(21);

[Benchmark]
public void Fib20() => Fib(20);
Expand Down
2 changes: 1 addition & 1 deletion examples/benchmarkjs/bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { fib } = require('./index');

suite
.add('fib(10)', () => {
fib(10);
fib(20);
})
.add('fib(20)', () => {
fib(20);
Expand Down

0 comments on commit 362fe82

Please sign in to comment.