Closed cyphersnake closed 1 month ago
IIUC, this cli example is to profile one specific combination of parameters (i.e. specify one table size, one commitment key size etc) while the bench folder will profile different combinations of parameters(i.e. specify various table sizes and key sizes combinations)?
Memory profiling with dhat works on the whole process, so you have to run one process many times and there is no convenient benchmark option. If it were not for this limitation, we would just do the same as in the benchs folder
Motivation Now we have a default path for time-profling & mem-profiling, but it is not very convenient to vary the runtime parameters by hand. That's why I put all runtime parameters in a separate cli example. This allows us to do time-profiling & mem-profiling on different parameters directly on the command line Part of #272
Overview Fairly simple code that parses parameters with clap and runs circuit. Covers all our examples
Once mem-profiling is in main, I'll add its description to the README along with this example