From: Damian M. <da...@er...> - 2001-12-24 09:05:29
|
On Sun, 23 Dec 2001, Damian McGuckin wrote: > I need to increase the speed of loading big, multi-megabyte VRML files. The change was a lot simpler than what I had tried in the first place. I changed the size of the buffer declared in doc2 to 65535 and achieved nearly a factor of two performance gain on big files. The load time went from 44 seconds down to 24 on a 1000Mhz Pentium over a 100Mbit/sec network. Not as much as I had hoped but better than nothing. I tried to profile this under LINUX but to no avail. I compiled it with a '-p' flag and it core dumped. Took out the '-p' and it worked. Looks like it is more the profiling rather than anything else. Anybody got ideas on where to target performance problems? I need to get the scene complexity down a bit in these big files. I saw something called Chisel and Vorlon. Do they do anything? Has anybody considered having precompiled VRML files which are loaded directly? Happy Christmas - Damian (McGuckin) Pacific Engineering Systems International, 22/8 Campbell St, Artarmon NSW 2064 Ph:+61-2-99063377 .. Fx:+61-2-99063468 | unsolicited email not wanted here ! Views and opinions here are mine and not those of any past or present employer |