# Profiling 3DSlicer

**URL:** https://discourse.slicer.org/t/profiling-3dslicer/4161
**Category:** Development
**Created:** [September 21, 2018, 11:34am UTC](https://discourse.slicer.org/t/profiling-3dslicer/4161 "2018-09-21T11:34:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Davide\_Punzo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/davide_punzo/32/66104_2.png) [@Davide\_Punzo](https://discourse.slicer.org/u/Davide_Punzo)
#### Post date: [September 21, 2018, 11:34am UTC](https://discourse.slicer.org/t/profiling-3dslicer/4161/1 "2018-09-21T11:34:49Z")

</div>

Hi all,

I need to properly profile the CPU and RAM usage of 3DSlicer. I tried few tools on windows like VS, C++ memory validator and mtuner. To these software you can give just the binaries, they will start it, then you play with the software and you get the stats. Unfortunately I didn’t manage to use them because while Slicer.exe is the startup exe file, the one to profile is SlicerApp-real.exe.

Does anyone have experience in profiling Slicer?

Thanks,

Davide.

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [September 21, 2018, 12:09pm UTC](https://discourse.slicer.org/t/profiling-3dslicer/4161/2 "2018-09-21T12:09:35Z")

</div>

Hi @Davide_Punzo - I’ve used Instruments on the mac and it’s quite good (it’s part of Xcode). Also vTune from Intel is nice. I’ve used it on linux but I believe it works the same on windows Both can attach to a running process.

Another option that might work is to launch the your windows tool using the slicer launcher (e.g. `Slicer.exe --launch tool.exe`) and then the environment will be set up for slicer to run. This is what we do to launch visual studio for debugging on windows. It works as long as the tool.exe doesn’t have conflicting path requirements that get confused by Slicer’s environment.

HTH,  
Steve

---

<div class="post-metadata">

### Author: ![Davide\_Punzo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/davide_punzo/32/66104_2.png) [@Davide\_Punzo](https://discourse.slicer.org/u/Davide_Punzo)
#### Post date: [September 21, 2018, 12:10pm UTC](https://discourse.slicer.org/t/profiling-3dslicer/4161/3 "2018-09-21T12:10:44Z")

</div>

ok, thanks for the info Steve, I’ll try.

---

<div class="post-metadata">

### Author: ![jdx-john](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@jdx-john](https://discourse.slicer.org/u/jdx-john)
#### Post date: [September 21, 2018, 4:18pm UTC](https://discourse.slicer.org/t/profiling-3dslicer/4161/4 "2018-09-21T16:18:21Z")

</div>

Has anyone ever released any information on their profiling efforts or would be prepared to?
