示例#1
0
def test_benchmark_extended(translator):
    benchmark(translator,
              num_types=2,
              num_ids_per_type=2,
              num_updates=10,
              use_geo=True,
              use_time=True)
示例#2
0
def test_benchmark(translator):
    benchmark(translator,
              num_types=2,
              num_ids_per_type=2,
              num_updates=10,
              use_geo=False,
              use_time=False)
def test_benchmark(translator):
    # If translators breaks, we want to know.
    benchmark(translator,
              num_types=2,
              num_ids_per_type=2,
              num_updates=10,
              use_geo=False,
              use_time=False)