Thread
:
Making Python faster (for fmms initially)
View Single Post
noobmonkey
2010-04-25 , 19:22
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#
28
Ahaaaaaaaaaaa i'm back! and had time to do it! yay!
First test - normal code
2104 lines of code
580 blank lines
215 code lines
Load time from icon click to fully loaded - 10.04 seconds
Second Test - Cleared up code
2104 lines of code
0 blank lines
80 code lines
Load time from icon click to fully loaded - 9.25 seconds
Ok, it was a basic test, but i ran them side by side for a while with nothing else loaded... the load times where almost exactly the same each time. So... yes blank lines do affect load up!
My next test, later this week will be to remove redundant lines into sensible functions - should cut my lines of code down a lot...... so will compare that against these results.
quick edit :-
Third - Cleared up code!!
1469 lines of code
0 blank lines
80 code lines
Load time from icon click to fully loaded - 8.40 (5 tests , from 8.09 to 8.60)
(Sorry code lines probably don't mean much - i meant comment lines!)
__________________
----------- Follow me on
Twitter
here
----------- My
Photography Website and Blog
is
here
----------- Author of the N900
Health Check Application
----------- New Version in Extras Devel (Dec 2010 -
2.9.10
)
----------- Are you on the N900 World Map? -
http://pininthemap.com/maemo
- masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo
in the future
? -
Last edited by noobmonkey; 2010-04-25 at
19:25
.
Quote & Reply
|
The Following 5 Users Say Thank You to noobmonkey For This Useful Post:
frals
,
Helmuth
,
iKneaDough
,
lcuk
,
Texrat
noobmonkey
View Public Profile
Send a private message to noobmonkey
Find all posts by noobmonkey