# How to speed up Dynamo to the maximum?

**URL:** <https://forum.dynamobim.com/t/how-to-speed-up-dynamo-to-the-maximum/64837>\
**Category:** Revit\
**Tags:** revit, excel, geometry, dynamo\
**Created:** [June 7, 2021, 1:23pm UTC](https://forum.dynamobim.com/t/how-to-speed-up-dynamo-to-the-maximum/64837 "2021-06-07T13:23:37Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![vise92](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vise92/32/108320_2.png) [@vise92](https://forum.dynamobim.com/u/vise92)\
**Post date:** [June 7, 2021, 1:23pm UTC](https://forum.dynamobim.com/t/how-to-speed-up-dynamo-to-the-maximum/64837/1 "2021-06-07T13:23:38Z")

</div>

Hello everyone! is it possible and if so how to speed up Dynamo? I have a script of about 4 MB and I have a hard time opening and editing it. Thanks a lot to everyone!

---

<div class="post-metadata">

**Author:** ![SeanP](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/seanp/32/42560_2.png) [@SeanP](https://forum.dynamobim.com/u/SeanP)\
**Post date:** [June 7, 2021, 1:27pm UTC](https://forum.dynamobim.com/t/how-to-speed-up-dynamo-to-the-maximum/64837/2 "2021-06-07T13:27:02Z")

</div>

I don’t think there is a broad answer for this question and it’s going to depend almost entirely on what your graph is doing, the number of nodes, and what bindings it has. Can you share the graph? Also are you running it through Dynamo player or just Dynamo?

---

<div class="post-metadata">

**Author:** ![vise92](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vise92/32/108320_2.png) [@vise92](https://forum.dynamobim.com/u/vise92)\
**Post date:** [June 7, 2021, 1:35pm UTC](https://forum.dynamobim.com/t/how-to-speed-up-dynamo-to-the-maximum/64837/3 "2021-06-07T13:35:22Z")

</div>

In addition to lightening the script, is there the possibility of lightening Dynamo? Thanks so much

> **[IQT\_Creazione\_Tralicci\_Robot2021.dyn](https://wetransfer.com/downloads/60a940b8c797b8442bcda029a493ca9020210607133457/7443e8)**
>
> 1 file sent via WeTransfer, the simplest way to send your files around the world

---

<div class="post-metadata">

**Author:** ![Vladimir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vladimir/32/147600_2.png) [@Vladimir](https://forum.dynamobim.com/u/Vladimir)\
**Post date:** [June 7, 2021, 6:50pm UTC](https://forum.dynamobim.com/t/how-to-speed-up-dynamo-to-the-maximum/64837/4 "2021-06-07T18:50:09Z")

</div>

@vise92 ,  
you can break script apart to dyf files, create your own package. As you have tested part - create custom node from it.

---

<div class="post-metadata">

**Author:** ![vise92](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vise92/32/108320_2.png) [@vise92](https://forum.dynamobim.com/u/vise92)\
**Post date:** [June 7, 2021, 10:37pm UTC](https://forum.dynamobim.com/t/how-to-speed-up-dynamo-to-the-maximum/64837/5 "2021-06-07T22:37:42Z")

</div>

I guess I didn’t understand … inside this heavy script, to lighten it up, should I create some custom nodes? thank you

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [June 8, 2021, 4:55am UTC](https://forum.dynamobim.com/t/how-to-speed-up-dynamo-to-the-maximum/64837/6 "2021-06-08T04:55:02Z")

</div>

Try to reduce the number of nodes you are using - it isn’t Dynamo’s run speed slowing it down here I think, just the graphical pressure of showing so many nodes. 4MB is a huge script, most of mine barely surpass a few 100KB. This can be done using Python, combining repetitive branches into local or online custom nodes in a package or using design script.

---

<div class="post-metadata">

**Author:** ![Vladimir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vladimir/32/147600_2.png) [@Vladimir](https://forum.dynamobim.com/u/Vladimir)\
**Post date:** [June 8, 2021, 7:26am UTC](https://forum.dynamobim.com/t/how-to-speed-up-dynamo-to-the-maximum/64837/7 "2021-06-08T07:26:23Z")

</div>

Yes. Custom nodes will not take time to draw nodes and connectors. Also use Dynamo player when script is finished. I noticed in my 3mb script, that it runs 2min from player and 4min from Dynamo editor.

---

<div class="post-metadata">

**Author:** ![vise92](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vise92/32/108320_2.png) [@vise92](https://forum.dynamobim.com/u/vise92)\
**Post date:** [June 16, 2021, 9:20am UTC](https://forum.dynamobim.com/t/how-to-speed-up-dynamo-to-the-maximum/64837/8 "2021-06-16T09:20:38Z")

</div>

> [@GavinNicholls](#):
>
> Try to reduce the number of nodes you are using - it isn’t Dynamo’s run speed slowing it down here I think, just the graphical pressure of showing so many nodes. 4MB is a huge script, most of mine barely surpass a few 100KB. This can be done using Python, combining repetitive branches into local or online custom nodes in a package or using design script.

Hello everyone again! Unfortunately, I still can’t decrease the size of my script. The problem is that the Custom Nodes do not work as they should … I wanted to ask you, in terms of graphics, do lines or nodes weigh more?

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [June 16, 2021, 2:08pm UTC](https://forum.dynamobim.com/t/how-to-speed-up-dynamo-to-the-maximum/64837/9 "2021-06-16T14:08:45Z")

</div>

I would expect nodes weigh more, but I expect only the developers know the specifics.

---

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [June 16, 2021, 2:18pm UTC](https://forum.dynamobim.com/t/how-to-speed-up-dynamo-to-the-maximum/64837/10 "2021-06-16T14:18:18Z")

</div>

Element bindings weigh more then nodes do

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [June 16, 2021, 4:22pm UTC](https://forum.dynamobim.com/t/how-to-speed-up-dynamo-to-the-maximum/64837/11 "2021-06-16T16:22:08Z")

</div>

Not sure Robot has bindings… definitely something to look into though.

---

<div class="post-metadata">

**Author:** ![Vladimir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vladimir/32/147600_2.png) [@Vladimir](https://forum.dynamobim.com/u/Vladimir)\
**Post date:** [June 16, 2021, 5:28pm UTC](https://forum.dynamobim.com/t/how-to-speed-up-dynamo-to-the-maximum/64837/12 "2021-06-16T17:28:37Z")

</div>

@vise92, try to create groups from new elements to avoid binding.
