Avoiding micro-lag for 64bit context menu?

Features wanted...
Post Reply
Marco
Posts: 2304
Joined: 27 Jun 2011 15:20

Avoiding micro-lag for 64bit context menu?

Post by Marco » 26 Feb 2014 12:56

Would having ContextMenu64.exe constantly running in the background avoid the micro-lag that happens when choosing the 64-bit context menu from the regular menu? If so, would it be a feasible option?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 49770
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Avoiding micro-lag for 64bit context menu?

Post by admin » 26 Feb 2014 15:44

Well, currently ContextMenu64.exe constantly running in the background anyway once you have called it. It's removed when XY is removed. So there is a theoretical possibilty to speed things up by communicating with it via WM_COPYDATA instead of calling a new instance each time. But this is Mesh's work not mine.

But, I don't think the lag is bad. It's almost instant over here. It's probably even other things (shell extensions) that make it slow at your place.
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Or wear a mask! 😷

Marco
Posts: 2304
Joined: 27 Jun 2011 15:20

Re: Avoiding micro-lag for 64bit context menu?

Post by Marco » 26 Feb 2014 23:51

Oh, I just saw in Task Manager that ContextMenu64 is loaded together with XY and not with every single context menu call. WM_COPYDATA is the way to go imho. If I remember correctly, you currently write a temp file text containg the path of the desired item and then fire up ContextMenu64, which reads such file and open the menu? Such disk may be the cause. If other shell extensions were the cause, the context menu would not be instant in WE either, right?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 49770
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Avoiding micro-lag for 64bit context menu?

Post by admin » 27 Feb 2014 09:10

Right. :)

But I don't think the disk writing causes a notable lag. Rather calling a 2nd instance of the helper app, which then defers the call to the already running app, or closes the running app (not sure how it is done).
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Or wear a mask! 😷

Filehero
Posts: 2407
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Avoiding micro-lag for 64bit context menu?

Post by Filehero » 27 Feb 2014 11:11

admin wrote:But I don't think the disk writing causes a notable lag.
Not with a SSD. :lol:

admin
Site Admin
Posts: 49770
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Avoiding micro-lag for 64bit context menu?

Post by admin » 27 Feb 2014 11:24

:beer: :beer: :beer: ALAAF! :beer: :beer: :beer:

It was you who posted at 11:11. :biggrin:

Business closed for today. :whistle:
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Or wear a mask! 😷

Filehero
Posts: 2407
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Avoiding micro-lag for 64bit context menu?

Post by Filehero » 28 Feb 2014 06:58

admin wrote:It was you who posted at 11:11. :biggrin:
For once this wasn't on purpose. I hope the hangover is ok. :whistle:

/e:
- it's around 11 am and no signs from Don -> medium heavy hangover. :lol:


Cheers,
Filehero
Last edited by Filehero on 28 Feb 2014 11:08, edited 2 times in total.

40k
Posts: 234
Joined: 09 Dec 2011 21:25

Re: Avoiding micro-lag for 64bit context menu?

Post by 40k » 28 Feb 2014 09:34

admin wrote:Well, currently ContextMenu64.exe constantly running in the background anyway once you have called it. It's removed when XY is removed. So there is a theoretical possibilty to speed things up by communicating with it via WM_COPYDATA instead of calling a new instance each time. But this is Mesh's work not mine.

But, I don't think the lag is bad. It's almost instant over here. It's probably even other things (shell extensions) that make it slow at your place.
Individual performance varies. My 64-bit menu takes just over 2 seconds to load. But I'm on i3 1.5ghz laptop.
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial

Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Re: Avoiding micro-lag for 64bit context menu?

Post by Enternal » 28 Feb 2014 23:45

Yeah performance really is different. Although it's pretty instant for me now ever since I just put together a new computer this month. Which is why I have been gone for most of the time (due to school work as well). It was about time for a new desktop. My desktop before was from 2001. The family desktop is newer from 2007 and primarily used by me but it's upstairs while my room is down stair. My laptop however served me well since 2011 but just thought that it would be a good idea to actually built a new one now. The total cost was actually only $1050 so I think that it's pretty decent price... I think.

8-Core Overclocked AMD FX-8320 4.3 GHz
16GB Ram
Dual Monitor (24 inch)
120GB SSD
1TB Main HDD + 4TB HDD
Backlit Mechanical Keyboard + High Quality Mouse
other stuff

Yeah. I'm bragging but at the same time, XYplorer is working wonderful on it. It feels even better now with the SSD since almost everything it does is almost instant. Only issue is that I still hope that one day XYplorer can fully support Windows 7+ features like libraries, jumplists, and etc.

michaelbeijer
Posts: 57
Joined: 19 Apr 2014 00:27
Location: Hastings, East Sussex, UK.
Contact:

Re: Avoiding micro-lag for 64bit context menu?

Post by michaelbeijer » 03 Feb 2015 01:16

Hmm. It's 2015 now and I am getting pretty annoying lags between right-clicking and the context menu appearing (on Windows 7 64-bit on a very fast computer with SSDs and 32GB RAM). Have a look: https://dl.dropboxusercontent.com/u/680 ... icking.mp4
Translator & Terminologist (http://beijer.uk/)
(System: Windows 7, 64-bit, 27" monitor)

admin
Site Admin
Posts: 49770
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Avoiding micro-lag for 64bit context menu?

Post by admin » 03 Feb 2015 08:58

Quoting myself from above:
Well, currently ContextMenu64.exe constantly running in the background anyway once you have called it. It's removed when XY is removed. So there is a theoretical possibilty to speed things up by communicating with it via WM_COPYDATA instead of calling a new instance each time. But this is Mesh's work not mine.
So, Mesh is the man to talk to. He is here in the forum once in a while.
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Or wear a mask! 😷

Post Reply