AnsweredAssumed Answered

The Code Execution Speed Became Slower and Slower

Question asked by ling.letters on May 8, 2017
Latest reply on May 8, 2017 by Clive One

Good afternoon,sir:

 

Could you tell me how to solve the question about the code execution speed became slower and slower?

When I adjusted the circuit board which the CPU is STM32F103,I found that the executing speed of code became slower and slower.The specific performance is :

  • In the beginning,all configurations and function modules are initializing,they are finishing just in few seconds.
  • With the increasing of adjusting time,the above executing time also increasing gradually.Up to now,it need about 90 seconds to finish which is unacceptable !

Does the memory leak then it lead to the code execution speed slower and slower ?  Or has any reasons occurred here?

Please give me some suggestions ! Thank you a lot !

Outcomes