Textbox CPU Usage

Bugs will be moved here once resolved.

Post » Wed Sep 04, 2013 10:57 pm

Link to .capx file (required!):
https://www.dropbox.com/s/idbzqygq6wp6rdm/textbox_bug.capx

Steps to reproduce:
1. load project, run the debugger, no interaction needed
2.
3.

Observed result:
CPU usage goes to 17% (on my machine). Each text box adds between 5-6% CPU usage each... and it keeps increasing. I've managed to exceed 50% with 10 textboxes. Disabling the textbox makes no difference.

Expected result:
a disabled textbox should have no appreciable CPU usage
an active textbox with no attached events should not be consuming so much CPU time - it's effectively a static structure... eg html forms.

Browsers affected:
Chrome: not tested
Firefox: yes
Internet Explorer: yes (ie10)

Operating system & service pack:
Windows 8 professional

Construct 2 version:
R141 (correction, I was actually on R142)rho2013-09-05 06:47:07
B
7
S
3
G
1
Posts: 184
Reputation: 1,352

Post » Thu Sep 05, 2013 2:09 am

Well I'm getting fps drops using the new version (143) while running my project, that did not occured while running with older versions, but your problem seems to occur with 141 version.. not sure if there is something common about that
B
32
S
6
G
5
Posts: 437
Reputation: 6,119

Post » Thu Sep 05, 2013 6:45 am

Correction, I was on R142

I've just downloaded R143 and I found the textbox impact seems to be similar.

B
7
S
3
G
1
Posts: 184
Reputation: 1,352

Post » Thu Sep 05, 2013 2:05 pm

I've managed to optimise this a lot for the next build - even a screen full of controls should then only use a few % of engine CPU. However we haven't changed anything to do with these in recent builds so it's unlikely any performance difference in r141-143 is related to this.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,361

Post » Thu Sep 05, 2013 7:26 pm

Thanks Ashley!!

I'd not have noticed as I've only been a user since R139 (and I've bought a licence too).

Spotting this would not have been possible if it were not for your excellent debugger and profiler. I'm sure this is not going to be the last optimisation issue that the profiler will help us spot.

R

rho2013-09-05 19:28:51
B
7
S
3
G
1
Posts: 184
Reputation: 1,352


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests