three.js icon indicating copy to clipboard operation
three.js copied to clipboard

r61 performance issues

Open starcier opened this issue 13 years ago • 8 comments

I recently updated the three.js files from r58 to r61, and I couldn't believe my eyes. What happen with the performance? I'm loading a single (700k verts) .obj and .mtl file and the time to load it locally extended from 14sek to 1 min 14 sek. Also the frames dropped by 8-10. I tried to use jsonloader, but this just crashes my Chrome.

I'm really thankful to all three.js team for their hard work, sweat and tears.

Anyone else encountered this problem?

starcier avatar Oct 13 '13 11:10 starcier

This would not seem to be a common complaint.

An example of this regression would be useful.

Digitoxin avatar Oct 13 '13 14:10 Digitoxin

@Digitoxin: It is already a known issue in its own case as the OBJ and OBJMTL Loader got changed and there are already issues about duplicated vertices and stuff. I think that maybe until a complete redesign of the loader is finished, just stay with the old one if you were happy with it?

GuyGood avatar Oct 13 '13 14:10 GuyGood

So this is related to #3937 ?

That's problematic.

Digitoxin avatar Oct 13 '13 15:10 Digitoxin

No, i used the old objloader. I also converted the model to json but this is permanently crashing Chrome...

ghost avatar Oct 13 '13 15:10 ghost

Could you share the obj that is crashing Chrome?

mrdoob avatar Oct 14 '13 08:10 mrdoob

Yes I could, but not here in open. Is there a possibility to send a PM or to have your mail?

ghost avatar Oct 14 '13 10:10 ghost

[email protected] thanks! :)

mrdoob avatar Oct 14 '13 18:10 mrdoob

@suddenheroes thanks for providing the model! the loading performance should now be as it used to.

mrdoob avatar Oct 18 '13 03:10 mrdoob