some loading time tests (not very scientific!)
Sparkyidr
Member Posts: 2,033
so, I just built a mock-up of an app we are working on.
The mock up is 4 scenes
1. a Simple splash screen, 1 image, 2 actors
2. an options scene. 4 actors with very very few rules
3. a little animation type scene
4. a results scene with 2 actors, each with one rule.
so yeah, a pretty simple project. Did an ad-hoc build to see how the loading times are.
Between scenes the loads are really really good (I assume down to there being few rules, and no sounds)
I set up a simple splash scene to see if it made the initial loads any better rather than going into a scene with loads going on.
Here are my findings.
Initially it loaded to my scene1 in around 2 seconds. wow...awesome.
I quit
next load : 4 seconds
next load : 12 seconds
next load : 12 seconds
next load : 11 (12?) seconds
I then loaded up another app, and quit
Then went back to my app
next load : 5 seconds
next load : 9 seconds
next load : 7 seconds
next load : 12 seconds
not sure what this says.....but thought I would share my findings. Deffo seems like something is happening to make the load times extend, the more you load the app??
This is on an iPhone - 32gig 3GS.
The mock up is 4 scenes
1. a Simple splash screen, 1 image, 2 actors
2. an options scene. 4 actors with very very few rules
3. a little animation type scene
4. a results scene with 2 actors, each with one rule.
so yeah, a pretty simple project. Did an ad-hoc build to see how the loading times are.
Between scenes the loads are really really good (I assume down to there being few rules, and no sounds)
I set up a simple splash scene to see if it made the initial loads any better rather than going into a scene with loads going on.
Here are my findings.
Initially it loaded to my scene1 in around 2 seconds. wow...awesome.
I quit
next load : 4 seconds
next load : 12 seconds
next load : 12 seconds
next load : 11 (12?) seconds
I then loaded up another app, and quit
Then went back to my app
next load : 5 seconds
next load : 9 seconds
next load : 7 seconds
next load : 12 seconds
not sure what this says.....but thought I would share my findings. Deffo seems like something is happening to make the load times extend, the more you load the app??
This is on an iPhone - 32gig 3GS.
Comments
iCannon Loading On 3MegaBit Wifi - 11 seconds
iCannon Loading On Cellar Network - 25 seconds
This is on a 16Gig iPhone 3GS
Others on this forum have mentioned the possibility of memory not being released, or actors not being destroyed when changing scenes and various other possibilities.
Thanks for sharing your test results. Let us know if you learn more.
I've also wondered if having more scenes helps with initial load time.
The only thing I have noticed is that if the initial scene has a lot of compressed audio (ogg) that affected my load time a lot.
It would be nice to know what is actually happening on that initial load.
Like I said in the original post, sometimes, this new app I am working on loads up in 2 seconds...that would be ACE if I could keep it around that.but other times it takes 12 seconds. Seems like a massive difference for loading the same app?
Do you know what level of published app size bloating occurs when adding scenes cause or is the scene overhead minimal and the published app size is more relevant to the library content and actor counts within the scene?
In other words...how much end (published) file size increase occurs if you add a blank unused scene? Anyone know the load time for a "blank" scene?
example:
Donk lite v1.0 was around 2meg.
Donk lite v1.1, which contains 8 more ogg files, and 1 extra 30 second m4a is 7.4 meg
but no extra scenes.
load time seems pretty much the same between v1 and v1.1
I will do some testing later though with a bunch of empty scenes to see how that affects the size.
BTW:
A 5.4 MB bump for 9 audio files seems high.
Our music track for one scene is 54 seconds and the file size is around 800KB and sounds fine.
Unless all 9 of your audio clips were around a minute long...it sounds like too much.
You may need to optimize some...unless you want all that HI-FI quality in there.
Yeah, the audio was all nice quality stuff (am a studio engineer/producer in the day job so quality is important to me)
I got my numbers wrong though
1.0 was 1.8meg
1.1 was 6.4 meg
so a bit less of a difference than I first reported. )
re: audio file sizes:
Sure quality in important...but in game design...optimization is more important.
Optimize and you can get more samples on there and make the game richer and deeper.
Just a thought.