def test_many_token_to_token_array(self, many_tokens, benchmark): token_to_token_array_pipeline = Pipeline() token_to_token_array_pipeline.add(self.token_to_token_array) benchmark(token_to_token_array_pipeline.run, many_tokens)
def test_few_token_to_token(self, few_tokens, benchmark): token_to_token_pipeline = Pipeline() token_to_token_pipeline.add(self.token_to_token) benchmark(token_to_token_pipeline.run, few_tokens)