Re: [opendemo-devel] Perfomance.
Status: Beta
Brought to you by:
girlich
From: Eugene 'H. B. <hm...@ma...> - 2002-01-06 18:50:50
|
----- Original Message ----- From: "Dr. Uwe Girlich" <Uwe...@ph...> Subject: Re: [opendemo-devel] Perfomance. > > I think we should collect the characters in a local variable and simply copy > > them over after odMalloc(). fbRead() calls fbGrow() and 2 times mbSize(), > > no wonder that it takes so much time. > This is not done yet. Please perform another profiler run first. Gotcha, done them. I've had to redo the profiling with a special demo for this (my demo i've run previous time was lost), the demo spans for 20 seconds and is uploaded to cvs (1 megabyte) with a config and windows bat file, so if you set up the linux profiling, use the config which starts the demo, they're still not perfect, because after the demo ends server doesn't quit automatically and library isn't unloaded, thus making stale calls to vmmain and affecting the stats a bit. I have attached result files, "odprofile1.txt" is the unoptimized source re-run, and "odprofile2.txt" is with recent optimizations. Files that uwe modified recently were downgraded to previous versions for re-profiling unoptimized code (od_membuf.[ch] and od_xml_read.c)... This will give a nice chart with the modifications we get. From what I can see, the optimizations are clearly viisble, even without profiling my fps has gone better. |