Skip to content

Commit

Permalink
添加golang压测报告
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfujian committed Jan 26, 2024
1 parent 6e08edb commit e98b19b
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions benchmarks-results.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Results

- orm-benchmark
```
golang-mysql-Reports:
InsertAll
queryx: 24 68688983 ns/op 279390 B/op 3296 allocs/op
Create
queryx: 50 24818608 ns/op 16685 B/op 253 allocs/op
Update
queryx: 1215 968346 ns/op 7980 B/op 114 allocs/op
Read
queryx: 1201 976828 ns/op 9196 B/op 155 allocs/op
ReadSlice
queryx: 762 2458304 ns/op 386941 B/op 12405 allocs/op
golang-sqlite-Reports:
ReadSlice
queryx: 358 3447322 ns/op 398725 B/op 16991 allocs/op
InsertAll
queryx: 48 31670682 ns/op 246893 B/op 3898 allocs/op
Create
queryx: 72 18938976 ns/op 11278 B/op 238 allocs/op
Update
queryx: 499 3277440 ns/op 8052 B/op 127 allocs/op
Read
queryx: 903 1488458 ns/op 9252 B/op 208 allocs/op
golang-postgresql-Reports:
InsertAll
queryx: 134 8033703 ns/op 289751 B/op 3505 allocs/op
Create
queryx: 194 5316417 ns/op 10501 B/op 184 allocs/op
Update
queryx: 208 5298013 ns/op 7944 B/op 116 allocs/op
Read
queryx: 1186 1187729 ns/op 9278 B/op 157 allocs/op
ReadSlice
queryx: 1008 2237629 ns/op 348255 B/op 10661 allocs/op
```

0 comments on commit e98b19b

Please sign in to comment.