# Building an automated benchmark tool

**URL:** <https://forums.unrealengine.com/t/building-an-automated-benchmark-tool/502706>\
**Category:** Editor Scripting\
**Tags:** unreal-engine\
**Created:** [February 28, 2022, 4:01am UTC](https://forums.unrealengine.com/t/building-an-automated-benchmark-tool/502706 "2022-02-28T04:01:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KellyShipman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KellyShipman](https://forums.unrealengine.com/u/KellyShipman)\
**Post date:** [February 28, 2022, 4:01am UTC](https://forums.unrealengine.com/t/building-an-automated-benchmark-tool/502706/1 "2022-02-28T04:01:53Z")

</div>

Hi all. I’ve been working on developing an Unreal Engine benchmark tool and could use some pointers. I would like to be able to perform tasks such as recompiling shaders and bake lighting, etc, and output time to completion. Ideally, it would be mostly automated, as in, open a specific project, and it runs consecutive tasks without my input. I often need to test performance on multiple systems simultaneously so this would be a massive time saver.

Does this seem feasible with Editor Scripting? Should I look into a different tactic?

---

<div class="post-metadata">

**Author:** ![UE\_FlavienP](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ue_flavienp/32/1194546_2.png) [@UE\_FlavienP](https://forums.unrealengine.com/u/UE_FlavienP)\
**Post date:** [February 28, 2022, 11:24am UTC](https://forums.unrealengine.com/t/building-an-automated-benchmark-tool/502706/2 "2022-02-28T11:24:04Z")

</div>

You can use some existing commandlets or some custom ones you can write yourself.

There is a way to rebuild DDC from command line [Easy way to force Compile all Shaders?](https://forums.unrealengine.com/t/easy-way-to-force-compile-all-shaders/91386)  
There is also ways to run cook or build commands from command line  
[Build lighting from command line](https://forums.unrealengine.com/t/build-lighting-from-command-line/297535)

the links are a bit old but that is the direction you should look into

---

<div class="post-metadata">

**Author:** ![kshipman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kshipman](https://forums.unrealengine.com/u/kshipman)\
**Post date:** [March 1, 2022, 5:27pm UTC](https://forums.unrealengine.com/t/building-an-automated-benchmark-tool/502706/3 "2022-03-01T17:27:57Z")

</div>

Thanks! I’ll give those a look. Hoping to make this a downloadable benchmark that anyone can use, so being able to run it from command line would be so great.
