RE: [nant-dev] resgen speed
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Aliger Sent: dinsdag 7 februari 2006 8:03 To: nant-developers@lists.sourceforge.net Subject: [nant-dev] resgen speed Gert, you wrote (in response to one issue report): Resgen should be a lot faster in the nightly builds of NAnt (http://nant.sourceforge.net/nightly/latest). Can you try this and let us know if performance is acceptable ? I tried and there is very significant speed improvement (45min-17min). I believe it's on resource handling. Where was the catch? We now first check whether a resx might contain references to non-system types, and if not, do not bother copying the referenced assemblies to a temp directory to allow resgen to resolve these types. Note: on .NET 2.0, we do not need to copy the referenced assemblies at all (or check whether copying is needed), as resgen now has command line options for passing a set of referenced assemblies. Gert --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] resgen speed
Good, thanks for explanation. btw: (that one I forgot to write before :) If (targetframework==framework_nant_is_running on) { we could use ResouceWriter class as someone suggested? is it only condition or there are other catches? } Since I think, this condition is usually met, it could be worth of. Mainly since in large solutions, resgen time is crutial (every ms counts). Martin Aliger -Original Message- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 9:56 AM To: 'Martin Aliger'; nant-developers@lists.sourceforge.net Subject: RE: [nant-dev] resgen speed -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Aliger Sent: dinsdag 7 februari 2006 8:03 To: nant-developers@lists.sourceforge.net Subject: [nant-dev] resgen speed Gert, you wrote (in response to one issue report): Resgen should be a lot faster in the nightly builds of NAnt (http://nant.sourceforge.net/nightly/latest). Can you try this and let us know if performance is acceptable ? I tried and there is very significant speed improvement (45min-17min). I believe it's on resource handling. Where was the catch? We now first check whether a resx might contain references to non-system types, and if not, do not bother copying the referenced assemblies to a temp directory to allow resgen to resolve these types. Note: on .NET 2.0, we do not need to copy the referenced assemblies at all (or check whether copying is needed), as resgen now has command line options for passing a set of referenced assemblies. Gert --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] resgen speed
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Aliger Sent: dinsdag 7 februari 2006 10:33 To: 'Gert Driesen'; nant-developers@lists.sourceforge.net Subject: RE: [nant-dev] resgen speed Good, thanks for explanation. btw: (that one I forgot to write before :) If (targetframework==framework_nant_is_running on) { we could use ResouceWriter class as someone suggested? is it only condition or there are other catches? } That would be an option, yes. We'd need to perform this in a separate appdomain, to avoid having the default appdomain cluttered with assemblies from every project that is being built. But I'm not sure we want to maintant two separate implementations. Since I think, this condition is usually met, it could be worth of. Mainly since in large solutions, resgen time is crutial (every ms counts). I understand your pain ... Gert --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] resgen speed
Gert, you wrote (in response to one issue report): Resgen should be a lot faster in the nightly builds of NAnt (http://nant.sourceforge.net/nightly/latest). Can you try this and let us know if performance is acceptable ? I tried and there is very significant speed improvement (45min-17min). I believe it's on resource handling. Where was the catch? btw: Martin