psychopy.org | Reference | Downloads | Github

"Run experiment" (Ctrl+R) takes a while

Hi all,

When I click “Run experiment” (or press Ctrl+R), it takes about 10-15 seconds until the info dialog (with the subject number etc) actually pops up. When debugging an experiment and running it often after each change, having to wait this amount of time to get each test run going, becomes annoying with time.

Any ideas? Thanks in advance!
Tudor

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 3.1.5

This is inevitable I’m afraid. Python and PsychoPy are doing a lot of work for you during that time. A lot of stimuli and other objects are being created and prepared in advance at this point, which means that the experiment itself will run much more smoothly, as they will be ready to go.

Unless you’ve added some custom code that could be optimised somehow, there isn’t much option except to:

  • buy a faster, more powerful computer.
  • be patient.

Personally, unless it is needed to run the experiment, I switch off the info dialog while testing, to shave off a second or two.

Got it, thanks Michael for explaining