Re: [Tutor] measuring the start up time of an event-driven program

2012-07-25 Thread Albert-Jan Roskam
  %%{TAB} >        %%{F4}""" % (spss_path, PAUSE), with_spaces=True) >    end = time.clock() >    duration = (end - start) From: Stefan Behnel To: tutor@python.org Sent: Tuesday, July 24, 2012 2:29 PM Subject: Re: [Tutor] measuring the start up time of an event-driven program ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] measuring the start up time of an event-driven program

2012-07-24 Thread Stefan Behnel
Albert-Jan Roskam, 24.07.2012 11:18: > I would like to test how long it takes for two versions of the same > program to start up and be ready to receive commands. The program is > SPSS version-very-old vs. SPSS version-latest. > > Normally I'd just fire the program up in a subprocess and measure t

Re: [Tutor] measuring the start up time of an event-driven program

2012-07-24 Thread Michael Janßen
On 24 July 2012 11:18, Albert-Jan Roskam wrote: > I would like to test how long it takes for two versions of the same > program to start up and be ready to receive commands. The program is SPSS > version-very-old vs. SPSS version-latest. > > Normally I'd just fire the program up in a subprocess a

Re: [Tutor] measuring the start up time of an event-driven program

2012-07-24 Thread Albert-Jan Roskam
From: Steven D'Aprano To: tutor@python.org >Sent: Tuesday, July 24, 2012 11:48 AM >Subject: Re: [Tutor] measuring the start up time of an event-driven program > >On Tue, Jul 24, 2012 at 02:18:43AM -0700, Albert-Jan Roskam wrote: >> Hi, >> >> I would lik

Re: [Tutor] measuring the start up time of an event-driven program

2012-07-24 Thread Steven D'Aprano
On Tue, Jul 24, 2012 at 02:18:43AM -0700, Albert-Jan Roskam wrote: > Hi, > > I would like to test how long it takes for two versions of the same > program to start up and be ready to receive commands. The program is > SPSS version-very-old vs. SPSS version-latest. I don't think this is a Python

[Tutor] measuring the start up time of an event-driven program

2012-07-24 Thread Albert-Jan Roskam
Hi, I would like to test how long it takes for two versions of the same program to start up and be ready to receive commands. The program is SPSS version-very-old vs. SPSS version-latest. Normally I'd just fire the program up in a subprocess and measure the time before and after finishing. But