The congress.tests.test_benchmark_updates Module¶
-
class
congress.tests.test_benchmark_updates.BenchmarkDatasource(*args, **kwargs)¶ Bases:
congress.tests.base.Benchmark-
benchmark_datasource_to_policy_update(size)¶ Benchmark small datsource update to policy propagation.
Time the propagation of a datasource update from datasource.poll() to completion of a simple policy update.
-
benchmark_datasource_update(size)¶ Benchmark a datasource update.
Time the propagation of a datasource update from datasource.poll() to ending up in the datasource.dataPath queue.
-
setUp()¶
-
test_benchmark_datasource_to_policy_update_large()¶ Benchmark small datsource update to policy propagation.
Time the propagation of a large (100k row) datasource update from datasource.poll() to a simple policy update.
-
test_benchmark_datasource_to_policy_update_small()¶ Benchmark small datsource update to policy propagation.
Time the propagation of a small (10 row) datasource update from datasource.poll() to a simple policy update.
-
test_benchmark_datasource_update_large()¶ Benchmark a large datasource update.
Time the propagation of a large (100k row) datasource update from datasource.poll() to ending up in the datasource.dataPath queue.
-
test_benchmark_datasource_update_small()¶ Benchmark a small datasource update.
Time the propagation of a small (10 row) datasource update from datasource.poll() to ending up in the datasource.dataPath queue.
-