doc string to compareRuntimes function