Skip to content

Commit 3409240

Browse files
committed
Added more benchmarks
1 parent 9b1d922 commit 3409240

File tree

3 files changed

+30
-2
lines changed

3 files changed

+30
-2
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,34 @@ versions 1.6+.
3434

3535
On all of the benchmarks below `wal_mode = none`
3636

37+
### Sequential
38+
39+
RPS on running 40k requests (no `uvloop`):
40+
41+
| Request | aiotarantool | asynctnt |
42+
| ------------- |:-------------:| ---------:|
43+
| ping | 5010.60 | 9037.07 |
44+
| call | 4575.98 | 9113.32 |
45+
| eval | 4096.32 | 8921.95 |
46+
| select | 4063.15 | 9681.12 |
47+
| insert | 4038.04 | 9332.21 |
48+
| update | 3945.12 | 10532.75 |
49+
50+
51+
RPS on running 40k requests (with `uvloop`):
52+
53+
| Request | aiotarantool | asynctnt |
54+
| ------------- |:-------------:| ---------:|
55+
| ping | 7204.31 | 20372.59 |
56+
| call | 6723.58 | 17279.21 |
57+
| eval | 7001.27 | 16642.67 |
58+
| select | 7028.03 | 17730.24 |
59+
| insert | 7054.06 | 17384.26 |
60+
| update | 6618.01 | 15990.12 |
61+
62+
63+
### Parallel coroutines
64+
3765
RPS on running 200k requests in 300 parallel coroutines (no `uvloop`):
3866

3967
| Request | aiotarantool | asynctnt |

asynctnt/iproto/buffer.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ cdef class WriteBuffer:
3131
cdef void _reallocate(self, ssize_t new_size) except *
3232
cdef void write_buffer(self, WriteBuffer buf) except *
3333
cdef void write_header(self, uint64_t sync, tnt.tp_request_type op,
34-
int64_t schema_id=*) except *
34+
int64_t schema_id) except *
3535
cdef void change_schema_id(self, int64_t new_schema_id)
3636
cdef void write_length(self)
3737

asynctnt/iproto/buffer.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ cdef class WriteBuffer:
128128
self._length += buf._length
129129

130130
cdef void write_header(self, uint64_t sync, tnt.tp_request_type op,
131-
int64_t schema_id=-1) except *:
131+
int64_t schema_id) except *:
132132
cdef:
133133
char *begin = NULL
134134
char *p = NULL

0 commit comments

Comments
 (0)