← Back to team overview

yade-users team mailing list archive

[Question #192485]: O.load and O.loadTmp influences calculation speed ?!

 

New question #192485 on Yade:
https://answers.launchpad.net/yade/+question/192485

When I measure calculation time for a model I detect differences when using O.load or O.loadTmp.
For an example with 8000 spheres I get

32 seconds for 1000 steps (without O.load or O.loadTmp)

and

43 seconds for 1000 steps (with O.load or O.loadTmp)

Can someone explain that differences?

Here the part for time measurement in my script:

	O.load('model-speed-test-start-condition.xml')
	O.run(10,True)
	start_time = O.realtime
	O.run(1000,True)
	stop_time = O.realtime

	calc_time_sec = stop_time-start_time

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.