Closed hit9 closed 1 year ago
Benchmark result now:
Standard Mode on STM32F103ZE
gcc -O
: 160 μs -> 124 μs on drone.bitproto-O3
mode: 113 μsBenchmark result now:
Standard Mode on STM32F103ZE
gcc -O
: 160 μs -> 124 μs on drone.bitproto-O3
mode: 106 μs, 110usBenchmark result now:
Standard Mode on STM32F103ZE
gcc -O
: 160 μs -> 123 μs on drone.bitproto-O3
mode: 105 μs, 108Results now, on STM32F103ZE. drone.bitproto 61bytes
cc -O
: encode 125us, decode 123uscc -O2
, encode 118us, decode 119uscc -O3
, encode 108us, decode 105uscc -O
: encode 9us, decode 9us cc -O2
: encode 9us, decode 9usResults now, on STM32F103ZE. drone.bitproto 61bytes
cc -O
: encode 120us, decode 119uscc -O2
, encode 115us, decode 118uscc -O3
, encode 100us, decode 96uscc -O
: encode 9us, decode 9us cc -O2
: encode 9us, decode 9usResults now, on STM32F103ZE. drone.bitproto 61bytes
cc -O
: encode 117us, decode 118uscc -O2
, encode 115us, decode 118uscc -O3
, encode 103us, decode 98uscc -O
: encode 9us, decode 9us cc -O2
: encode 9us, decode 9usUpdate benchmark bitproto to 100bytes size.
Results now, on STM32F103ZE. drone.bitproto 100bytes
standard mode, without cc -O: encode 147us, decode 146us standard mode, cc -O2, encode 143us, decode 145us standard mode, cc -O3, encode 131us, decode 125us optimization mode, without cc -O: encode 15us, decode 15us optimization mode, without cc -O2: encode 15us, decode 15us
stm32:
no -o 144 143 o2 140 143 o3 128 123
BpCopyBufferBits
__post_init__
functionbyte; uint8/16/32/64; int8/16/32/64
and enum, alias of themtarget v1.1.0 before 2023/01/15.