MLOS icon indicating copy to clipboard operation
MLOS copied to clipboard

Allow tracer to skip arguments

Open byte-sculptor opened this issue 5 years ago • 3 comments

Right now: OptimizerEvaluationReport.add_pickled_optimizer includes the string of bytes for the pickled optimizer in the trace.

We should add an argument to the trace() decorator to exclude parameters from logging.

byte-sculptor avatar Nov 03 '20 21:11 byte-sculptor

Semi-related, how does the Tracer compare with standard python profiling traces? I haven't really understood what the additional benefit of using the tracer is so far.

amueller avatar Nov 03 '20 23:11 amueller

Which of the standard tools do you have in mind?

byte-sculptor avatar Nov 04 '20 20:11 byte-sculptor

python profiling together with snakeviz and line profiler. Though neither gives detailed runtime histograms as the current setup does.

amueller avatar Nov 05 '20 00:11 amueller