Skip to content

Commit

Permalink
update benchmark code
Browse files Browse the repository at this point in the history
  • Loading branch information
amirrezaask committed Jun 1, 2022
1 parent 3cca99c commit 2f3de03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func BenchmarkGolobby(t *testing.B) {
for i := 0; i < t.N; i++ {
var user User
user.Username = "amir" + fmt.Sprint(i)
err := orm.InsertAll(&user)
err := orm.Insert(&user)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 2f3de03

Please sign in to comment.