tarantool / cbench

Tarantool C Bench - a simple tool to benchmark Tarantool internal API
BSD 2-Clause "Simplified" License
4 stars 2 forks source link

upgrade num to unsigned #9

Closed VitaliyaIoffe closed 2 years ago

VitaliyaIoffe commented 2 years ago

field type 'num' is deprecated since Tarantool 1.7, please use 'unsigned' instead

Close tarantool/cbench#8

Example:

Benchmarking...
2022-02-14 20:47:37.562 [2562] wal/101/main xlog.c:1051 W> fallocate is not supported, proceeding without it
HASH unsigned
----------------------------------
replaces  : 1504.45     rps
selects   : 2419790.77  rps
selrepl   : 1532.78     rps
updates   : 1428.06     rps
deletes   : 1417.57     rps
----------------------------------
HASH unsigned
----------------------------------
replaces  : 1588.99     rps
selects   : 4839581.54  rps
selrepl   : 1394.54     rps
updates   : 1551.19     rps
deletes   : 1550.69     rps
----------------------------------
HASH str
----------------------------------
replaces  : 1522.58     rps
selects   : 691368.79   rps
selrepl   : 1591.04     rps
updates   : 1571.21     rps
deletes   : 1474.65     rps
----------------------------------
Done
VitaliyaIoffe commented 2 years ago

I'd like to check it in CI

VitaliyaIoffe commented 2 years ago

@Totktonada I need you or someone for review