Worried about increasing preview times.

Discussion and feedback on Construct 2

Post » Tue Jun 09, 2015 5:52 pm

@Ashley

I ran some tests with a stopwatch.

Time:


(I start the timer when I hit the preview button in C2 and stop it when I see the game running).

NW.js - 10.5 - took about 4 to 5 seconds to see the loading bar and another 40 seconds of loading. Total ~ 45 seconds

Firefox - most of the time did not even show a loading bar and sometimes brought up a script dialog box. Overall times were around 21 to 35 seconds depending on what it was in the mood for. Total ~ 21 to 35 seconds

Chrome
- slightly faster than NW at about 3 to 4 seconds to bring up the load bar, and maybe 30 seconds to load. Total ~ 34 seconds

Note: I usually close the game before running a new preview, because it only saved a couple seconds leaving it running.

Performance:

NW.js - 10.5 very smooth 60fps and very low cpu usage around 2%

Firefox very unpredictable loading, but fine afterwords, pretty smooth 60fps and slightly higher cpu usage around 11%

Chrome smooth at windowed size, but garbage fps when maximized, cpu usage around 6%

Project details:

Game type: Isometric with pre-rendered 3d animations. Uses pathfinding and mouse click movement (like Age of Empires or Baldur's Gate)

Stats: (shown either at status bar at bottom of project or in-game)

approx download: 26.8
memory use 146 (around 113 in game)
events: 908
object count (in game): 196
very minimal particle effects
very minimal webgl effects

Note: I have not yet created any audio for this game yet. It does feature quite a few detailed animations being that it is isometric and needs to have different directions animated. The levels are very small, and there will only be 2 or 4 characters on screen at most.

My PC:

i5-3550 @3.30ghz
gtx 680 superclocked
16gb ram
standard 7200rpm hdd
win 7 pro
B
75
S
30
G
35
Posts: 340
Reputation: 22,896

Post » Tue Jun 09, 2015 6:40 pm

@DrewMelton

You really, really, really need an ssd.

With a system that powerful I'd be surprised if that wasn't your bottleneck.
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Tue Jun 09, 2015 6:58 pm

TiAm wrote:@DrewMelton

You really, really, really need an ssd.

With a system that powerful I'd be surprised if that wasn't your bottleneck.


Yeah, it's been on my list of things to get. I just haven't gotten around to it. If everyone here thinks it will speed up times considerably enough to warrant the price and effort, then I'll make it my next purchase.

If it's just 5 seconds or so saved, then it may not be worth it. I have a ton of stuff installed on this computer, so if I have to reinstall the full OS just to make use of it, I may not feel like doing it unless it's really worth it.
B
75
S
30
G
35
Posts: 340
Reputation: 22,896

Post » Tue Jun 09, 2015 7:14 pm

@DrewMelton

Know anybody with a similar pc who has an ssd? Could always do a test run first.

I know what you mean about OS migration though...I had to do that about a year ago, and I'm just getting to where everything is configured right again...:P

If you do get one, btw, I'd recommend one with power loss protection. A spendy option is an intel 730; a more reasonable one is a Crucial MX100, which is what I have.
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Tue Jun 09, 2015 7:31 pm

I can vouch for SSD. I got one a few months ago. No jokes 10 times performance increase. Photoshop loads in a second. PC boots in under 3 seconds. Haven't had a single software crash of any kind.

When they say its the single best upgrade you can do for your pc, it is the truth. I am just sorry I didn't do it ages ago ;)

Got the samsung with 10 year warrenty. And samsung magician keeps this drive purring.
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,708

Post » Tue Jun 09, 2015 7:57 pm

@TiAm & @DrewMelton I mentioned earlier that both my machines use above-average SSD's + good CPUs and I still had projects with 10+ second preview times. I'm sure SSD's help a little but it looks like we need more optimizations on C2's part.
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Tue Jun 09, 2015 8:50 pm

Tokinsom wrote:@TiAm & @DrewMelton I mentioned earlier that both my machines use above-average SSD's + good CPUs and I still had projects with 10+ second preview times. I'm sure SSD's help a little but it looks like we need more optimizations on C2's part.


Maybe you preview more often than me, but I wouldn't consider that excessive for a large game. OTOH, having to wait 45 seconds like DrewMelton would drive me nuts.
Last edited by TiAm on Tue Jun 09, 2015 8:57 pm, edited 2 times in total.
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Tue Jun 09, 2015 8:55 pm

lol I swear no one actually reads my posts around here.
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Tue Jun 09, 2015 8:58 pm

@Tokinsom could you describe your project a bit? how many sounds, images etc you have?
ImageImageImageImage
B
157
S
66
G
41
Posts: 2,599
Reputation: 34,835

Post » Tue Jun 09, 2015 8:58 pm

Tokinsom wrote:lol I swear no one actually reads my posts around here.


Whoops... :lol:
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests