v7.1/VTFT very slow code generation compared to 4.6.1/3.8.0

General discussion on mikroPascal PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
OT
Posts: 581
Joined: 19 May 2005 05:08
Location: Fairbanks, Alaska

v7.1/VTFT very slow code generation compared to 4.6.1/3.8.0

#1 Post by OT » 30 May 2018 23:40

While a small edit, like changing the color of an object takes about 50 seconds in 7.1/VTFT the same code generation in VTFT 4.6.1 or 3.8.0 only takes a few seconds. Something does not seem right. Both tests were performed in Virtual machines with 8 processor threads available.

When the 7.1/VTFT version is working on updating, the Windows wait cursor is blinking very rapidly. I wonder if there are a lot of wasted CPU cycles spent on updating that.
mikropascal dsPIC, Visual TFT, MMBdsPIC v.105, 1.10_9A, mikroProg, "Big"(P30F6012A)EasydsPIC2

User avatar
petar.suknjaja
mikroElektronika team
Posts: 683
Joined: 05 Mar 2018 09:44
Location: Belgrade

Re: v7.1/VTFT very slow code generation compared to 4.6.1/3.

#2 Post by petar.suknjaja » 04 Jun 2018 13:00

Hi,
Could you post a code that could demonstrate that.
I've couldn't recreate slow generation of code.
Kind regards,
Petar

OT
Posts: 581
Joined: 19 May 2005 05:08
Location: Fairbanks, Alaska

Re: v7.1/VTFT very slow code generation compared to 4.6.1/3.

#3 Post by OT » 05 Jun 2018 10:21

I am attaching a 7.1 project that takes between 30 and 60 seconds to update in the VM after only a small change, for the test I changed property of the circle and locked the layer. The VM is likely slower than a primary installation and an SSD even faster, but the difference to VTFT 4.6.1 is pronounced, which typcally only takes a few seconds for a much larger project.
Attachments
Test2.zip
(621.74 KiB) Downloaded 97 times
mikropascal dsPIC, Visual TFT, MMBdsPIC v.105, 1.10_9A, mikroProg, "Big"(P30F6012A)EasydsPIC2

User avatar
petar.suknjaja
mikroElektronika team
Posts: 683
Joined: 05 Mar 2018 09:44
Location: Belgrade

Re: v7.1/VTFT very slow code generation compared to 4.6.1/3.

#4 Post by petar.suknjaja » 11 Jun 2018 15:58

Hi,

I tried to recreate your test with the code that you have uploaded ,but compiler generated code in a second or two,
I think this might be something to do with the fact that you're using VM for testing.

If anyone also tested this, please submit your results here.

Kind regards,
Petar

Post Reply

Return to “mikroPascal PRO for dsPIC30/33 and PIC24 General”