在Ubuntu下优化CxImage性能可从以下方面入手:
系统层面优化
libjpeg-dev
libpng-dev
top
htop
编译配置优化
-O2
-O3
-pthread
LD_LIBRARY_PATH
代码与算法优化
硬件与环境优化
工具与调试
gprof
Valgrind
参考来源: