maya.core.benchmark

Classes

MayaBenchmark

A Maya-specific benchmark that disables Undo and Viewport

Module Contents

class MayaBenchmark

Bases: tik.core.benchmark.Benchmark

A Maya-specific benchmark that disables Undo and Viewport to ensure fair testing of the code, not the UI.

measure(name, iterations=10, warmup=2, new_scene=False)