Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/m/r/mrv-1-1.0.3-stable/mrv/test/maya/performance/test_general.py   MRV(Download)
		for i in xrange( na ):
			camfn = api.MFnCamera( p.object() )
			camfn.focalLength()  # this wraps the API
		b = time.time()
		print >>sys.stderr, "%f s (%f/s): recreated + call" % ( b - a, na/(b-a) )
		a = time.time()
		for i in xrange( na ):
			camfn.focalLength()  # this wraps the API
		b = time.time()
		print >>sys.stderr, "%f s (%f/s): mfn.focalLenght()" % ( b - a, na/(b-a) )