With #22, we can run the Philosophers benchmark via the runner python script. However, there are a few more things needed to fully support the runner script and also to have a structure similar to other targets. Here is a list of action items that should be resolved:
[x] Replicate the file structure used in the other targets. All Savina benchmarks should live TS/Savina/src and be organized in subdirectories micro, cocurrency and parallelism.
[x] Each benchmark should utilize the BenchmarkRunner reactor to control the benchmark execution and perform time measurement
[x] Each benchmark should have a lf-ts section in the corresponding yaml configuration file in runner/conf/benchmark/. See conf/benchmark/savina_concurrency_philosopher.yaml for a working example.
[x] In order to be parameterizable, each benchmark should use the cog code generator to be able to automatically modify the lf proragms and adjust parameters. See the C benchmakrs for examples of how this works. (This only applies if the TypeScript target does not support runtime parameterization)
With #22, we can run the Philosophers benchmark via the runner python script. However, there are a few more things needed to fully support the runner script and also to have a structure similar to other targets. Here is a list of action items that should be resolved:
TS/Savina/src
and be organized in subdirectoriesmicro
,cocurrency
andparallelism
.lf-ts
section in the corresponding yaml configuration file inrunner/conf/benchmark/
. See conf/benchmark/savina_concurrency_philosopher.yaml for a working example.Let me know if there are any questions.
Tagging @Wonseo-C