O
Omid Hodjati
Hi All,
I have an old unmanaged code written in C++ 6.0. This is a
time critcal, CPU bound application. I have deciede
migrate this application to managed world and VC++ 7.0.
The first step was to compile the 6.0 version with /clr to
IL code....That was succesful ... I made clean build !
But the application didn't run. When I profiled the
application execustion i saw that the managed version is 2
times slower that unmanaged version. This stoped me going
forward ...
I have not used and "managed material" in the application
yet. My code is not managed and then there must be no IL
in my PE and then no JITing (except some startup, i
think). I have not refereanced managed heap an then i
expect GC thread to be blocked during the execution....
-I expect the new aplication be, at least; as fast as the
old one. What causes this version to be so slow then ?
I have to ignore using managed environment if i can't find
the reasone.....coz my application is realtime and CPU
bound.
Thanks the help in advanced...
Omid.
I have an old unmanaged code written in C++ 6.0. This is a
time critcal, CPU bound application. I have deciede
migrate this application to managed world and VC++ 7.0.
The first step was to compile the 6.0 version with /clr to
IL code....That was succesful ... I made clean build !
But the application didn't run. When I profiled the
application execustion i saw that the managed version is 2
times slower that unmanaged version. This stoped me going
forward ...
I have not used and "managed material" in the application
yet. My code is not managed and then there must be no IL
in my PE and then no JITing (except some startup, i
think). I have not refereanced managed heap an then i
expect GC thread to be blocked during the execution....
-I expect the new aplication be, at least; as fast as the
old one. What causes this version to be so slow then ?
I have to ignore using managed environment if i can't find
the reasone.....coz my application is realtime and CPU
bound.
Thanks the help in advanced...
Omid.