webaverse / app

Web metaverse client
https://app.webaverse.com
MIT License
339 stars 210 forks source link

time comparison ktx2/non-ktx2 assets #3384

Open alisaad673 opened 2 years ago

alisaad673 commented 2 years ago

Hardware: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz 16Gb Ram Nvidia Quadro m5000m

Connection Speed: 10 MB/s (actual download speed: 1mb/s)

Scn only having:

Homspace without avatar:

Model Type model size total resources first time load Second time load
Non-ktx2 10.8mb 268mb 17.5-19,73 Sec 14-15.45 Sec
ktx2 2.6mb 261mb 15.5-17 Sec 12-13 Sec

Homspace with avatar(gear.vrm) :

Model Type model size total resources first time load Second time load
Non-ktx2 10.8mb 278mb 18-20 Sec 15-16 Sec
ktx2 2.6mb 270mb 16.5-17.9 Sec 12-13 Sec

Homspace with avatar(ann.vrm) :

Model Type model size total resources first time load Second time load
Non-ktx2 10.8mb 313mb 19-20 Sec 15-16 Sec
ktx2 2.6mb 306mb 16-17.9 Sec 12.5-13.5 Sec

Homspace with avatar(Drake v8.vrm) :

Model Type model size total resources first time load Second time load
Non-ktx2 10.8mb 316mb 17-18 Sec 14-15 Sec
ktx2 2.6mb 308mb 17 Sec 12-13.5 Sec
Current street scene: total resources first time load Second time load
348mb 44-46 Sec 21-24 Sec
avaer commented 2 years ago

Wow that is quite bad...

So it seems none of this is dominated by KTX2 size, but by other downloads.

avaer commented 2 years ago

Can we break out the 300mb download into the different assets + categories? What is taking 90% of download time.

Additionally, we should separate download time from parse time.

A good goal would be to get this under 10 seconds until live game on that connection (things can load dynamically afterward).