Open aroesz98 opened 2 months ago
Hi, did you build MC-Heap with MAX_PERF enabled ?
gcc -O2 -Wall -DMAX_PERF -c -o mc_heap.o mc_heap.c
(Note: -O3 will likely give better results.)
I tried with O3 flag for G++ and O3 for GCC. Also i define macro MAX_PERF to get best results but still library is 25% slower than malloc.
There is a comparison of library performance to lwmem library that im using actually:
Hello. I tested that library but when i measured time for allocation with cycle counter i get worse results than using new operator as you can see below:![image](https://github.com/batyann/MC-Heap/assets/87637585/d1cc3878-e21b-42ed-b828-a5ebc80372f8)
Im compiling the code with -O2 switch with NewLibNano std lib runned on OKdo E1 board(2x Cortex M33 ARMv8-m). I have choosen std c11 for C and stdc++17 for C++. Regards