<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic arcpy and pmf in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547236#M18144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As far as I can tell, there is no Publisher support in arcpy, nor can you use it to check out the license.&amp;nbsp; This is a textbook situation where you want to use ArcObjects instead (see my presentation at the upcoming DevSummit).&amp;nbsp; I've attached an example script.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Feb 2010 20:23:14 GMT</pubDate>
    <dc:creator>MarkCederholm</dc:creator>
    <dc:date>2010-02-12T20:23:14Z</dc:date>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547235#M18143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Will the generation of pmf files be supported with arcpy?&amp;nbsp; I don't remember seeing anything in the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 18:29:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547235#M18143</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2010-02-02T18:29:02Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547236#M18144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As far as I can tell, there is no Publisher support in arcpy, nor can you use it to check out the license.&amp;nbsp; This is a textbook situation where you want to use ArcObjects instead (see my presentation at the upcoming DevSummit).&amp;nbsp; I've attached an example script.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 20:23:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547236#M18144</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2010-02-12T20:23:14Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547237#M18145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes, comtypes is pretty cool, thanks for the script, will give it a spin.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 20:43:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547237#M18145</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2010-02-12T20:43:30Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547238#M18146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mark -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you looked at IronPython with clrtypes, to do all the arcobjects, just inquiring?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 18:37:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547238#M18146</guid>
      <dc:creator>BartHound</dc:creator>
      <dc:date>2010-02-25T18:37:34Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547239#M18147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not yet; I plan to eventually, though I hear IronPython's performance leaves something to be desired.&amp;nbsp; Right now, I'm focusing on the Python shipped with ArcGIS.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 12:55:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547239#M18147</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2010-02-26T12:55:03Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547240#M18148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;FYI, I've now added IronPython to my list of COM interop performance benchmarks.&amp;nbsp; Here are the relative scores for calculating the average area of 500+K polygon features at 9.3.1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;VBA:&amp;nbsp;&amp;nbsp; 1.00&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C++/Native:&amp;nbsp; 1.00&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python/comtypes:&amp;nbsp; 3.54&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VB .NET:&amp;nbsp;&amp;nbsp; 3.54&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python/arcgisscripting: 3.62&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IronPython:&amp;nbsp; 4.78&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 16:12:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547240#M18148</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2010-03-15T16:12:36Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547241#M18149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Which version of Ironpython does this refer to?&amp;nbsp; What's interesting to me is the tie:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Python/comtypes:&amp;nbsp; 3.54&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VB .NET:&amp;nbsp; 3.54&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;kinda makes you not want to use vb.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 20:03:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547241#M18149</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2010-03-15T20:03:10Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547242#M18150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;IronPython is 2.6, CPython is 2.5.1, comtypes is 0.6.1&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 20:26:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547242#M18150</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2010-03-15T20:26:11Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547243#M18151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any testing with 2.6.2 with arcpy? Or is comtypes not ready for 2.6?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 21:22:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547243#M18151</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2010-03-15T21:22:09Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547244#M18152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried benchmarking your Python scripts against Python with psyco enabled? I wonder how much it would help, if the bottlenecks on the Python side can be significantly optimized away.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 22:26:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547244#M18152</guid>
      <dc:creator>JasonScheirer</dc:creator>
      <dc:date>2010-03-15T22:26:02Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547245#M18153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The comtypes package works just fine with 2.6.&amp;nbsp; There's an extra step if you're using ArcObjects rather than arcpy to initialize standalone licensing at 9.4(10) beta 2.&amp;nbsp; The only problem I've noticed with beta 2 is that ArcMap and ArcCatalog will bomb on closing if any pure python COM objects have been present.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't tried psyco but I'll look into it. [UPDATE:&amp;nbsp; No significant performance boost - the real bottleneck in the benchmark is COM interop (as intended), and psyco apparently can't do anything for that.]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Speaking of arcpy, I spent some time working with the mapping module at beta 1, but I'd like to spend some more time on it again this week before the DevSummit.&amp;nbsp; It's a great start anyway, and I definitely plan to attend the map automation session.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 13:09:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547245#M18153</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2010-03-16T13:09:15Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547246#M18154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you have any equivalent benchmark numbers for 9.4/10?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 14:31:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547246#M18154</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2010-03-16T14:31:30Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547247#M18155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I've discovered that my older numbers are no longer valid since I went from VS 2005 to 2008 (VB .NET is much worse now! :p).&amp;nbsp; Here are completely fresh scores for 9.3.1 vs. 9.4(10) beta 2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Benchmark:&amp;nbsp; Find average area of polygon records in a file GDB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Count: 521751&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Avg Area: 426300&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scores in seconds represent best of 3 runs&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;9.3.1 scores (seconds):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C++: 21 (1.0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VBA/ArcCatalog: 22 (1.0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VBA/Word2007: 30 (1.4)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VB .NET: 179 (8.5)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python/comtypes: 47 (2.2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python/arcgisscripting: 51 (2.4)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IronPython: 62 (3.0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Beta 2 scores (seconds):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C++: 12 (1.0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VBA/ArcCatalog: N/A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VBA/Word2007: 12 (1.0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VB .NET: 74 (6.2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python/comtypes: 37 (3.1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python/arcpy: 110 (9.2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IronPython: 48 (4.0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's a mystery to me is that VBA and C++ used to clock at 12-13 seconds on my 9.3.1 machine, and both are running slower now.&amp;nbsp; Python's about the same as what it was before.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 18:26:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547247#M18155</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2010-03-16T18:26:17Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547248#M18156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ironpython is faster than vb, and faster than arcpy, I bet (I hope) we will see an improved arcpy experience at Pre.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 22:26:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547248#M18156</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2010-03-16T22:26:52Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547249#M18157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As unintuitive as it seems, I�??ve discovered that defragging a hard drive can adversely tweak the performance of a file geodatabase.&amp;nbsp; After deleting and recopying my test dataset, I�??m getting numbers that once more are in line with what I�??ve seen in the past.&amp;nbsp; Here are the revised stats, and I�??ve added a few extra languages for comparison:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;9.3.1 scores (seconds):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C++/ATL: 13&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VBA: 14&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python/comtypes: 40&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python/arcgisscripting: 43&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VB .NET: 47&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IronPython: 54&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Java: 81&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C#: 1235&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;F#: 1235&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C++/CLI (unmanaged): 1561&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Beta 2 scores (seconds):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C++/ATL: 7&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VBA: 8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python/comtypes: 33&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VB .NET: 43&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IronPython: 43&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Java: 77&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python/arcpy: 111&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C#: 1202&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;F#: 1204&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C++/CLI (unmanaged): 1536&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C# is the real shocker:&amp;nbsp; all along I�??ve assumed that C# has about the same performance as VB .NET.&amp;nbsp; Boy, was I wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I�??ve also been looking at F#, which is supposed to be ideally suited for asynchronous parallel processing.&amp;nbsp; Sounds great for geoprocessing, doesn�??t it?&amp;nbsp; Not if you�??re using ArcObjects:&amp;nbsp; its performance is about the same as C#.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the bottom of the dung heap is C++/CLI. &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&amp;nbsp; I was enthusiastic about it for a brief time last year, because you could have both managed and unmanaged code in the same project.&amp;nbsp; Sounds like the best of both worlds, right?&amp;nbsp; Yeah, until you look at the performance.&amp;nbsp; Good bye.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The walk-away lesson here is:&amp;nbsp; avoid using fine-grained ArcObjects in anything but C++ (not CLI!!) or VBA.&amp;nbsp; Instead, create coarse-grained objects in C++ and then consume them in other languages.&amp;nbsp; See y'all at the Developer Summit!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Mar 2010 03:55:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547249#M18157</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2010-03-20T03:55:07Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547250#M18158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently working on a modified version of comtypes specifically for arcgis, since there are certain little bugs with how comtypes generates its modules. Along with some other things that comtypes does that i am pretty unhappy with.... However overall comtypes does a lot of undesirable extra overhead, internally and at the module loading point. (if your interested i can explain). Anyways i've been stripping / rewriting some chunks of comtypes mainly in the area of how comtypes performs inter-opt (its ctypes based, however how it gets there isn't pretty). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The test i ran was, take a geodatabase of 25 fc's, each composed of 3 different columns where each column name is unique for the entire gdb. Combine all of the feature classes into a single FC, composed of all 25 columns. I wrote the base test in C++, and pretty much did line for line conversion to comtypes python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These scores are in milliseconds, running ArcGIS 9.3.1, on a macbook running windows 7 via bootcamp (so performance is not good). I averaged the results of 3 runs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C++ / ATL: 26194.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Modified Comtypes 0.6.2: 84571&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Comtypes 0.6.2: 96411&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Comtypes 0.6.3dev: 10120&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know VB, so i can't really test it. Any chance you can post your benchmark snippets?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also regarding C#:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.esri.com/help/9.3/ArcGISDesktop/dotnet/2c2d2655-a208-4902-bf4d-b37a1de120de.htm"&gt;http://resources.esri.com/help/9.3/ArcGISDesktop/dotnet/2c2d2655-a208-4902-bf4d-b37a1de120de.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 02:53:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547250#M18158</guid>
      <dc:creator>FrankPerks</dc:creator>
      <dc:date>2010-04-07T02:53:39Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547251#M18159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The presentation I gave at the DevSummit, and all the sample code (including the benchmark snippets) are here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.pierssen.com/arcgis/misc.htm"&gt;http://www.pierssen.com/arcgis/misc.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't really seen any bugs regarding comtypes and ArcObjects, except one:&amp;nbsp; it doesn't wrap the esriSystem.Array object since there's a name clash with ctypes Array.&amp;nbsp; I'd be curious as to what version of comtypes you've been using and what problems you've been seeing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once I download the RC I'll run the benchmarks again but I don't expect to see any change.&amp;nbsp; I'm more concerned about checking on the pure Python COM objects bug.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 14:04:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547251#M18159</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2010-04-07T14:04:58Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547252#M18160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The presentation I gave at the DevSummit, and all the sample code (including the benchmark snippets) are here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.pierssen.com/arcgis/misc.htm"&gt;http://www.pierssen.com/arcgis/misc.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I haven't really seen any bugs regarding comtypes and ArcObjects, except one:&amp;nbsp; it doesn't wrap the esriSystem.Array object since there's a name clash with ctypes Array.&amp;nbsp; I'd be curious as to what version of comtypes you've been using and what problems you've been seeing.&lt;BR /&gt;&lt;BR /&gt;Once I download the RC I'll run the benchmarks again but I don't expect to see any change.&amp;nbsp; I'm more concerned about checking on the pure Python COM objects bug.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- comtypes has (even with latest svn 0.6.3~) problems properly generating modules from typelibs, (packing bugs with structs, some really really odd typeing that i still can't tell if its a bug or not, (sadily codegenerator module is cthulu, thats been really just hacked together.) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Some IDL elements are not taken from typelib properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- built in methods (count-&amp;gt;len, iter, etc) only really get generated when you have "Next Skip Reset Clone" methods, however i am pretty sure the minimum for ESRI is just next()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Its currently mostly impossible to run sphinx against it to document the modules via docstrings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- There is alot of very very useless things created, that should not be accessible by users. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Alot of things still feel like i am using a C++ library&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sadly i didn't notice array, oops. I wonder how many methods actually just don't get generated. Hmm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've encountered the "Pure" python bug in the past, in 9.3.1, however the bug only appeared when running geoprocessor toolboxes and comtypes. What exactly did you attempt to run?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 15:47:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547252#M18160</guid>
      <dc:creator>FrankPerks</dc:creator>
      <dc:date>2010-04-07T15:47:59Z</dc:date>
    </item>
    <item>
      <title>arcpy and pmf</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547253#M18161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's the thread:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/1311-Pure-Python-COM-objects-cause-Beta-2-crash"&gt;http://forums.arcgis.com/threads/1311-Pure-Python-COM-objects-cause-Beta-2-crash&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 16:06:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547253#M18161</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2010-04-07T16:06:31Z</dc:date>
    </item>
    <item>
      <title>STAThread Attribute</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547254#M18162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Adding the STAThread attribute dramatically changes C# and F# performance, and adding in the missing ReleaseComObject lines significantly improves VB .NET performance, bringing all three in line with each other as I had originally expected.&amp;nbsp; Also, setting the "CLR Thread Attribute" and "CLR Unmanaged Code Check" linker settings in the C++/CLI benchmark [the actual benchmark code is unmanaged] brings its performance to about the same as C++/ATL, which is what it should be.&amp;nbsp; :cool:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So here once again *sigh* are my benchmarks for 9.3.1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seconds: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Java: 81&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IronPython: 54&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python: 40&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VB/C#/F#: 27&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VBA: 14&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C++: 13&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python/arcgisscripting: 43&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and now for the 10.0 RC:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seconds: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Java: 78&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IronPython: 44&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python: 33&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VB/C#/F#: 19&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VBA: 8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C++ : 8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python/arcpy: 98&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the DevSummit, the ESRI geoprocessing team said for the &lt;/SPAN&gt;&lt;STRONG&gt;10.1&lt;/STRONG&gt;&lt;SPAN&gt; release they hope to improve the performance of arcpy and add Python support to the add-in framefork. :rolleyes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've also updated both the sample code and the presentation at my web site. &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Apr 2010 20:54:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-and-pmf/m-p/547254#M18162</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2010-04-08T20:54:22Z</dc:date>
    </item>
  </channel>
</rss>

