Linux Today: Linux News On Internet Time.





More on LinuxToday


Optimising Raspberry Pi code

Jan 29, 2015, 08:00 (1 Talkback[s])
(Other stories by Joey Bernard)

One of the issues when trying to develop programs to run on a Raspberry Pi is to be as efficient as possible. This is true for any system, but even more so for systems with limited resources. One of the key tools that you can use to help you optimise your code is a profiler.

Once your program grows beyond a certain size, it becomes essentially impossible to know where you should focus your attention and spend your time trying to optimise it. Using a profiler, you can get a clear idea of which parts of your program get used the most. These sections are where you should focus your efforts so that you get the biggest impact.

Complete Story

Related Stories: