PureBasic 4.10 Beta 2

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

Joakim Christiansen wrote:
blueznl wrote:but I need that editor somewhat fixed...
I didn't notice any errors in it, what's wrong?
It's running rather irregular here when I edit longer code, every time I change a line and move the cursor vertically, the IDE seems to be busy for half a second which is very annoying. I didn't have this on the 4.02 version.

Might just be me...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

I think that its a change in Scintilla - may be wrong though.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

@blueznl : I have the same problem; a 5000 line code program is really quite slow and erratic in the ide. No probs with 4.02.
I may look like a mule, but I'm not a complete ass.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

Thanks Srod! At least now I know I am not the only one. And yes, it's indeed in a larger source, lemme check... yep. 8000 lines. So it looks like this gets more visible on longer code.

And if it's a Scintilla change, then that's not one for the better :(
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

The Scintilla library has been through a big change to do with styles and indicators (it's for the best - in the long run). This is the most likely reason for the slowdown.

It's possible that the library will be optimised to solve the problem (I'm sure other apps are also seeing the slowdown). In the short term you could always break your code up into smaller, more manageable code - the smaller the file - the faster it should be.

Although saying that, ReportBuilder is over 20,000 lines long and I can't be bothered to break it up into smaller chunks! I just use a faster PC... :twisted:
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

DoubleDutch wrote:The Scintilla library has been through a big change to do with styles and indicators (it's for the best - in the long run). This is the most likely reason for the slowdown.

It's possible that the library will be optimised to solve the problem (I'm sure other apps are also seeing the slowdown). In the short term you could always break your code up into smaller, more manageable code - the smaller the file - the faster it should be.

Although saying that, ReportBuilder is over 20,000 lines long and I can't be bothered to break it up into smaller chunks! I just use a faster PC... :twisted:
:lol:
I may look like a mule, but I'm not a complete ass.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

Quad Core E6600 with Raptor Raid0 4 GB Ram and an 8800GTS coming up!
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
ABBKlaus
Addict
Addict
Posts: 1143
Joined: Sat Apr 10, 2004 1:20 pm
Location: Germany

Post by ABBKlaus »

blueznl wrote:Quad Core E6600 with Raptor Raid0 4 GB Ram and an 8800GTS coming up!
E6600 is Dual Core CPU :twisted:
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

ABBKlaus wrote:
blueznl wrote:Quad Core E6600 with Raptor Raid0 4 GB Ram and an 8800GTS coming up!
E6600 is Dual Core CPU :twisted:
Correct. It was A Q6600 IIRC.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

Bah.. just get a Quad Zeon System @ 3ghz. (12ghz total)

And that's a different kind of spee .. a 1ghz zeon almost outruns a 2ghz
P4.

- np
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

blueznl wrote:It's running rather irregular here when I edit longer code, every time I change a line and move the cursor vertically, the IDE seems to be busy for half a second which is very annoying. I didn't have this on the 4.02 version...
DoubleDutch wrote:I think that its a change in Scintilla - may be wrong though.
I am currently editing a 8000 lines source with jaPBe [using Scintilla 1.73] on my old PII-300MHz without any slow downs when moving cursor vertically :shock:
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

It's awfully slow here unless I turn off font smoothing. And recently it has started to lag very much when I scroll using the touchpad (not a problem when I scroll with the mouse). It seems like it gets slower when the file size is over so-and-so large, but huge files doesn't seem to make it much worse. And if there's a lot of code in view it seems to make it worse.

Edit: Also recently, it has started to hang for half a second and discard any input when a running program finishes. It only happens with complex programs and is much more common when the program is compiled with threadsafe.
dontmailme
Enthusiast
Enthusiast
Posts: 537
Joined: Wed Oct 29, 2003 10:35 am

Post by dontmailme »

10,000 lines on a 1.6Ghz pentium laptop.....

and no slowdown :)
Paid up PB User !
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

dontmailme wrote:10,000 lines on a 1.6Ghz pentium laptop.....

and no slowdown :)
Yeah guys, get control of your computers.. Sounds like you don't
maintain them very well. If you're wondering what I mean, I'll need
to start a whole thread on keeping your system up to par.

- np
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

NoahPhense wrote:
dontmailme wrote:10,000 lines on a 1.6Ghz pentium laptop.....

and no slowdown :)
Yeah guys, get control of your computers.. Sounds like you don't
maintain them very well. If you're wondering what I mean, I'll need
to start a whole thread on keeping your system up to par.

- np
You take that right back. I'll have you know I wash my laptop in soap and water every day. Once a week it gets a bath and dried in the tumble dryer and on Saturday night it's out having a few beers with the lads!

Show me a computer which gets better treatment than that!

:)
I may look like a mule, but I'm not a complete ass.
Post Reply