I ran Four tests, most of them are faster with the new dll.
If I had remembered to turn my Web browser off during the tests they probably all would be faster, lol.
The first Four images are BEFORE I changed the dll and last Four are AFTER.
Hi all,
I think I've got some more speed improvements in thinBasic Core, enough significant to ask you for some tests.
If you have some spare time, can you please download attached thinCore.dll file (copy over the one you will find into \thinBasic\ directory) and make some speed tests using the scripts you will find into \thinBasic\SampleScripts\General\Speed\ directory?
Improvements should be all over the script execution and not specific to some particular situation. Mainly I've changed the way LONG numbers are handled inside Core engine. Previously I was using POKE/PEEK while this core has pointers to LONGs instead. If you will confirm the same improvement I've got (about 5/10%) I will change all other numeric types.
Thanks a lot
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
I ran Four tests, most of them are faster with the new dll.
If I had remembered to turn my Web browser off during the tests they probably all would be faster, lol.
The first Four images are BEFORE I changed the dll and last Four are AFTER.
Operating System: Windows 10 Home 64-bit
CPU: Intel Celeron N4000 CPU @ 1.10GHz
Memory: 4.00GB RAM
Graphics: Intel UHD Graphics 600
Thanks a lot matthew.
Hey the first test, the one with 100000 different loop type seem very significant! Maybe too much.
Was the first script executed after some thinBasic run or was it executed as first thinBasic script during the day? It may suffer from some caching.
Ciao
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Here are my results with modified test routines.
have fun.
Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370
Abraxas, no improvements but worst results in your case.
What a success I've got!
A little note: in you script USES "CORE" is not needed because loaded by default.
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Before I ran the tests I downloaded the new preview version of ThinBASIC.Originally Posted by ErosOlmi
It was the first script I ran after installation.
Operating System: Windows 10 Home 64-bit
CPU: Intel Celeron N4000 CPU @ 1.10GHz
Memory: 4.00GB RAM
Graphics: Intel UHD Graphics 600
Eros didnt think I needed it, thanks.
Can a script call another script?
Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370
You can call another script by shelling a new process like any other shell command.
With thinBasic scripts you cannot make something like "chaining".
But this is an interesting idea :
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Eros:
Attached are some spped test for you.
Don B.
XPS 1710
Hi Eros,
seems nice here, about 10-20% speed increase in loops !
Just one thing - is it safe to use LONG instead of DWORD for pointers ?
No GPF or anything, just curious
Thanks a lot,
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Bookmarks