Deadline 6 command performance

Hi, I am working on preparing the deployment of Deadline 6 in the studio.

While modifying some of our custom tools in python, I ran a few performance tests.
I have found the deadlinecommand.exe in Deadline6 to be very slow compared to Deadline 5, which I find quite strange.
I also find the Deadline 6 command especially slow compared to using pymongo to query the mongo database directly

Any ideas why the command version is so slow?

Here are my results in python:
Deadline 5
Using deadlinecommand.exe in a subprocess:
Pools:
[‘none’, ‘3dsmax’, ‘afx’, ‘anim’, ‘arnold’, ‘cache’, ‘crowd’, ‘dev’, ‘fluid’, ‘fusion_qt’, ‘fusion64’, ‘hold’, ‘lensd’, ‘lensu’, ‘massive’, ‘maya_48’, ‘maya_x64’, ‘mentalray’, ‘nuke’, ‘oiiotool’, ‘quclips’, ‘quclips_decode’, ‘quicktime_nuke’, ‘realflow’, ‘rsmb’, ‘sapphire_nuke’, ‘sim’, ‘test’, ‘wiretap’, ‘xsi_2014’, ‘xsi_preview’, ‘xsi64’]
Time: 0.470999956131

Deadline 6
Using deadlinecommand.exe in a subprocess:
Pools:
[‘none’, ‘3dsmax’, ‘anim’, ‘arnold’, ‘cache’, ‘crowd’, ‘fusion’, ‘lensd’, ‘lensu’, ‘maya’, ‘mentalray’, ‘nuke’, ‘sapphire_nuke’, ‘sim’, ‘xsi’, ‘xsi_preview’]
Time: 0.923000097275

Using pymongo
Pools:
[u’3dsmax’, u’anim’, u’arnold’, u’cache’, u’crowd’, u’fusion’, u’lensd’, u’lensu’, u’maya’, u’mentalray’, u’nuke’, u’sapphire_nuke’, u’sim’, u’xsi_preview’, u’xsi’]
Time: 0.00899982452393

Thanks

deadlinecommand will always be slower than pymongo because it’s doing more than just pulling raw data from the database. However, I’m surprised it’s twice as slow as Deadline 5. We’ve logged this issue so that we can try to speed it up for a future release.

Cheers,
Ryan

I just saw the news for Deadline 6.1
Very glad to see this: Standalone Python API - Communicate with Deadline using native Python scripts without having to run within the context of Deadline or without requiring Deadline to be installed on the machine.

I started working on a python API using pyMongo. So far I had a few commands like get pools, get jobs and such, but I had trouble with the submit, I was missing a few information to make this work.
I was just about to contact you about it :slight_smile:

Can’t wait to try it out!