2013-09-30

Need for Speed


I have not spent much time optimizing performance on the NetHomeServer before. I am running mine on a small Linux server which can present the WEB-GUI at a decent speed. I have however had comments from Raspberry Pi users who have thought that it is a bit sluggish. The limited processing power of the little Pi has raised the need for some optimizations. So now I have rewritten the Item model handling using some caching and the result was really good, especially on a Pi. Time to show the room-view went from 1.3 seconds to 55 milliseconds, and showing the details of a HomeItem went from 2.2 seconds to 35 milliseconds! The optimizations are available in the nightly build.