freelanceprogrammers.org Forum Index » Delphi

why is P4D slower than PyScripter ?


View user's profile Post To page top
aap_beertje Posted: Wed Jan 10, 2007 12:16 am


Joined: 30 Dec 2006

Posts: 15
why is P4D slower than PyScripter ?
Maybe someone knows it already,
I have a script, and the execution time differs significantly
2 seconds in PyScripter
6..7 seconds in P4D (example 17, PythonEngine1.ExecStrings(Memo1.Lines))

<Python>
import time;
NNN = 1000
x=time.time()
for ttt in range(NNN):
# do some calculations here

TIJD =1000*(time.time()-x) #time is in seconds
</Python>

Any ideas ?
thanks,
Stef Mientki
Reply with quote
Send private message
View user's profile Post To page top
aap_beertje Posted: Wed Jan 10, 2007 3:19 am


Joined: 30 Dec 2006

Posts: 15
why is P4D slower than PyScripter ?
my stupid mistake,
I was running from within the Delphi IDE ;-)
cheers,
Stef Mientki
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help