Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
code profiling
Collapse
X
-
i installed Nprofiler but it can only look at exe files and needs to have pdb available in order to profile. in a nutshell, i am looking for ways to optimize code and look at number of method calls running with execution times so i can optimize them.
i dont see a way where i can profile based on dll as all my custom code is probably compiled in the custom dll.
Comment
-
i just used good old visual studio to profile and here is some interesting findings.

i find calls to indicators that i thought i had remvoed as i dont use them. colored in yellow.
i find using tick is very intensive operation in number of calls. might have to change to 1 second bar.
i find my startup is a intensive operation.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
36 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
23 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|
||
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
162 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
96 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
152 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|

Comment