Skip to content

Commit

Permalink
udpate benchmark: remove clone from orm update
Browse files Browse the repository at this point in the history
  • Loading branch information
GoranBrkuljan committed Jan 18, 2025
1 parent 615e6bb commit 53ba470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charybdis_bench/benches/orm_vs_native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ fn bench_orm_vs_native(c: &mut Criterion) {
c.bench_function("ORM Update", |b| {
b.iter(|| {
rt.block_on(async {
updated_user.clone().update().execute(&session).await.unwrap();
updated_user.update().execute(&session).await.unwrap();
});
});
});
Expand Down

0 comments on commit 53ba470

Please sign in to comment.