Python scripts to automatically benchmark the performance of LuisaRender, Mitsuba3, and PBRT-v4.
-
Please edit
run_config.py
before running the benchmarks. The dictionarytarget_settings
specifies the renderers and the corresponding settings. You will have to fill in therenderer_settings["<renderer>"]["exe"]["path"]
fields for the scripts to successfully find the executables for the renderers.Please note that for PBRT-v4, the
rr_depth
option is ineffective, since the parameter is hard coded in the renderer's source. You will have to modify the source code and recompile it to changerr_depth
. -
After configuration, please execute the
run.py
script with Python 3 to start the benchmarks. The script generates modified scene description files under<renderer>/scenes
and creates theoutputs
folder to hold the results. For example, the renderings are stored inoutputs/pictures
and timings inoutputs/results.csv
.