benchmark.logbase Module¶
This module has utilities to benchmark paraview.
You can set up arbitrary pipelines and this module helps you obtain, interpret and report the information recorded by ParaView’s logs. Do that like so:
Optionally, call maximize logs first
Setup and run your visualization pipeline (via GUI or script as you prefer)
Call print_logs() to print out the logs in raw format
- class paraview.benchmark.logbase.OneLog(runmode='batch', servertype='unified', component=0, rank=0)[source]¶
Bases:
object
- paraview.benchmark.logbase.dump_logs(filename)[source]¶
This saves off the logs we’ve gathered. Ot allows you to run a benchmark somewhere, save off all of the details in raw format, then load them somewhere else. You can then do a detailed analysis and you always have the raw data to go back to.
- paraview.benchmark.logbase.get_logs()[source]¶
This is for bringing in logs at run time to parse while running.
- paraview.benchmark.logbase.import_logs(filename)[source]¶
This is for bringing in a saved log files and parse it after the fact. TODO: add an option to load in raw paraview logs in text format
- paraview.benchmark.logbase.maximize_logs()[source]¶
Convenience method to ask paraview to produce logs with lots of space and highest resolution.