code: def _get_single_multi_proc_output_and_time(
      self,
      scorer_type: Type[VizSeqScorer],
      corpus_level: bool,
      sent_level: bool,
  ):
      scorer_sp = scorer_type(
          corpus_level=corpus_level, sent_level=sent_level, n_workers=1
      )
      start = time.time()
      score_sp = scorer_sp.score(self.hypothesis, self.references)
      time_sp = time.time() - start
  
      score_mp = scorer_type(
          corpus_level=corpus_level, sent_level=sent_level, n_workers=2
      )
      start = time.time()
      score_mp = score_mp.score(self.hypothesis, self.references)
      time_mp = time.time() - start
      return score_sp, score_mp, time_sp, time_mp
  
file_path: vizseq/tests/scorers/__init__.py
imports: import unittest
  import time
  import os
  from typing import Union, List, Optional, Type, Dict
  from vizseq.scorers import VizSeqScorer, VizSeqScore
label_desc: Use image node_id 3 for calling the VizSeqScorerTestCase obj's underlying member method code with example usage: obj._get_single_multi_proc_output_and_time(scorer_type, corpus_level, sent_level) and returns: score_sp,  score_mp,  time_sp,  time_mp