Open juncaofish opened 7 years ago
Importing module is quite slow on MT7688 indeed. There are several reasons:
Using a SD card as extroot may improve the performance as SDIO is faster than SPI. With a SD card, more space will be available. Compiling python modules to byte-code will also increase loading speed. To do so:
python -m compileall
Test Code with built firmware on LinkIt
Result: import json cost: 0.510145187378 import requests cost: 14.6618149281 import base64 cost: 0.00102591514587
Any idea?