Thanks John. Zig, please try the following fix.
In the file .../webwork/system/scripts/pScSet6.pl comment out line 54, i.e. the line
print STDERR "$string\n";
ie, change it to
# print STDERR "$string\n";
in the subroutine scoreMessage. As John says, there is no real
reason to print this message to STDERR. On my system (FreeBSD), I reran
my example and it still took 38 seconds. Also this line (printing to
STDERR) has been in the code since the begining. But maybe something
has changed on your system to slow down printing to STDERR.
Note that if you look at the scoring log, you will see that a
message is posted every time WeBWorK pads the totals file with a blank
(which it will do a lot if there are a lot of people who have
dropped). So if for some reason printing to STDERR is slow, it would
certainly slow down the scoring process a lot.
<| Post or View Comments |>