STM32 Benchmark test2008年05月23日 21時07分12秒

気になる記事があった。


STM32 のベンチマークテスト
3社のコンパイラが比較してある。
詳細はリンク参照
コードサイズは gcc が良さそうな結果だが、スピードは劣る。


この結果だけで判断すると KEIL が一番良さそう。


●Benchmark test1: 積和演算の処理時間
  STM32 at 72MHz time = 12-14uS (KEIL compiler)
  STM32 at 72MHz time = 16-41uS (GCC compiler)
  STM32 at 72MHz time = 12-15uS (IAR compiler)


●Benchmark test2: I/O トグルスピード
 the port B bridge setup to 50MHz, and 72MHz core.
  Pin toggle 24nS (KEIL compiler)
  Pin toggle 68nS (GCC compiler)
  Pin toggle 26nS-109nS (IAR compiler)


●Benchmark test3: コードサイズ
 code size test no:
  1108 bytes (KEIL compiler)
  896 bytes (GCC compiler)
  1000 bytes (IAR compiler)


 code size test max:
  1068 bytes (KEIL compiler)
  896 bytes (GCC compiler)
  918 bytes (IAR compiler)




参考:STM32 vs AVR mega benchmarks and such