Skip to content

Commit

Permalink
update grid benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviergodart committed Oct 25, 2024
1 parent 87d4962 commit 301f964
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/field/grid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func BenchmarkGrid(b *testing.B) {
grid.AddNode(node.NewSpreadEmitter(midi, common.LEFT), 12, 2)
grid.AddNode(node.NewBangEmitter(midi, common.RIGHT, true), 7, 3)
grid.AddNode(node.NewSpreadEmitter(midi, common.LEFT), 9, 3)
grid.TogglePlay()
for i := 0; i < b.N; i++ {
grid.Update()
}
Expand Down

0 comments on commit 301f964

Please sign in to comment.