diff options
author | Josh Blum | 2013-04-24 20:36:48 -0700 |
---|---|---|
committer | Josh Blum | 2013-04-24 20:36:48 -0700 |
commit | 1a2d4cc189a0eae13ac8a7047327540b126f9267 (patch) | |
tree | 0c4bf9953640d304ee22d7f0213911a844f35d4f /benchmark/bm_registry.py | |
parent | b0af51abf8681922d86ea8621a73a383fa7c50ba (diff) | |
download | sandhi-1a2d4cc189a0eae13ac8a7047327540b126f9267.tar.gz sandhi-1a2d4cc189a0eae13ac8a7047327540b126f9267.tar.bz2 sandhi-1a2d4cc189a0eae13ac8a7047327540b126f9267.zip |
gras: split many_1_to_1_blocks into two benchmarks
Diffstat (limited to 'benchmark/bm_registry.py')
-rw-r--r-- | benchmark/bm_registry.py | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/benchmark/bm_registry.py b/benchmark/bm_registry.py index af79a50..da7efe4 100644 --- a/benchmark/bm_registry.py +++ b/benchmark/bm_registry.py @@ -20,15 +20,27 @@ GR_ENV = { 'PYTHONPATH': os.path.join(INSTALL_PREFIX, 'gr/lib/python2.7/dist-packages:%s'%os.getenv('PYTHONPATH')), } -BENCHMARK_MANY_11_BLOCKS = tokwargs( - wat='Benchmark the schedulers with many 1:1 ratio blocks', +BENCHMARK_LINEAR_CHAIN = tokwargs( + wat='Benchmark the schedulers with linear chain topology', moar='''\ -- Compare simultaneous 1:1 ratio blocks in each scheduler. +- Topology is a linear chain of one input/one output blocks. - GRAS will use only the buffer pool allocator, and every work will fully consume available buffers.''', tests = [ - tokwargs(wat='GRAS', args=['tb_many_1_to_1_blocks.py', DURATION], env=GRAS_ENV, expand=True), - tokwargs(wat='GRSS', args=['tb_many_1_to_1_blocks.py', DURATION], env=GR_ENV), + tokwargs(wat='GRAS', args=['tb_linear_chain.py', DURATION], env=GRAS_ENV, expand=True), + tokwargs(wat='GRSS', args=['tb_linear_chain.py', DURATION], env=GR_ENV), + ], +) + +BENCHMARK_COMBINER_ARRAY = tokwargs( + wat='Benchmark the schedulers with combiner array topology', + moar='''\ +- Topology is a tower of two input math blocks. +- GRAS will use only the buffer pool allocator, +and every work will fully consume available buffers.''', + tests = [ + tokwargs(wat='GRAS', args=['tb_combiner_array.py', DURATION], env=GRAS_ENV, expand=True), + tokwargs(wat='GRSS', args=['tb_combiner_array.py', DURATION], env=GR_ENV), ], ) @@ -107,7 +119,8 @@ BENCHMARK_DELAY_BLOCKS = tokwargs( ) BENCHMARKS = ( - BENCHMARK_MANY_11_BLOCKS, + BENCHMARK_LINEAR_CHAIN, + BENCHMARK_COMBINER_ARRAY, BENCHMARK_MANY_RATE_BLOCKS, BENCHMARK_DFIR_BLOCK, BENCHMARK_RESAMP_BLOCK, |