mmoalem Posted April 11, 2016 Posted April 11, 2016 HI there so finally got my first script working. Total beginner here BTW SO the script will run in a loop 24/7 with some 1000 lines of code. Running it from scite has the advantage that I can modify it as and when I need to so trying to figure out the advantages of compiling it (for instance I dont need it to be portable exe as it is only correct for the particular server I setup)
AutoBert Posted April 11, 2016 Posted April 11, 2016 Running as exe has in your case (specialy for one machine) only one advantage: you can write and test other scripts with scite.
alien4u Posted April 11, 2016 Posted April 11, 2016 (edited) Hi again @mmoalem As far as I know every time you run the script there will be syntax check, pre compile task and then run your script, so I think(no completely sure) a compile script will have better performance than just running the script. I'm a beginner like you so let the one with more expertise tell us the final words. Regards Alien. Edited April 11, 2016 by alien4u typo fixed
mmoalem Posted April 11, 2016 Author Posted April 11, 2016 thanks - I guess the real question for me was are there advantages in regard to CPU and memory usage once compiled?
JohnOne Posted April 12, 2016 Posted April 12, 2016 Yes there is. 1 process versus 3 or 4 including Wrappers etc, scite and autoit. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
alien4u Posted April 12, 2016 Posted April 12, 2016 3 hours ago, JohnOne said: Yes there is. 1 process versus 3 or 4 including Wrappers etc, scite and autoit. Meaning? sorry @JohnOne is not clear for me, English is not my first language. 1 - Process = Compile Script? 3 or 4 - Process = Running from SciTE editor? Regards Alien.
mmoalem Posted April 12, 2016 Author Posted April 12, 2016 I think he means that as an exe it is the only process running while running in scite means that the script is one process, scite itself is another prcess and so the wrappers that scite use to execute the script - so the CPU have 3 running processes
JohnOne Posted April 12, 2016 Posted April 12, 2016 6 hours ago, mmoalem said: I think he means that as an exe it is the only process running while running in scite means that the script is one process, scite itself is another prcess and so the wrappers that scite use to execute the script - so the CPU have 3 running processes Yes, plus autoit.exe AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now