We wanted to create a script which would accurately display the assessment metric.
However, only the Puzzle::Execute function is timed. Therefore timing something like the execute_puzzle tool would be wrong, as that tool reads input from STDIN which can add very significant overhead to the running of the puzzle.
Therefore, simply scripting something up in Python/Bash doesn't help here unless we can hook into the execute function itself. My current idea is printing timestamps before/after the Execute() call and parsing them in my script, but this seems very ugly; does anyone have a better solution?
We wanted to create a script which would accurately display the assessment metric.
However, only the Puzzle::Execute function is timed. Therefore timing something like the execute_puzzle tool would be wrong, as that tool reads input from STDIN which can add very significant overhead to the running of the puzzle.
Therefore, simply scripting something up in Python/Bash doesn't help here unless we can hook into the execute function itself. My current idea is printing timestamps before/after the Execute() call and parsing them in my script, but this seems very ugly; does anyone have a better solution?