예제 #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)
예제 #3
0
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)