AutoHotkey Community

It is currently May 25th, 2012, 10:23 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 91 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
Author Message
 Post subject:
PostPosted: November 17th, 2007, 8:14 am 
Offline

Joined: April 9th, 2006, 3:50 pm
Posts: 5
A thousand thank yous, corrupt. The solution and project files you provided easily upgraded to VC++ 2008 Express Edition (Beta 2) with no errors.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 4th, 2007, 1:36 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
AutoHotkey builds well on VC08 Express with Vista SDK, all you need to do:
  1. Do Visual Studio upgrade wizard (choose No for backup)
  2. Change Debug to Release
  3. Right click AutoHotkey project then Properties
  4. Under C/C++ change Treat Warnings As Errors to No
  5. In Linker > Input remove "LibCMT;" from Ignore Specific Library
  6. Press F7 to build

I noticed a performance improvement when AutoHotkey was build this way and left uncompressed - as much as 30% faster for the most basic loop and var set test.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 4th, 2007, 3:30 pm 
Offline

Joined: April 9th, 2006, 3:50 pm
Posts: 5
Titan wrote:
I noticed a performance improvement when AutoHotkey was build this way and left uncompressed - as much as 30% faster for the most basic loop and var set test.


Forgive my ignorance, but the 30 percent improvement is being compared to what? VC++ 7 build with Vista? 2005 Express build with Vista? Thanks in advance.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 4th, 2007, 3:41 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
Compared to the official released, which is also uncompressed.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 5th, 2007, 5:26 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
Titan wrote:
Compared to the official released, which is also uncompressed.
The official release is uncompressed??


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 5th, 2007, 12:50 pm 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7501
Location: Australia
corrupt wrote:
Titan wrote:
Compared to the official released, which is also uncompressed.
The official release is uncompressed??
I don't think so. It probably doesn't matter, considering the EXE is decompressed (into memory) before the script starts... right?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 5th, 2007, 3:19 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
corrupt wrote:
The official release is uncompressed??
No, I de-upx it after installation to reduce launch times.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 5th, 2007, 3:22 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8775
Titan wrote:
I de-upx it after installation to reduce launch times.


:roll:

IIRC, elsewhere in our forum, Mr.Chris quoted that a compressed exe would load faster than an uncompressed one.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 5th, 2007, 3:28 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
It depends on cluster size, HD fragmentation etc...
It may be faster, especialy on multiple launches, to remove compression, but I doubt its noticable.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 5th, 2007, 3:38 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
Skan wrote:
IIRC, elsewhere in our forum, Mr.Chris quoted that a compressed exe would load faster than an uncompressed one.
On another thread dedicated to this I posted a benchmark script with my machine spec and graphs which show that an uncompressed exe launches a lot faster, especially if it were from LZMA. I believe others like Sean do the same, but as maji said it depends on your usage (since UPX does not cache but results in shorter seeks etc.).

One thing for sure is that the MS C++ compiler has improved over the years (although GCC still owns, apparently).

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 5th, 2007, 3:46 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8775
Thanks for the clarifications majkinetor / Titan. :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 6th, 2007, 2:34 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
Thanks for clarifying :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 27th, 2008, 10:28 am 
Offline

Joined: May 9th, 2007, 8:13 am
Posts: 45
i succesfully compiled the source,but i can only see autohotkey.exe,autohotkeysc.bin is not there,any hints?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 27th, 2008, 10:32 am 
Offline

Joined: February 18th, 2008, 8:26 pm
Posts: 442
dandy wrote:
autohotkeysc.bin is not there
You need the script compiler source.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 27th, 2008, 10:36 am 
Offline

Joined: May 9th, 2007, 8:13 am
Posts: 45
hi,

thanks for your reply.

i have the script compiler source too and it compiled ok too,but the files to create autohotkeysc.bin are not there,theres only ahk2exe.exe.


any other tip?


thanks


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 91 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: ELengefeld, IsNull, tidbit, toddintr and 18 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group