James Taylor: Erwin Stull, Sr.:save it as Filename.cmd how did you accomplish this? when I attempt it says it an invalid name...
Erwin Stull, Sr.:save it as Filename.cmd
how did you accomplish this? when I attempt it says it an invalid name...
Hi James; Jonathan Pitts suggested that. You create a text file with the original command line as suggested by Faithlife, then save it with a cmd extension. TCBlack answered below.
You don't need a batch file. Just create a shortcut on your desktop (right-click -> New -> Shortcut) to "%localappdata%\Logos\Logos.exe /ngen" (without parens).
Copy that shortcut, Right-click -> properties and change /ngen to /unngen.
You can also copy these shortcuts to your Logos toolbar.
Forum Theme ◆ Enhanced Forum Search ◆ VotD for Rainmeter
Andrew Batishko (Faithlife):We're not entirely sure yet how this will be implemented generally. It can't be done completely automatically, since it requires elevation, and it has to happen after every time a new version is installed. Assuming that your experience is generally shared by others, we'll be taking a look at the best way to integrate this more cleanly.
Andrew, please find a way to automate this, even if there is a nag screen where you select a button that activates the code after each new install.
Lynden Williams Communications https://www.lyndenwilliams.net
Why cannot logos installer detect the OS and not make the faster startup default?
In a post earlier in this thread Andrew did outline some technical issues in automating this but also said
Andrew Batishko (Faithlife):Assuming that your experience is generally shared by others, we'll be taking a look at the best way to integrate this more cleanly.
Let's give them a bit of time to do that.
Randy W. Sims: You don't need a batch file. Just create a shortcut on your desktop (right-click -> New -> Shortcut) to "%localappdata%\Logos\Logos.exe /ngen" (without parens). Copy that shortcut, Right-click -> properties and change /ngen to /unngen.
Can you explain the reason for changing /ngen to /ungen
Thanks
EDIT: Never mind. I re-read the initial post and see that this is the process for undoing the /ngen process. [slaps forehead]
Help links: WIKI; Logos 6 FAQ. (Phil. 2:14, NIV)
Randy W. Sims:"%localappdata%\Logos\Logos.exe /ngen"
Like this?
Logos 8 | Dell Inspiron 7373 | Windows 10 Pro 64, i7, 16GB, SSD | iPhone X | iMac 27" i7, 16GB, SSD | OS 10.13
James Taylor: Randy W. Sims:"%localappdata%\Logos\Logos.exe /ngen" Like this?
Yes, that looks right.
Peter Lever: Why cannot logos installer detect the OS and not make the faster startup default?
There should be an option not to do it. Logos already uses a vast amount of disk space. I'm not using Logos very much at the moment, and I am opting to save my disk space for other things.
By the way, has anyone noted how much disk space NGen on Logos uses?
Jonathan Pitts:By the way, has anyone noted how much disk space NGen on Logos uses?
Not much. I believe the compiled output are in "C:\Windows\Assmeby". Mine grows from 1.43GB to 1.78GB. There is no change in the size of the Logos folder.
Randy W. Sims: Jonathan Pitts:By the way, has anyone noted how much disk space NGen on Logos uses? Not much. I believe the compiled output are in "C:\Windows\Assmeby". Mine grows from 1.43GB to 1.78GB. There is no change in the size of the Logos folder.
Thank you. I may reconsider then.
N
Hi
does this only work with the beta only.?
Would like to try with the standard stable version
Mick
Michael:does this only work with the beta only.?
Sorry this is only available with the beta release
Michael: does this only work with the beta only.? Would like to try with the standard stable version
If you can locate the ngen program, you can run it directly rather than using the Logos command line parameter.
A clue to its location can be found in the title bar of the third screenshot of the initial post.
Microsoft documentation for the ngen tool is here: https://docs.microsoft.com/en-us/dotnet/framework/tools/ngen-exe-native-image-generator
You'll want to use the install action.
Andrew Batishko (Faithlife): If you can locate the ngen program, you can run it directly rather than using the Logos command line parameter. A clue to its location can be found in the title bar of the third screenshot of the initial post. Microsoft documentation for the ngen tool is here: https://docs.microsoft.com/en-us/dotnet/framework/tools/ngen-exe-native-image-generator You'll want to use the install action.
Assuming the Logos command line parameter simply invokes ngen with the right parameters, someone on the beta program could use task manager or similar to grab the ngen command line that Logos invokes and post that here in the forum. I'm not on the beta program.
Donnie
Randy W. Sims: You don't need a batch file. Just create a shortcut on your desktop (right-click -> New -> Shortcut) to "%localappdata%\Logos\Logos.exe /ngen" (without parens). Copy that shortcut, Right-click -> properties and change /ngen to /unngen. You can also copy these shortcuts to your Logos toolbar.
Great! Thanks. I LOVE this new speed.
Other than faster load time with NGen, if I don't often re-open Logos, is there actually a penalty for using NGen, as JIT compiled code is actually faster than NGen once methods are compiled? I will fiddle with this.
Just about every aspect of the program is noticeably faster.
I haven't been this excited about the speed of Logos in a long time (since Logos 4).
Peter
Got it installed , working with standard stable version. l am not using beta version
It is definitely faster on startup and lightning fast with searches
Is there any particular search test you would like me to do
I've just checked the log file ngen
This is what I'm getting
08/08/2017 14:43:30.290 [6772]: Command line: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen.exe install D:\Users\Mick\AppData\Local\Logos\Logos.exe/ngen 08/08/2017 14:43:30.311 [6772]: Uninstalling assembly D:\Users\Mick\AppData\Local\Logos\Logos.exe/ngen because of an error during compilation: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047).08/08/2017 14:43:30.312 [6772]: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)08/08/2017 14:43:30.312 [6772]: ngen returning 0xffffffff
What am I doing wrong
mick