Notifications
Clear all

[Closed] scene material append/delete item test

could any volunteer run the test below and give the numbers please?


(
    resetmaxfile #noPrompt -- be careful !!!
	t1 = timestamp()
	for k=1 to 1000 do append scenematerials (standard())
	t2 = timestamp()
	format "time:% count:%
" (t2 - t1) scenematerials.count
	while scenematerials.count > 0 do deleteitem scenematerials 1
	t3 = timestamp()
	format "time:% count:%
" (t3 - t2) scenematerials.count
)

thanks

9 Replies

time:3249 count:1000
time:2703 count:0

-Eric

EDIT: To match Bobo’s posted specs:
Max 2010 64bit
Dual Quad-Core Intel Xeon E5430 @ 2.66 ghz

time:3266 count:1000
time:2891 count:0

Max 2010 64 bit.
Dual Quad-Core Intel Xeon E5420 @ 2.5GHz

here is my result:
32:
time:9016 count:1000
time:9328 count:0

64:
time:3207 count:1000
time:2730 count:0

three times difference! definitely unexpected result for me

thank you guys

time:3766 count:1000
time:3047 count:0

Max 2009 32 bit.(On 64Bit Machine)
Intel Core 2 (6700) @ 2.66GHz

Intel Core 2 Duo 2.56 GHz 4GB RAM 32 Bit O.S: 3d Max 2010

time:5797 count:1000
time:4344 count:0
OK
all processes on and 3dsmax.exe set to normal priority

time:4375 count:1000
time:3875 count:0
OK
all user processes closed and set 3dsmax.exe to realtime priority (inside the taskmanager)

reduces the context switching time i guess.

also checked the code on 3dsmax 2009 just for comparison sake:

time:3828 count:1000
time:2953 count:0
OK
all processes on and 3dsmax.exe set to normal priority

time:3735 count:1000
time:2906 count:0
OK
all user processes closed and set 3dsmax.exe to realtime priority

hmm good refrence point to compare speeds for different settings and max versions also different machines

While rendering on seven cores:

time:3078 count:1000
time:2610 count:0

When idle

time:2891 count:1000
time:2578 count:0

Dual Intel Xeon E5462@2.8Ghz (8 cores) 8GB

Max 2010 64 Sp1, winXP64

J.

time:10422 count:1000
time:9765 count:0

Max 2009 32 bit.(On 64Bit Machine)
AMD Athlon™ 64 X2 Dual Core Processor 4600+ 2.40 GHz,

Maybe interesting (or at least fun) for comparison:
3dsmax 2010 32bit,
Windows XP 32bit running in Parallels under mac osx
2.16GHz Intel Core2 Duo

time:12015 count:1000
time:10250 count:0

:buttrock:

time:5996 count:1000
time:4957 count:0

a home on my laptop, intel core duo L7500 1.6 and 4gm ram (well 3 really) 32bit
3dsmax 2010 sp1 32

come on dennis, what’s up? maybe you’re building a ratio or readers to script executors?

J.